Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Annoying Riot Model
#21
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.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#22
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:

[Image: MaEIQ.png]
Reply

#23
waittill doesn't work for bullet damage. That's why I have to use an invisible CP. Dodgy
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#24
(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.
Reply

#25
When will you release this mod?
I'm need this, this will be funny on a server Big Grin
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Zombie model imchasinyou 7 6,780 07-31-2013, 01:11
Last Post: rotceh_dnih
  List of models that can be spawned? (Looking for C4 model) akillj 5 4,791 06-27-2013, 13:35
Last Post: Yamato
  expansion model [HARD] Tony. 1 2,650 05-25-2013, 10:43
Last Post: Nekochan
  [Request] Random player model hillbilly 1 2,742 05-12-2013, 08:30
Last Post: archit
  [Request] 3d tomahawk model gouveia4 8 6,125 12-16-2012, 02:29
Last Post: gateboy6
  [Request] how to find a static model in map? tomglazer 2 2,701 12-12-2012, 03:56
Last Post: tomglazer
Brick [Request] Model analyser RaZ 2 2,707 07-11-2012, 18:38
Last Post: RaZ
  [Request] Motorcycle model Rendflex 4 3,165 06-23-2012, 14:28
Last Post: JariZ
  [Request] specific model of clothing [Z00MBY] Alex 40 17,327 04-22-2012, 20:15
Last Post: [Z00MBY] Alex
  [Request] Goliath Tracked Mine Model Yamato 1 2,423 04-21-2012, 10:45
Last Post: surtek

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.