Page 1 of 1
question about a custom map
Posted: Sat Jun 28, 2003 5:56 am
by da-neural
hey, well i am going to be making a map of my house and I want it to be in very good detail, so how would i got about making speakers, mouses, keyboards would you be able to tell me any tutorials for this. And is it possible to make a switch say on a CD player and when pressed will change custom backround music?? and how would i got about making curtains and windows that look like
say like this
that when the parts circled in red stay there? and can be jumped on still to go inside?
Posted: Sat Jun 28, 2003 6:01 am
by chris_in_cali
Sounds like lots of scripting. Individual breakable panes would solve the window problem, though I don't have a clue how to script in MOHAA. The other stuff would just me more scripting, and you'd have to make quite a lot of custom skins... big endeavour you're undertaking here.
I'd also guess you could try and change your character model scaling, like they do in some "giant" games, to two times, or so. If you did this you could reduce a brush unit from .75 inches to about .375 inches, allowing more detail. This would likely mean a performance hit in the end, but maybe that's a sacrifice you'd want to take.
Posted: Sat Jun 28, 2003 6:23 am
by Alcoholic
for changing music, make a trigger use field with the key 'setthread' and value 'newmusic'. in your script add this.
Code: Select all
newmusic:
$player stufftext "tmstop" //stops any previously playing music
waitframe //make sure it stopped before continuing
$player stufftext "tmstartloop sound/music/medicdance.mp3"
end
basically, it 'stuffs text' into the players console. the command stuffed in the console is 'tmstop'. then it stuffs more text into the players console. it tells the player to start a loop of the .mp3 i specified.