Do damage to characters?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Nemesis of MOH
Lance Corporal
Posts: 10
Joined: Fri Jun 07, 2002 4:02 am

Do damage to characters?

Post by Nemesis of MOH »

Does anyone know how to do damage to a character? like kill them or hurt them if something blows up?

http://www.mohtut.8m.com

--Nemesis--
madcow
Lance Corporal
Posts: 13
Joined: Wed Jun 05, 2002 2:32 pm
Location: Netherlands
Contact:

Post by madcow »

I don't know yet for trigger multiple because I think that setthread doesn't work with that trigger but you can use for that fx_300damage and if you want it different change that fx and give it a targetname of exploderfire.
But I do know for trigger_use there you have to put in the entity menu a setthread and as value pain or something like that.
then in your script you have to put below the exec global/exploder.scr::explode 1 this line radiusdamage $hurts 256 384.
nemesis you make a tutorial of that because i'm very bad in english and I am not good in making tutorials.
Here is my test map witch works.
http://home.quicknet.nl/qn/prive/hh.are ... edpain.pk3
User avatar
Gener_AL
Corporal
Posts: 41
Joined: Wed Jun 12, 2002 1:32 pm

Post by Gener_AL »

Okay i`m just guessing/using q3 commands here but dont you just use the trigger_multiple entity and the give it key=dmg value=300 {or what ever you require} if that dont work let me know and i`ll have a bash a scripting a hurt_trigger for yall..

P.S. the trigger_multiple is capable of running command setthread ......tried and tested
Wombat
Colour Sergeant
Posts: 93
Joined: Fri Jun 14, 2002 5:10 pm
Location: Adelaide, Australia
Contact:

Post by Wombat »

i have successfully used a hurt trigger to allow trucks to blow up when shot at, even works for grenades, but not rockets?, projectiles, just gets grenades to work....

as for the radiusdamage command
you must give it a $hurt.origin to work.....

Maybe i will add that to my exploder and obj_dm script tutorials
Wombat's
Eats roots shoots then leaves...........
Post Reply