Page 1 of 1

the gender bender

PostPosted: Mon Jun 13, 2005 11:54 am
Author: girlysprite
I already put up a topic on the bioware forums, but I'm gonna spam here too :)

The idea is to make a gender changing belt. ((always has to be a belt))
Now, the genderfield itself can't be touched by scripts, but we can change appearance. Downside is, it will be a static model. You can't set appearances to dynamic models.

so the belt would have an onequip script.

What it also would have to do ( I think, I'm not so great at scripting)
is checking gender before change, and race. When it has done that, it has to pick a model from the same race, opposite gender.

next problem...if a char ever wants to transform back...is that possible? Is information about the orginial model stored somewhere? Or do we need the bic editor around?

Re: the gender bender

PostPosted: Mon Jun 13, 2005 12:05 pm
Author: Jonezie
girlysprite wrote:The idea is to make a gender changing belt. ((always has to be a belt))
Now, the genderfield itself can't be touched by scripts, but we can change appearance. Downside is, it will be a static model. You can't set appearances to dynamic models.

You can set dynamic models, but it won't work in this case, because the model, being dynamic, would still take on the original gender.

so the belt would have an onequip script.

What it also would have to do ( I think, I'm not so great at scripting)
is checking gender before change, and race. When it has done that, it has to pick a model from the same race, opposite gender.

That'd work, yes.

next problem...if a char ever wants to transform back...is that possible? Is information about the orginial model stored somewhere? Or do we need the bic editor around?

You can store the information on the belt itself, as a local int. So, in the onequip script, before you do the change have:

Code: Select all
object oPC = GetPCItemLastEquippedBy();
object oBelt = GetPCItemLastEquipped();

int iAppearance = GetAppearanceType(oPC);
SetLocalInt(oBelt, "Norm_Appearance", iAppearance);

Then, in the unequip script, you can just recall that int, and set the creature's appearance back to that value.

PostPosted: Mon Jun 13, 2005 2:43 pm
Author: Curois
Would be cool though to make it unequipable, except with a remove curse spell.

PostPosted: Mon Jun 13, 2005 3:19 pm
Author: Mistcaller
Instead of gender changing belt, I would suggest a "Barmaid/Bouncer" changing belt , which is easier to create :)

PostPosted: Tue Jun 14, 2005 12:11 pm
Author: girlysprite
well in this thread on the bioware boards I got some nice pieces of code...
I think actually everything we need :)

http://nwn.bioware.com/forums/viewtopic ... 9&forum=47

PostPosted: Wed Jun 15, 2005 10:45 am
Author: girlysprite
GOT IT WORKING!!

it also can't be removed, unless a certain variable is set to 1. It looks like a nice belt, until equipped of course, then the description chances.

Ill send the mod over to the team.

i think

PostPosted: Wed Jun 15, 2005 12:41 pm
Author: afterhours
wasn't there an item exactly like this in old school d&d, i do believe so.

PostPosted: Wed Jun 15, 2005 1:21 pm
Author: girlysprite
It is a quite well known concept yes :) that is why I made it and sent it to the team

ah so

PostPosted: Wed Jun 15, 2005 1:28 pm
Author: afterhours
cool, just please keep it away from carrick (not a very feminine name)

clever sprite.... scripting (and i always thought that dealt with playwriting, heh heh).

PostPosted: Wed Jun 15, 2005 3:18 pm
Author: Shiro Tsuki
I guess genderbending is fun for some? Not sure I spend alot of time on it.

A cured belt would bee good BUT I notice that curse items {like potions} in the game have that noted in the discription that they are in fact cursed items.

PostPosted: Wed Jun 15, 2005 3:24 pm
Author: Jonezie
Shiro Tsuki wrote:I guess genderbending is fun for some? Not sure I spend alot of time on it.

A cured belt would bee good BUT I notice that curse items {like potions} in the game have that noted in the discription that they are in fact cursed items.

There are ways of getting around that.

*shifty eyes*

PostPosted: Thu Jun 16, 2005 9:48 am
Author: girlysprite
yes. Actually, you cabn make the belt look like anything with the current script. People may think it is a belt of uber strength +10. It will have these properties in its description. However, when it is equipped, the player gets a message that it wasn't that belt after all, but it is the genderbender, and then, the description of the belt changes.

by the way- for the team..

If you like the scripts and are going to implement it, let me know :)

PostPosted: Thu Jun 16, 2005 4:23 pm
Author: Final Shinryuu
girlysprite wrote: People may think it is a belt of uber strength +10.


I would so love to see someone sell this thing at a Trade Fair or public auction. :P