2 registered members (Martin_HH, TipmyPip),
1,279
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Blood Splatters
[Re: rappo]
#41427
02/25/05 04:15
02/25/05 04:15
|
Joined: Oct 2003
Posts: 2,194 Saturn
Metal_Thrasher
OP
Expert
|
OP
Expert
Joined: Oct 2003
Posts: 2,194
Saturn
|
well, it's actauly really easy to implement. First include your blood wdl file before the was.wdl then in your war.wdl file goto my.siginal=_detected and where the damamge thing is put the last lines I showed in the original post.
-Johnny Thrash
|
|
|
Re: Blood Splatters
[Re: Metal_Thrasher]
#41434
02/25/05 20:34
02/25/05 20:34
|
Joined: Apr 2003
Posts: 46
rappo
Newbie
|
Newbie
Joined: Apr 2003
Posts: 46
|
Sorry, Im not a programmer. I edit in this way. It is the proper manner? Could I define something? // if the player has been detected... // if the player has been detected... if(MY._SIGNAL == _DETECTED){ effect(bloodburstspezial,13,TARGET,nullvector); ent_create (bloodspri, TARGET, bloodiest); TRACE_MODE = IGNORE_ME + IGNORE_YOU + IGNORE_PASSABLE + IGNORE_MODELS + IGNORE_SPRITES + IGNORE_MAPS + ACTIVATE_SHOOT; TRACE (gun_muzzle,gun_target);//this will have to be change to work for you
create(bloodspri, TARGET, bloodiest2);} { MY._SIGNAL = 0; state_attack(); // ATTACK! return; } }
force = 0; // no force from this actor actor_move(); // react to outside forces (gravity, etc) even while waiting waitt(1); } } Quote:
well, it's actauly really easy to implement. First include your blood wdl file before the was.wdl then in your war.wdl file goto my.siginal=_detected and where the damamge thing is put the last lines I showed in the original post.
|
|
|
Re: Blood Splatters
[Re: rappo]
#41435
02/25/05 21:41
02/25/05 21:41
|
Joined: Oct 2003
Posts: 2,194 Saturn
Metal_Thrasher
OP
Expert
|
OP
Expert
Joined: Oct 2003
Posts: 2,194
Saturn
|
It goes here in the fight event Code:
function fight_event() { if((EVENT_TYPE == EVENT_SCAN && indicator == _EXPLODE) || (EVENT_TYPE == EVENT_SHOOT && indicator == _GUNFIRE)) { MY._SIGNAL = _DETECTED; // by shooting, player gives away his position effect(bloodburstspezial,13,TARGET,nullvector);
ent_create (bloodspri, TARGET, bloodiest); TRACE_MODE = IGNORE_ME + IGNORE_YOU + IGNORE_PASSABLE + IGNORE_MODELS + IGNORE_SPRITES + IGNORE_MAPS + ACTIVATE_SHOOT; TRACE (gun_muzzle,gun_target);
create(bloodspri, TARGET, bloodiest2); @Zeroframe, Thanks
-Johnny Thrash
|
|
|
|