Jump to content

Home

How to change the player model


override367

Recommended Posts

This is from my earlier post, it was suggested I make it a new post

 

 

Success ! my first mod attempt was...well a failure

 

my second attempt was to change the players model ---- IT WORKED!!!!

 

This script

-------------

effect eDisg = EffectDisguise(DISGUISE_TYPE_N_DARTHREVAN);

(there are a bunch of disguise types, every character model in the game under constants)

ApplyEffectToObject(DURATION_TYPE_PERMANENT,eDisg,

oPC);

 

Does this

---------------

 

If someone else has posted how to change the player model I'll feel stupid but using that command you can make the player look like almost anything in the game!

 

 

It may not be anything spectacular, but I'm quite proud of myself

 

 

It's a big step for me because it is like the first time i've ever succesfully scripted anything (once in NWN I made arrows that disintigrated the target, but that was the most impressive thing I ever did)

 

thanks Lil'jawa and the other modders

 

CLICK HERE TO SEE PICTURES - LEMME KNOW IF LINK WORKS

http://www.villagephotos.com/pubbrowse.asp?selected=710976

 

-------------------------------------

 

 

 

by the way it does NOT let me reply to threads, just make them... it times out... so if I get a better image host ill have to remake the thread if you wanna see them

Link to comment
Share on other sites

look in there again at the one of hk47 with the lightsaber force lightninging the sith guys :)

 

too bad hk47 doesnt have saber combat animations, he just stands there and they fall over dead, that'd be really cool :)

 

 

by the way my little bodyswitching mod is just a mod of liljawa's (because i had no knowledge of scripting I started with that and tinkered till I had something)

 

if someone wants I'll clean it up and make it a full fledged mod and do some other stuff (such as changing your class to be appropriate, etc.. perhaps I can give the player the combat droid or utility droid class or something?)

Link to comment
Share on other sites

That is awesome. I hated late game getting Revan's robes but not the cool hood and mask. I'd highly suggest you make this into a mod, it would be a hit.

 

 

BTW, how did you give them forcepowers and lightsaber feats and such? I thought you coudln't add feats?

Link to comment
Share on other sites

but the pictures taken are on the endar spire. so mission holding a lightsaber, is a feat you wouldn't have at this point. also unavailable at this point is the force lightning used by hk-47 in the picture. were these things added by lil jawa's mod? if so how did he add feats or powers this early on in the game? i know it's possible to have every feat in the game by hex-editing your level back to 1 over and over again. but is there an easier way?

Link to comment
Share on other sites

yea malak works too, but I'm working on other stuff right now, namely replacing Carth with Darth Banden or something because Carth annoys me (banden wouldn't have any dialogue but it would be an evil jedi teammember that wouldn't bitch constantly when your bad, I'd just have to overwrite Carth's scripts to check your alignment with blank ones or something

Link to comment
Share on other sites

simple you buy neverwinter nights :)

 

as far as I know you need NWN to edit KOTOR's scripts

 

but if someone gives me a place to upload scripts I imagine I could make a malak script that's permanant... I mean there are a bunch of scripts that fire every time you zone, just put the model change at the end of them

Link to comment
Share on other sites

  • 11 months later...
Originally posted by StoneDragon

The link won't work.

 

If you and Rook&Pawn will look at the dates this thread was started you will notice that those links were from january. Many of those who posted to this thread aren't even at the forums any longer. This Thread was revived by Xavier2 in relation to a whole other topic. That topic is the script referenced in the top post.

 

Xavier2

 

I could be wrong but I believe this script may effect a permanent change untill you send a command to do otherwise.

Link to comment
Share on other sites

Originally posted by Darkkender

If you and Rook&Pawn will look at the dates this thread was started you will notice that those links were from january. Many of those who posted to this thread aren't even at the forums any longer. This Thread was revived by Xavier2 in relation to a whole other topic. That topic is the script referenced in the top post.

 

Xavier2

 

I could be wrong but I believe this script may effect a permanent change untill you send a command to do otherwise.

I know, but the command DISGUISE_TYPE_N_DARTHREVAN sugests that the change is to a specific model. The set back i think is that it may mantain the changed appearence despite the armor.uti you may be wearing.

 

I am looking for a specific app.2da entire row instead. Pretty much the same way the disguise property works when attached to .uti file. The set back here is that when you remove the .uti from your inventory the disguise goes away also.

 

Maybe i should formulate better. I am trying to simulate aging. The game changes face textures but only according to Dark side status. The only other way i could think it could be done is by scripts placed in certains points, where the PC current app.2da row, would be replaced by another custom made row, this one with the aged models and textures.

 

It can be done using KSE, but of course it is not the same effect than having it happen within the plot.

 

That said. Does anyone know how should be this script?;)

Link to comment
Share on other sites

I have found this interesting code by tk102, that detects the PC app.2da row:

[size=1]int StartingConditional() {
 int nMyAppearance; // declare an integer variable
 object oMe;        // declare an object variable
 oMe=GetFirstPC();   // set the object 

 //call the function
  nMyAppearance=GetAppearanceType(oMe);

 if (nMyAppearance==73) {
    return TRUE;
  }
  else {
     return FALSE;
  }
}[/size] 

Is there a function to adapt this script and make it change the nMyAppearance of the PC?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...