Hope Estheim Posted April 8, 2010 Share Posted April 8, 2010 For a Mod that I was wanting to release, I was wanting to make a "Kotor version of Proxy" ^^ hehe and to do that, I need to know the correct script, and I dunno how to go about this. Link to comment Share on other sites More sharing options...
harIII Posted April 8, 2010 Share Posted April 8, 2010 I know that there isn't a script function to change your appearance but you can go about this in a different and more annoying fashion. You need to make some kind of item, let's just say a robe for example. In that robe make a disguise property of whoever you want Proxy to look like. Then you need a script to add the item to the inventory as well as equip it. That should make the droid "change its appearance." Then when you want it to stop just have a script to remove the item from the inventory. If there is another way I'm not sure, I hope this helps. Link to comment Share on other sites More sharing options...
Star Admiral Posted April 8, 2010 Share Posted April 8, 2010 Have a look at the EffectDisguise() function. You'll need to look up the appearances you want in the appearance.2da file. - Star Admiral Link to comment Share on other sites More sharing options...
Druganator Posted April 8, 2010 Share Posted April 8, 2010 Could you change the characters stealth function to change their appearance instead of making them invisible? I don't know if it is possible but I thought I'd put in my two cents. Link to comment Share on other sites More sharing options...
Holty1-5 Posted April 8, 2010 Share Posted April 8, 2010 My Only suggestion is to look at the Dialog from the Hunter on Kashyyyk and then the script that changes his apperence Link to comment Share on other sites More sharing options...
Hope Estheim Posted April 8, 2010 Author Share Posted April 8, 2010 My Only suggestion is to look at the Dialog from the Hunter on Kashyyyk and then the script that changes his apperence Hahah... I was really hoping someone wouldn't say that xD I hate decompiling scripts, it confuses me xD Link to comment Share on other sites More sharing options...
harIII Posted April 8, 2010 Share Posted April 8, 2010 I've noticed the script function (EffectDisguise) but I thought it didn't work, cut out of the game, or something. Does it really work? Link to comment Share on other sites More sharing options...
Hope Estheim Posted April 8, 2010 Author Share Posted April 8, 2010 Well there is the "Shapeshifting" Force Power mod... so I think it does? Link to comment Share on other sites More sharing options...
Star Admiral Posted April 8, 2010 Share Posted April 8, 2010 Yes indeed, EffectDisguise() works. More efficient than equipping/unequipping armor with a disguise property. - Star Admiral Link to comment Share on other sites More sharing options...
harIII Posted April 9, 2010 Share Posted April 9, 2010 Wow, that's awesome, I might apply that in my K1 recruitment mod I've been working on for some time now. Link to comment Share on other sites More sharing options...
Star Admiral Posted April 9, 2010 Share Posted April 9, 2010 Now that I'm home, here is an example of the script. To disguise someone, use something like this: void main() { effect eDisguise = EffectDisguise( 4 ); ApplyEffectToObject( DURATION_TYPE_TEMPORARY, eDisguise, GetObjectByTag( "tagofnpc" ), 120.00 ); } The 4 comes from the fourth entry in the appearance.2da file, which is Bastila's appearance. You can change that to whatever entry you wish in that 2DA file. The 120.00 is the duration in seconds. Feel free to adjust that to whatever number you wish. Note that an infinitely long duration isn't possible, but a really long duration can simulate the effect. I'm not sure whether multiple disguises can be applied on top of one another, and how the effects will stack, but I think it would be best to remove one disguise before starting another. Either wait for the appearance to expire on its own, or use this function to get rid of it early. void main() { oTarget = GetObjectByTag( "tagofnpc" ); effect eBuff = GetFirstEffect( oTarget ); while( GetIsEffectValid( eBuff ) ) { if( GetEffectType( eBuff ) == EFFECT_TYPE_DISGUISE ) RemoveEffect( oTarget, eBuff ); eBuff = GetNextEffect( oTarget ); } } Hope that helps. - Star Admiral Link to comment Share on other sites More sharing options...
Darth Avlectus Posted April 9, 2010 Share Posted April 9, 2010 If you're going to "Proxy" HK-47, you might complete it with that one mod that gives his model the ability to use melee weapons and lightsabers. Link to comment Share on other sites More sharing options...
Hope Estheim Posted April 9, 2010 Author Share Posted April 9, 2010 If you're going to "Proxy" HK-47, you might complete it with that one mod that gives his model the ability to use melee weapons and lightsabers. It's not HK.... it's a completely different droid. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.