Skip to content

Commit

Permalink
puffs draw below feet, start figuring out how to place shadow on grou…
Browse files Browse the repository at this point in the history
…nd during jump
  • Loading branch information
nick-hopoo committed Jun 23, 2023
1 parent 6cf5cdf commit 0884a20
Show file tree
Hide file tree
Showing 5 changed files with 3,112 additions and 3 deletions.
5 changes: 3 additions & 2 deletions testmod/client.qc
Original file line number Diff line number Diff line change
Expand Up @@ -821,10 +821,9 @@ void() PlayerDeathThink =
self.button2 = 0;
respawn();
};


void() PlayerJump =
{

if (self.flags & FL_WATERJUMP)
return;

Expand Down Expand Up @@ -855,6 +854,8 @@ void() PlayerJump =
// player jumping sound
sound (self, CHAN_BODY, "player/plyrjmp8.wav", 1, ATTN_NORM);
self.flags = self.flags - FL_ONGROUND;
// attempt to draw puffs below feet on jump - bizz
TE_gunshot(self.origin);
// below is where the player actually jumps. Original value 270 - Bizz
self.velocity_z = self.velocity_z + 270;
};
Expand Down
4 changes: 3 additions & 1 deletion testmod/player.qc
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ vector(float dm) VelocityForDamage =
}
else
v = v * 10;

return v;
};

Expand Down Expand Up @@ -567,6 +567,8 @@ void() set_suicide_frame =
};




void() player_diea1 = [ $deatha1, player_diea2 ] {};
void() player_diea2 = [ $deatha2, player_diea3 ] {};
void() player_diea3 = [ $deatha3, player_diea4 ] {};
Expand Down
Binary file modified testmod/qwprogs.dat
Binary file not shown.
Binary file modified testmod/qwprogs.lno
Binary file not shown.
Loading

0 comments on commit 0884a20

Please sign in to comment.