Leviathan Posted April 8, 2005 Share Posted April 8, 2005 Hi all ! Recently, I opened one of the SW : KotOR's internal files - "k_inc_force.nss" - to modify Force Stasis power's properties in order to change effects applied to the PC when he's affected by this Force power. I was surprised to find few codes concerning its parameters, but there's a section named "EFFECT_PARALYZE", which intrigues me. Consequently, I would wish to know how I can modify this effect's settings. I hope you'll help me... Thanks to you !... Link to comment Share on other sites More sharing options...
Darth333 Posted April 8, 2005 Share Posted April 8, 2005 What do you want to do? Link to comment Share on other sites More sharing options...
stoffe Posted April 8, 2005 Share Posted April 8, 2005 Originally posted by Leviathan (snip) but there's a section named "EFFECT_PARALYZE", which intrigues me. Consequently, I would wish to know how I can modify this effect's settings. The EffectParalyze() constructor does not take any parameters, and as such the effect has no "settings". All it does it to paralyze the creature it is applied to, unless that creature is immune to paralysis (i.e. Lvl 12+ Jedi Sentinels). The only variation is the EffectCutSceneParalyze() constructor that creates a paralysis effect that bypasses paralysis immunity but otherwise works just like the normal one. (This is what was used by Bioware and Obsidian for those immersion-breaking cutscenes where a Sentinel protagonist gets stuck in a stasis field regardless.) Link to comment Share on other sites More sharing options...
SuperSquall Posted April 8, 2005 Share Posted April 8, 2005 ^^^ It's a constructor, not a function/method? Link to comment Share on other sites More sharing options...
Leviathan Posted April 9, 2005 Author Share Posted April 9, 2005 What do you want to do? I've thought that modifying the properties of the "EFFECT_PARALYZE" function would allow me to prevent the PC from flourishing his melee weapon. Apparently, I'm wrong... Link to comment Share on other sites More sharing options...
Leviathan Posted April 10, 2005 Author Share Posted April 10, 2005 In fact, I just want to know what part(s) of the Force Stasis' script (Present in the "k_inc_force.nss" file) specifies(y) that the PC won't be able to move when he's affected by this Force power. I think that this part is the "EFFECT_PARALYZE" section, that's why I asked where I could find the settings related to this effect. (Like what moves the PC can't use when he's paralyzed, the move he does when he's affected by the stasis, etc...) But if this "EFFECT_PARALYZED" constructor does not have any parameters, what section prevent the PC from running, walking, etc... ? Link to comment Share on other sites More sharing options...
stoffe Posted April 10, 2005 Share Posted April 10, 2005 Originally posted by Leviathan (snip) But if this "EFFECT_PARALYZED" constructor does not have any parameters, what section prevent the PC from running, walking, etc... ? This is handled internally by the game code and not in script. The effects are kind of pre-packaged actions that the scripting language can apply to objects. What the effects actually do is not scripted, but a part of the game engine. You can't change what an effect does beyond any parameters the constructor takes (for example the amount of damage and damage type for an EffectDamage effect). Link to comment Share on other sites More sharing options...
Leviathan Posted April 11, 2005 Author Share Posted April 11, 2005 Thanks stoffe' ! Now, I do not need anymore to seek for nothing... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.