Server Totals
M'Chek - (14)
Visimontium - (1)
Wilderness - (0)
Ferrell - (0)
Elysia - (0)
Le'Or - (0)
Deglos - (0)
Underdark - (0)
Mikona - (0)
Total players: 15
Gallery

Links Menu

the gender bender

Moderators: Nighthawk4, Dungeon Masters

the gender bender

PostAuthor: girlysprite » Mon Jun 13, 2005 11:54 am

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?
Gaming doesn't make people voilent, lag does

<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
User avatar
girlysprite
Silver Contributor
 
Posts: 3661
Joined: Mon Apr 12, 2004 2:38 pm
Location: In my little pony ranch

Re: the gender bender

PostAuthor: Jonezie » Mon Jun 13, 2005 12:05 pm

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.
User avatar
Jonezie
Team Member; Retired with Honors
 
Posts: 3906
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

PostAuthor: Curois » Mon Jun 13, 2005 2:43 pm

Would be cool though to make it unequipable, except with a remove curse spell.
User avatar
Curois
Scholar
 
Posts: 1280
Joined: Sun Feb 15, 2004 6:11 pm
Location: Euforia

PostAuthor: Mistcaller » Mon Jun 13, 2005 3:19 pm

Instead of gender changing belt, I would suggest a "Barmaid/Bouncer" changing belt , which is easier to create :)
User avatar
Mistcaller
Team Member; Retired with Honors
 
Posts: 5481
Joined: Sun Feb 09, 2003 3:42 pm
Location: Athens, Greece (GMT +2)

PostAuthor: girlysprite » Tue Jun 14, 2005 12:11 pm

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
Gaming doesn't make people voilent, lag does

<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
User avatar
girlysprite
Silver Contributor
 
Posts: 3661
Joined: Mon Apr 12, 2004 2:38 pm
Location: In my little pony ranch

PostAuthor: girlysprite » Wed Jun 15, 2005 10:45 am

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.
Gaming doesn't make people voilent, lag does

<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
User avatar
girlysprite
Silver Contributor
 
Posts: 3661
Joined: Mon Apr 12, 2004 2:38 pm
Location: In my little pony ranch

i think

PostAuthor: afterhours » Wed Jun 15, 2005 12:41 pm

wasn't there an item exactly like this in old school d&d, i do believe so.
all good things,
afterhours & carrick

afterhours
Scholar of Fools
 
Posts: 314
Joined: Tue Jun 07, 2005 2:12 pm
Location: in orbit (gmt -4 or 5)

PostAuthor: girlysprite » Wed Jun 15, 2005 1:21 pm

It is a quite well known concept yes :) that is why I made it and sent it to the team
Gaming doesn't make people voilent, lag does

<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
User avatar
girlysprite
Silver Contributor
 
Posts: 3661
Joined: Mon Apr 12, 2004 2:38 pm
Location: In my little pony ranch

ah so

PostAuthor: afterhours » Wed Jun 15, 2005 1:28 pm

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).
all good things,
afterhours & carrick

afterhours
Scholar of Fools
 
Posts: 314
Joined: Tue Jun 07, 2005 2:12 pm
Location: in orbit (gmt -4 or 5)

PostAuthor: Shiro Tsuki » Wed Jun 15, 2005 3:18 pm

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.
Ya live once, if ya do it right, once is enough!
User avatar
Shiro Tsuki
Prince of Bloated Discourse
 
Posts: 280
Joined: Wed Jul 21, 2004 5:04 am
Location: Toronto Canada{GMT- 5} EDT

PostAuthor: Jonezie » Wed Jun 15, 2005 3:24 pm

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*
User avatar
Jonezie
Team Member; Retired with Honors
 
Posts: 3906
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

PostAuthor: girlysprite » Thu Jun 16, 2005 9:48 am

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 :)
Gaming doesn't make people voilent, lag does

<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
User avatar
girlysprite
Silver Contributor
 
Posts: 3661
Joined: Mon Apr 12, 2004 2:38 pm
Location: In my little pony ranch

PostAuthor: Final Shinryuu » Thu Jun 16, 2005 4:23 pm

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
User avatar
Final Shinryuu
Sage
 
Posts: 2060
Joined: Thu Jun 24, 2004 3:20 am
Location: http://hades.mercuric.net/


Return to NWN Scripting

Who is online

Registered users: Bing [Bot]