[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Improved airdeath scenes

Improved airdeath scenes

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Improved airdeath scenes

Postby Cobalt » Tue Oct 11, 2011 8:33 pm

Electro and I want to work on some improvements to the bodyque routine that involve getting some more information about the physics of the player , and pass them onto the body image so that you get perhaps an avelocity poroprtional to the effect of a rocket explosion that kills a player in mid air. Anyone interested in collaborating?

If we start with your legacy type rocket explosion, there is I think a velocity passed over to the image so the shockwave physics effect is visible, but if you notice carefully, the deathframes for that kind of condition I think are picked from the same qc that creates any death scene. If I remember, the QC picks a random death scene no matter what?

So in this modification, we could perhaps do a traceline check if the player is (!droptofloor) at the time of the death, and depending on our traceline length, which determines how high up we are, we could assign an avelocity to the image that would correspond with gravitys acceleration effect and such....which I believe would also effect avelocity of the image.
Pretty much I think we need to check X,Y and Z velocities for whichevdeer is the greatest, and have a tendency to roll the avelocity in that direction on the model. Also picking a death frame that corresponds to that same angle, and reframing might come out neat too.

Electro said he is blanking out the player model in his mod when it dies, and doing its own seperate death with another eitity, which is a little different than how legacy qc does it, but
I like the idea of detecting this extra kind of death condition, switching ovder the players view to that of the new image, and not allowing him to respawn till the effect is finished.

EDIT: Just for my own notes, add in changes to the image's model angles (along with some pain sounds) for each time a touch is called and it has a velocity and is not on ground. Once velocity is zero, switch to a normal final death frame and angle.
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Improved airdeath scenes

Postby Cobalt » Mon Jan 16, 2012 3:56 am

User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Improved airdeath scenes

Postby ceriux » Mon Jan 16, 2012 5:30 am

i think if a rocket kills a player in mid air , it would be easier to just throw out gibs in random directions.
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Improved airdeath scenes

Postby Cobalt » Mon Jan 16, 2012 5:38 pm

User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Improved airdeath scenes

Postby toneddu2000 » Mon Jan 16, 2012 7:16 pm

- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Improved airdeath scenes

Postby gnounc » Mon Jan 16, 2012 8:09 pm

Funny thing....Electro has a better model.
Combustion cell would be a great excuse to dust that badboy off : )
Put some proper skeletal animations on him? Yeah?
my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: Improved airdeath scenes

Postby Cobalt » Mon Jan 16, 2012 8:18 pm

User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Improved airdeath scenes

Postby ceriux » Wed Jan 18, 2012 6:01 am

well, i mean in rl i would expect even splash damage from an explosive would heavily damage a person, so i mean for if the player was killed by a rocket in mid air, he should gib, else maybe fly flailing his arms and wiggling his legs and maybe turning in the direction the bullet was traveling bouncing across the ground.
i had an idea about a month or two ago about changing the players skin to a burnt looking crisp maybe if he was fried by the lightning gun, maybe make him emit some grey and orange particles.
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Improved airdeath scenes

Postby r00k » Wed Jan 18, 2012 8:23 am

Normally in the Quake any health value less then -40 will create the gibbed player. So, if you want him to gib easier just change that value to something like -20. This is what I had to do to ensure that players gibbed to death in CAx, because when they die the dead player's pov would follow the person who killed him. It looked kinda funny to see the corpse rotate like some kinda '80s break dancer ;) You could alternately check if the on ground flag is OFF then force it to the animation that is just the player doing the belly flop. Either way, sometimes it's funny to see them doing a "spread eagle" as the blast is tossing them around like a rag doll.
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 2 guests