logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
SetBaserace

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Thu Jul 24, 2008 13:05    Post subject: SetBaserace Reply with quote

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
View user's profile Send private message
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Thu Jul 24, 2008 22:43    Post subject: Reply with quote

It exists just on regular NWN. No need for NWNX.
Back to top
View user's profile Send private message
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Jul 25, 2008 14:27    Post subject: Reply with quote

oh damn...im dumb..

i meant SetBaseRace
Back to top
View user's profile Send private message
TroveLord



Joined: 22 Nov 2006
Posts: 136
Location: Italy

PostPosted: Fri Jul 25, 2008 15:25    Post subject: Reply with quote

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
View user's profile Send private message
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Jul 25, 2008 15:26    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Fri Jul 25, 2008 16:44    Post subject: Reply with quote

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
View user's profile Send private message
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Jul 25, 2008 16:48    Post subject: Reply with quote

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 Wink ) but the rest i am clueless too

EDIT::
i named the thread properly
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Fri Jul 25, 2008 16:57    Post subject: Reply with quote

NWNX Functions:
Code:
void SetRacialType(object oObject, int nRacialType);
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Jul 25, 2008 16:58    Post subject: Reply with quote

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
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Fri Jul 25, 2008 17:05    Post subject: Reply with quote

Yes, read the documentation for NWNX Functions and search for nwnx_functions.nss include.
Both are present in the latest NWNX Functions build:
http://data.virusman.ru/nwn/nwnx_functions-1.8.9.rar
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Extreme



Joined: 28 Nov 2007
Posts: 135

PostPosted: Fri Jul 25, 2008 17:07    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group