Page 1 of 1

Do damage to characters?

Posted: Fri Jun 07, 2002 4:06 am
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--

Posted: Fri Jun 07, 2002 9:30 am
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

Posted: Wed Jun 12, 2002 10:12 pm
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

Posted: Mon Jun 17, 2002 5:01 pm
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