Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Question: How to choose the player's gender ?

Author
Message
RelMayer
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: France
Posted: 23rd Mar 2010 23:52
Hello, I've a scripting related question,
can i create a small menu (in a map ?) which will
allows to the player to choose his gender* ?


*The gender's player will be only for the soundset.

Please apologize my bad english, I'm French.

ELDORA Rocks !
Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 24th Mar 2010 03:53
With a mod you can create this, but you wouldn't be able to alter the player's soundset through scripting.

"Dad? Dad, I'm a- Ye- Not a "crazed gunman", dad, I'm an assassin! ...Well, the difference bein' one is a job and the other's mental sickness!" - The Sniper.
JRH
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Stirling, UK
Posted: 25th Mar 2010 01:29
This is simple, and can be achieved without the use of a mod.

Simply replace the files in the audiobank\voices\player folder with the ones from audiobank\voices\female.

If you have MP9/10 then you can change the hand textures to more feminine ones using the bonus materials.

Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 25th Mar 2010 03:56
I think RelMayer wanted to know if this was possible through scripting... where you can change the soundset through scripting commands instead of through the player start marker or the audiobank folders.

"Dad? Dad, I'm a- Ye- Not a "crazed gunman", dad, I'm an assassin! ...Well, the difference bein' one is a job and the other's mental sickness!" - The Sniper.
anayar
15
Years of Service
User Offline
Joined: 19th Aug 2009
Location: Minneapolis, MN
Posted: 25th Mar 2010 17:45
you can make a script which pops up a hud and asks to choose gender... youd just have to make the hud and then say if clicked on, then change the playersound.

A.N STUDIO'S
vortech
14
Years of Service
User Offline
Joined: 18th Mar 2010
Location: Finland
Posted: 3rd Apr 2010 15:26
OR you can just right click player start arrow and change soundset there.
Le Shorte
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Wisconsin
Posted: 7th Apr 2010 02:57
Quote: "OR you can just right click player start arrow and change soundset there. "


RelMayer is asking if you can have an option to choose gender after you've built the game. Such as in KOTOR.

http://forum.thegamecreators.com/?m=forum_view&t=166194&b=25
RADS, X10 Game. Still in Development as of 4/6/10
vortech
14
Years of Service
User Offline
Joined: 18th Mar 2010
Location: Finland
Posted: 7th Apr 2010 15:22
Create script where is two buttons and other changees sounds to male and other to female. Then add it to trigger zone. Shouldn't be hard.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Apr 2010 22:27 Edited at: 8th Apr 2010 22:35
Quote: "With a mod you can create this, but you wouldn't be able to alter the player's soundset through scripting."

Right
However you could do an override of the soundset.
In other words, have no sound set and use the scripts to emulate one based on the user selection.
So, we have acces to determine if a player takes damage or if they are alive or not, and we can do a scancodekeypressed to detect a jump.
With that said, it does seem possible to create a script with the stock engine that could play sounds for an emulated sound set.
That could be Male, Female, Robotic, or any other sounds you want to use, even monsters or zombies, etc.
So, while there is no FPI actions to change a soundset, there may be conditions/actions that can emulate one.

Of course this is only in theory, as I have never attempted to change the players soundset in game, but it seems possible.

Come to think of it, I need to work on this myself.
I hadn't thought about it before, but I do change genders of the player during the gameplay of the game I'm currently working on.
I had thought about the hands, but not about the soundset.

   Conjured Entertainment

 WARNING: Intense Madness
GHILLI
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: U.S.A.
Posted: 9th Apr 2010 22:17
i havent tested this or anything, BUT i noticed that in the FPI Editpad there is an action called "sound=" and the tooltip for it says: "SOUND=X - plays a sound specified by the X filename - Use $0 to specify soundset" perhaps someone could see if this works as I am working on another project (actually 2) and don't have time.

"The road to Hell is paved with good intentions."

Login to post a reply

Server time is: 2024-11-25 02:09:58
Your offset time is: 2024-11-25 02:09:58