![]() |
|
[Release] Elevator stuff - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Release] Elevator stuff (/Thread-Release-Elevator-stuff.html) |
Elevator stuff - Yamato - 01-26-2012 Hello, ![]() I found this on some old files I have and I decided to release it, . Is not very good because the menu is just a leftover and is incomplete.Add this in Init(): Code: precacheMenu( "elevator_floor_selector" );![]() How to open the menu and check if you use an option: ![]() Code: self waittill( "menuresponse", menu, response );
if( menu == "elevator_floor_selector" )
{
if( response == "none" )
{
//give something
}
else if( response == "1" )
{
//give something
}
else if( response == "2" )
{
//give something
}
else if( response == "3" )
{
//give something
}
}IW also left some unused sounds (I remember that all these or mostly all, work): Code: elev_bell_ding
elev_musak_loop
elev_door_close
elev_door_open
elev_run_start
elev_run_loop
elev_door_interupt
elev_run_endAbout these 3 strings, I never tried them: Code: &"ELEVATOR_FLOOR_SELECT_HINT"
&"ELEVATOR_USE_HINT"
&"ELEVATOR_CALL_HINT"Video about how it looks: ![]() Credits: @zxz0O0 : he told @Rendflex about this.
RE: Elevator stuff - JariZ - 01-26-2012 Awesome! have a
RE: Elevator stuff - zxz0O0 - 01-26-2012 RE: Elevator stuff - Rendflex - 01-26-2012 Give credits to zxz yamato, he told me and I told you after that
RE: Elevator stuff - tadej - 01-26-2012 nice
RE: Elevator stuff - JariZ - 01-26-2012 @zxz0O0 gets credits for telling @Rendflex
RE: Elevator stuff - Rendflex - 01-26-2012 (01-26-2012, 21:14)jariz Wrote: @zxz0O0 gets credits for telling @Rendflex LOL It was the time when @Yamato and me just started getting into modding, we were total noobs then... But slowly we mastered the .GSC language. I sent a PM to @zxz0O0 on youtube about the menu, and he gave me the code, then I gave it to @Yamato . RE: Elevator stuff - alvarogt95 - 01-27-2012 thanks for the tuto yamato! |