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--
Do damage to characters?
Moderator: Moderators
-
Nemesis of MOH
- Lance Corporal
- Posts: 10
- Joined: Fri Jun 07, 2002 4:02 am
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
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
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
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:
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
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...........
Eats roots shoots then leaves...........