Seprithro Posted April 16, 2004 Share Posted April 16, 2004 ok as many of u know i hate the visual effects of force powers, so i removed them but here is the problem, when i removed the effect that u see when a force attack is resisted, it took the sabre clash flare with it, here is my question, how can i remove the effect from resisted force, without lossing sabre flare? the texture file is fx_flare02, i know that much, but isn't there a way to remove this without removing this tex. like a script or 2da edit? Link to comment Share on other sites More sharing options...
tk102 Posted April 16, 2004 Share Posted April 16, 2004 I don't know how you removed the effects without going into the scripts, but you should take a look at k_inc_force.nss. You should be able to comment out most of the beam effects there. You'll then recompile k_sp1_generic.nss as described in this thread from earlier today. Link to comment Share on other sites More sharing options...
tk102 Posted April 16, 2004 Share Posted April 16, 2004 I have a request. It's helpful to others who are searching the forums if your Subject line is descriptive. I found this to be a good article about getting the most out of using forums. Right then, carry on. Link to comment Share on other sites More sharing options...
Seprithro Posted April 16, 2004 Author Share Posted April 16, 2004 ok, i checked that out, but i have no idea how to remove that effect, i got all the others out throgh visual effects2da\spells2da\and re-texing, the only one i want rid of now is the redish orange flare that pops up when a power is resisted, any ideas where to fin that script\line? Link to comment Share on other sites More sharing options...
tk102 Posted April 16, 2004 Share Posted April 16, 2004 Here's an excerpt from k_inc_force.nss /* CHOKE */ case FORCE_POWER_CHOKE: { SWFP_HARMFUL = TRUE; SWFP_PRIVATE_SAVE_TYPE = SAVING_THROW_FORT; SWFP_DAMAGE = (GetHitDice(OBJECT_SELF)*2)/3; SWFP_DAMAGE_TYPE = DAMAGE_TYPE_BLUDGEONING; SWFP_DAMAGE_VFX = VFX_IMP_CHOKE; eLink1 = EffectAbilityDecrease(ABILITY_CONSTITUTION, 4); eLink1 = EffectLinkEffects(eLink1, EffectAbilityDecrease(ABILITY_STRENGTH, 4)); eLink1 = EffectLinkEffects(eLink1, EffectAbilityDecrease(ABILITY_DEXTERITY, 4)); eLink1 = SetEffectIcon(eLink1, 3); effect eChoke = EffectChoke(); effect eDamage = EffectDamage(SWFP_DAMAGE, SWFP_DAMAGE_TYPE); int nResist = Sp_BlockingChecks(oTarget, eChoke, eDamage, eInvalid); int nSaves; SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, GetSpellId(), SWFP_HARMFUL)); if(nResist == 0) { nSaves = Sp_MySavingThrows(oTarget); if(nSaves == 0) { ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_CHOKE), oTarget); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eChoke, oTarget, 6.0); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink1, oTarget, 24.0); int nIdx = 1; float fDelay; SP_InterativeDamage(eDamage, 7, oTarget); } } if(nResist > 0 || nSaves > 0) { ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectForceFizzle(), OBJECT_SELF); } } break; Â To turn off the visual effects for Force Choke, you would comment out (put two slashes // in front of) these lines: ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_CHOKE), oTarget); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectForceFizzle(), OBJECT_SELF); Â Pretty much any line containing EffectVisualEffect or EffectForceFizzle you'll want to comment out. This way is argubly cleaner than the modifying the spells.2da file. Link to comment Share on other sites More sharing options...
Seprithro Posted April 16, 2004 Author Share Posted April 16, 2004 but since this is not a power so to speak, where would i look? Link to comment Share on other sites More sharing options...
tk102 Posted April 17, 2004 Share Posted April 17, 2004 That's what EffectForceFizzle() does. If you comment it out and recompile, you won't see that visual effect. Link to comment Share on other sites More sharing options...
Seprithro Posted April 17, 2004 Author Share Posted April 17, 2004 thanks, i just figured that out right before i read your post, thanks again Link to comment Share on other sites More sharing options...
Seprithro Posted April 25, 2004 Author Share Posted April 25, 2004 ok tk i only thought i had it, when o commet out the whole line containing forcefizzle, i get weird game effects, some powers don't work at all and some do ex. choke works, shock doesn't any help? Link to comment Share on other sites More sharing options...
Seprithro Posted April 26, 2004 Author Share Posted April 26, 2004 bump* see above Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.