Insta-Brink, headless corpses, muzzle flashes akimbo

Want to get your hands Bloody?
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

While fixing some typos in the latest Transfusion QuakeC code available from the repository at SourceForge, I made a few more changes and thought to post them here for anyone to enjoy.

Code patch:
http://pastebin.com/ncVjPqWR

Compiled progs.dat:
https://infotomb.com/mjnfj

Changes:
  • An optional Insta-Brink mode (cvar g_instabrink) triggers Brink Of Death at 99% health.
  • Heads always fall off if players are killed while on the Brink Of Death.
  • If not killed, players on the Brink will die after five seconds.
  • Players get a chance to escape from the Brink by hammering the spacebar at the last second.
  • Headless corpses fall over and sink into the ground.
  • Headless corpses can be gibbed.
  • Gibbing and head drops happen.
  • Muzzle flashes appear on shotguns akimbo.
  • Muzzle flashes appear on flare gun and akimbo napalm launcher.
  • Remote detonators are still useful with zero ammo if bombs are dropped.
  • Dropped TNT bundles no longer cause negative ammo bug in other weapons.
  • Detonator remotes no longer cause negative ammo bug.
  • Kevorkian suicide is not announced as accidental suicide.
  • Announcements by The Voice do not emanate from corpses.
  • Frags earned are awarded to the deserving owners of TNT bundles, remote detonators, and spray cans.
  • Obituary typos are fixed.
  • Avoid crashing the entire QuakeC VM when player blows off own hand with TNT.
  • Avoid crashing the entire QuakeC VM when dead player sends impulse to server.
  • Muzzle flash entity leak fixed.
  • Code compiles with FTEQCC v1.00.
Last edited by The Nameless Player on Sun Jan 11, 2015 08:04 am, edited 9 times in total.
User avatar
N0t_mINe
Acolyte
Posts: 629
Joined: Wed Nov 30, 2011 05:35 am
Location: LURKERS DON'T DRAMA.

Re: Insta-Brink, headless corpses, muzzle flashes

Post by N0t_mINe »

Whoa, so you're working on transfusion?!?!


Do you have any long term plans for this?!?

Can I buy you a beer?
User avatar
N0t_mINe
Acolyte
Posts: 629
Joined: Wed Nov 30, 2011 05:35 am
Location: LURKERS DON'T DRAMA.

Re: Insta-Brink, headless corpses, muzzle flashes

Post by N0t_mINe »

Hellloooo? Anyone hooome?
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes

Post by The Nameless Player »

N0t_mINe wrote:Whoa, so you're working on transfusion?!?!


Do you have any long term plans for this?!?
Not really, no. I'm running the only public Transfusion server at the moment, just because no one else is. I saw some errors on the server console, looked at the qc code, saw some stuff I wanted to fix, and fixed some stuff. When I realized I'd done more than change a few obvious typos, I decided to make the changes public.

The only long term plan is to run The Nameless Server mostly 24/7 for the foreseeable future. Fun With Heads is much more fun now with heads on the soccer field.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Update:
  • Muzzle flashes appear on shotguns akimbo.
User avatar
N0t_mINe
Acolyte
Posts: 629
Joined: Wed Nov 30, 2011 05:35 am
Location: LURKERS DON'T DRAMA.

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by N0t_mINe »

*Locks doors*

I'm calling programmer.
Keep code cleaning, or you'll never see this can of ravioli again!

*Points spatula at ravioli can*
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

N0t_mINe wrote:Keep code cleaning, or you'll never see this can of ravioli again!
Don't tempt me to take my server and go home. It's an unrewarding job and nobody has to do it.

Update:
  • Headless corpses can be gibbed.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Update to give the Brink Of Death a sense of urgent peril as described in the Blood manual, because returning to life after waiting patiently for 15 seconds is dull, and Transfusion needs more frantic spacebar hammering:
  • Heads always fall off if players are killed while on the Brink Of Death.
  • If not killed, players on the Brink will die after five seconds.
  • Players get a chance to escape from the Brink by hammering the spacebar at the last second.
User avatar
I Live...AGAIN
Cabal member
Posts: 810
Joined: Fri Aug 13, 2004 05:33 am
Location: Detroit
Contact:

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by I Live...AGAIN »

I tried to connect with the latest TF client but can only see the map skybox. I'm assuming those code changes need to be client side also? Sorry I'm only a mapper so I don't know how to apply those changes.

I am using TF client 1.05 beta 2. I'll try with 1.01 tonight.
User avatar
Elric
Cabal member
Posts: 166
Joined: Fri Aug 13, 2004 07:35 am
Location: Paris & Limoges, France

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by Elric »

Out of curiosity, what versions of the code and data are you using as a base for your work?

Also, are you using a versioning system for your code? Since you are apparently making useful changes, it may be interesting to commit them to our code base directly at some point.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

I Live...AGAIN wrote:I tried to connect with the latest TF client but can only see the map skybox. I'm assuming those code changes need to be client side also? Sorry I'm only a mapper so I don't know how to apply those changes.

I am using TF client 1.05 beta 2. I'll try with 1.01 tonight.
No client side changes are necessary. The server is Transfusion 1.05 Beta 2 with a recompiled progs.dat. In the Quake client/server model, the server runs the progs.dat.
Elric wrote:Out of curiosity, what versions of the code and data are you using as a base for your work?

Also, are you using a versioning system for your code? Since you are apparently making useful changes, it may be interesting to commit them to our code base directly at some point.
Code:
http://sourceforge.net/p/blood/code/ci/ ... ood/progs/

Data:
http://www.transfusion-game.com/files/b ... -beta2.zip

I'm using hg diff to make patches against the mercurial repository, but I'm not really using any versioning other than "previous versions" on pastebin.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Update:
  • Frags earned are awarded to the deserving owners of TNT bundles, remote detonators, and spray cans.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Bugfix: my fault, wrong field.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Update:
  • Remote detonators are still useful with zero ammo if bombs are dropped.
  • Dropped TNT bundles no longer cause negative ammo bug in other weapons.
The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Re: Insta-Brink, headless corpses, muzzle flashes akimbo

Post by The Nameless Player »

Update:
  • Detonator remotes no longer cause negative ammo bug.
  • Avoid crashing the entire QuakeC VM when player blows off own hand with TNT.
Post Reply