Jump to content

Home

obsorbing attacks


SITHSLAYER133

Recommended Posts

huh? If I understand well, you'd like a shield like the red bubble in this image? http://img47.photobucket.com/albums/v144/Darth333/KotOR0014.jpg

 

If so, then you can put those lines in your script:

     effect eVFXc = EffectVisualEffect(VFX_DUR_SHIELD_RED_MARK_IV);
     ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVFXc, OBJECT_SELF, 45.0);

 

I am not too sure that VFX_DUR_SHIELD_RED_MARK_IV is the correct effect. It's been a while since I worked on that mod (AIOFPM for K1) and I don't remember. You can check visualeffects.2da (I think that's the corect filename but again, I don't have the game with me to verify).

 

The 45.0 at the end of the second line is the duration of the effect (45 seconds). You can also replace DURATION_TYPE_TEMPORARY by DURATION_TYPE_PERMANENT but make sure to removethe 45.0 at the end if you do so. OBJECT_SELF can also be changed to target a specific npc but I need to know what you want to do exactly.

 

Are you trying to do an armband, a droid shield or simply an effect that you can apply when the object is spawned or during a dialogue?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...