ItsMods

Full Version: The Annoying Riot Model
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I've got a problem with damage, it doesn't react to bullet damage, only explosive damage.

eg.
Code:
riot setCanDamage(true);
riot.team = self.team;
riot.owner = self;
riot.health = 100;
riot.maxhealth = 100;

riot waittill("damage", damage, attacker);
iPrintLn(attacker.name + " hurt the riot shield guy with " + damage + " damage!"); // This only appears on explosion and stuns, not bullets?

EDIT - It's probably because the body is not solid... I'm using an invisible care package for now, it's not a very good solution since if the model starts proning, the carepackage is still standing up.
Doesn't matter if the model is solid, sentry guns are also non solid. Does the waittill not work for bullet damage, or doesn't the guy die?

Also, x.health is bugged with setcandamage(). Just modify the sentry gun damage script:

waittill doesn't work for bullet damage. That's why I have to use an invisible CP. Dodgy
(11-27-2011, 09:46)master131 Wrote: [ -> ]waittill doesn't work for bullet damage. That's why I have to use an invisible CP. Dodgy

Yes, when it crawls or prone, rotate the carepackage.
When will you release this mod?
I'm need this, this will be funny on a server Big Grin
Pages: 1 2 3