Author Topic: Weapon toss  (Read 3355 times)

0 Members and 1 Guest are viewing this topic.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Weapon toss
« on: August 14, 2008, 03:16:36 pm »
I thought about tossing primary and secondary weapons after death. It might be enabled or disabled in server configuration. And changing how long will take weapon to decay completely would be  nice too. What do you think about it?
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline Chuck

  • Soldier
  • **
  • Posts: 121
  • Chuck P.
Re: Weapon toss
« Reply #1 on: August 14, 2008, 03:28:59 pm »
That does sound like a good idea. I especially like the idea of changing weapon decay. I'm not sure, but this just MIGHT be do-able with scripting, although slightly complicated, using OnPlayerDeath, GetPlayerWeapon (or whatever it's called), and SpawnWeapon (i forget what thats called to). Maybe it could get a players weapon when he dies, spawn it where he died, but with a set decay time (i believe this is a parameter in SpawnWeapon, but im not sure)? And this value could be an editable constant in the script (the decay time).
^Im not sure how much of that is right, I haven't worked with a script in months, but i think thats about right.^

Weapon Decay FTW,
Chuck.
Are you 9 years old? Or is that just your mental age.
Favorite Wepons:
Ruger, Spas, M79, Barret, Steyr, Chainsaw, LAW, and Knife.