Help - Search - Members - Calendar
Full Version: Echoing On Screen
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
Crimson
How exactly do you echo stuff onto the screen? i am making my own upgrade(rine/alien) scripts, using a little bit of guidence from the other topic about rine/alien upgrade scripts. Anyway, i have this:

QUOTE
alias "Resupply" "impulse 31; developer 1; motdfile echo.txt; motd_write :: Resupply_Selected ::; developer 0"
alias "Armor1" "impulse 20; developer 1; motdfile echo.txt; motd_write :: Armor_1_Selected ::; developer 0"
alias "Armor2" "impulse 21; developer 1; motdfile echo.txt; motd_write :: Armor_2_Selected ::; developer 0"
alias "Weapons1" "impulse 23; developer 1; motdfile echo.txt; motd_write :: Weapons_1_Selected ::; developer 0"
alias "Weapons2" "impulse 24; developer 1; motdfile echo.txt; motd_write :: Weapons_2_Selected ::; developer 0"
alias "Weapons3" "impulse 25; developer 1; motdfile echo.txt; motd_write :: Weapons_3_Selected ::; developer 0"
alias "Jetpack" "impulse 39; developer 1; motdfile echo.txt; motd_write :: Jetpack_Selected ::; developer 0"
alias "Shotgun" "impulse 64; developer 1; motdfile echo.txt; motd_write :: Shotgun_Selected ::; developer 0"
alias "HMG" "impulse 65; developer 1; motdfile echo.txt; motd_write :: HMG_Selected ::; developer 0"

bind "kp_end" "Resupply"
bind "kp_downarrow" "Armor1"
bind "kp_pgdn" "Weapons1"
bind "kp_leftarrow" "Shotgun"
bind "kp_5" "Armor2"
bind "kp_rightarrow" "Jetpack"
bind "kp_home" "Weapons2"
bind "kp_uparrow" "Weapons3"
bind "kp_pgup" "HMG"

it all works fine, but how do i get it so it says for example Resupply_Selected instead of just Done. in the top right? is that possible? if so, please tell me how.

Thx for any future help
DragonMech
You need to add the MOTD command (right after the motd_write command) so it reads like this:

CODE
alias "Resupply" "impulse 31; developer 1; motdfile echo.txt; motd_write :: Resupply_Selected ::; MOTD; developer 0"
Crimson
ok, thx, thats all i needed smile-fix.gif
2_of_Eight
You don't need all those "motd_file echo.txt". Have one at the beginning of autoexec.cfg, that's it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.