View previous topic :: View next topic |
Author |
Message |
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Thu Jul 24, 2008 13:05 Post subject: SetBaserace |
|
|
I was once told this existed in NWNx Linux. where can i find this?
Last edited by Extreme on Fri Jul 25, 2008 16:48; edited 1 time in total |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Thu Jul 24, 2008 22:43 Post subject: |
|
|
It exists just on regular NWN. No need for NWNX. |
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Fri Jul 25, 2008 14:27 Post subject: |
|
|
oh damn...im dumb..
i meant SetBaseRace |
|
Back to top |
|
|
TroveLord
Joined: 22 Nov 2006 Posts: 136 Location: Italy
|
Posted: Fri Jul 25, 2008 15:25 Post subject: |
|
|
Extreme wrote: | oh damn...im dumb..
i meant SetBaseRace |
With LETO I guess you can, but I don't know how exactly. |
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Fri Jul 25, 2008 15:26 Post subject: |
|
|
i just remember asking of it in the bioware forums and was told it was only posible thru linux nwnx. so of course i thought to ask here |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Fri Jul 25, 2008 16:44 Post subject: |
|
|
The letoscript would be:
/Subrace = 'yoursubracenamehere';
for subrace. For base race it'd be
/Race = 6;
where the 6 is the int value of the RACIAL_TYPE. I believe that only pc race values:
int RACIAL_TYPE_DWARF = 0;
int RACIAL_TYPE_ELF = 1;
int RACIAL_TYPE_GNOME = 2;
int RACIAL_TYPE_HALFLING = 3;
int RACIAL_TYPE_HALFELF = 4;
int RACIAL_TYPE_HALFORC = 5;
int RACIAL_TYPE_HUMAN = 6;
Are valid, and I'm not sure it's even possible to change between them (not all field edits in leto will take). Here are the other types in case you want to experiment:
int RACIAL_TYPE_ABERRATION = 7;
int RACIAL_TYPE_ANIMAL = 8;
int RACIAL_TYPE_BEAST = 9;
int RACIAL_TYPE_CONSTRUCT = 10;
int RACIAL_TYPE_DRAGON = 11;
int RACIAL_TYPE_HUMANOID_GOBLINOID = 12;
int RACIAL_TYPE_HUMANOID_MONSTROUS = 13;
int RACIAL_TYPE_HUMANOID_ORC = 14;
int RACIAL_TYPE_HUMANOID_REPTILIAN = 15;
int RACIAL_TYPE_ELEMENTAL = 16;
int RACIAL_TYPE_FEY = 17;
int RACIAL_TYPE_GIANT = 18;
int RACIAL_TYPE_MAGICAL_BEAST = 19;
int RACIAL_TYPE_OUTSIDER = 20;
int RACIAL_TYPE_SHAPECHANGER = 23;
int RACIAL_TYPE_UNDEAD = 24;
int RACIAL_TYPE_VERMIN = 25;
int RACIAL_TYPE_ALL = 28;
int RACIAL_TYPE_INVALID = 28;
int RACIAL_TYPE_OOZE = 29;
Funky |
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Fri Jul 25, 2008 16:48 Post subject: |
|
|
what the goal is, is for the subraces. some require to be an outsider and some things like reptiliain.
Is there a SetBaseRace command anywhere? cause i have never made a letscript and have no idea where to begin. My goal is to be able to just have a script that will set the base race and the subrace then require the boot. the boot i can get from the simtools (thanks ) but the rest i am clueless too
EDIT::
i named the thread properly |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Jul 25, 2008 16:57 Post subject: |
|
|
NWNX Functions:
Code: | void SetRacialType(object oObject, int nRacialType); |
|
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Fri Jul 25, 2008 16:58 Post subject: |
|
|
THATS what it was. is that already in the stuff i have put in? is it in an include?
i have the easy, and simtools |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
Extreme
Joined: 28 Nov 2007 Posts: 135
|
Posted: Fri Jul 25, 2008 17:07 Post subject: |
|
|
ok here is a question
my server is linux but i am windows at home. are these just in the normal code? cause since its a minux commands only, i cant test it at home |
|
Back to top |
|
|
|