Jump to content

Script to force change player race?


octob3r

Recommended Posts

Hi,

 

I'm trying to make my own mod, and i need a script changing the player race. An alternative could be showracemenu but with the possibility to exclude normal races (like caucasian, asian...) so that the player can't choose but the races i want.

 

It's supposed to be against the player's will.

 

I tried "matchrace" but it failed, maybe i don't know how to use it.

 

 

player.matchrace aliencarrier

 

 

I'm looking for something like player.setrace asian for example. I've played ghostdancer vampire mod, and in the middle of the quest, you become a ghoul... I've looked into the mod quests and scripts, but couldnt find any clue how he did it :/

so i know it's possible (it's a custome race in his mod)

 

thanks for help and time :)

Link to comment
Share on other sites

I'm pretty sure you have to tick the box 'can be all races' for the Player NPC object, for MatchRace to work.

Also, Matchrace requires a reference to an Actor that has been placed in the editor - not just an object in the Geck.

Link to comment
Share on other sites

Okay, i tried again with a different race : ghouls. And it worked.

 

However, i realised that eyes color don't change. This is why i thought that the matchrace was not working.

 

I also tried 'matchfacegeometry" but eyes color, haircut or beard don't change.

 

Is there a way to change them?

Link to comment
Share on other sites

You can't change the eyes or hair color through scripting. For NPC's, this is in the NPC record, for the player, it's in the save game somewhere and there's no scripting that can change it.

The hair becomes whatever the default hair of the race you change into.

Now I'm speaking from the experience of doing this to NPCs, not the player. I change their race to give them a 'haircut'. There may be other quirks with hair that work differently for the player, or maybe not at all.

Link to comment
Share on other sites

@ rickerhk

 

Could you make a separate Ghoul NPC that had all the things you wanted and have that NPC called ? Kind of like a stand in NPC to mimic a race change?

Edited by deu58
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...