What is this, you ask? It's a multisource text script used solely for the purpose of convenience in netgames. Technically, I just use it for myself, but since I'm already making it, I may as well show it to the public. This is currently used for:
-Switching characters in a mere second. (Also includes a "Sonic Heroes" script, for those using SRB2JTE. ;) )
-Saying commonly used messages (but too long to type) in CTF with the press of a button.
-Switching between third and first person view, as well as mouse aim.
-Analog Toggling (I doubt any of you would use this. )
-Already loaded bind-key snapshot.
-A help button, for your convenience. ^_^
-More crap.
Currently working on:
-Sonic R replay-type camera. Works, but very buggy. If anyone can help, go ahead and speak up.
-Fixing Single Player's Sonic Heroes script.
Will do in the future (or someone else, if they feel like it):
-Add new character switch buttons when SRB2 JTE has those characters added.
-Make a batch file for the final release; will execute the code automatically, and some other files. Probably a music pack or something.
-Organize the buttons in a less complex way. Already did so, but maybe I can try and organize it more sometime.
-Improvise some of the commands. Done so, but again, see if I can do it more.
-Add "Devmode" to the character switch buttons; this way it'll work in single player.
Copy this code (and edit as you feel necessary) into a text document and use the "exec" command in console:
I'm also up for new ideas, critique, and help. If anyone wants to contribute to this and/or help out on existing commands (Sonic R cam, mouselook, etc.), go ahead, and I'll add that code and your name to the credits.
And if you see bugs, don't hesitate to tell me. Unless I already knew about it, your bug finding will help improve it greatly.
Now for the feedback.
-Switching characters in a mere second. (Also includes a "Sonic Heroes" script, for those using SRB2JTE. ;) )
-Saying commonly used messages (but too long to type) in CTF with the press of a button.
-Switching between third and first person view, as well as mouse aim.
-Analog Toggling (I doubt any of you would use this. )
-Already loaded bind-key snapshot.
-A help button, for your convenience. ^_^
-More crap.
Currently working on:
-Sonic R replay-type camera. Works, but very buggy. If anyone can help, go ahead and speak up.
-Fixing Single Player's Sonic Heroes script.
Will do in the future (or someone else, if they feel like it):
-Add new character switch buttons when SRB2 JTE has those characters added.
-Make a batch file for the final release; will execute the code automatically, and some other files. Probably a music pack or something.
-Organize the buttons in a less complex way. Already did so, but maybe I can try and organize it more sometime.
-Improvise some of the commands. Done so, but again, see if I can do it more.
-Add "Devmode" to the character switch buttons; this way it'll work in single player.
Copy this code (and edit as you feel necessary) into a text document and use the "exec" command in console:
Code:
//Introduction Text
// ---------------------------------------------------------
echo Control Panel script (V 1.7) organized by Blue Warrior. Press Q for help.
// Aliases - don't touch unless you know what you're doing.
// ---------------------------------------------------------
// Switch View aliases.
alias camerachange "chasecam 1; chasecam2 1; bind j camerachange2"
alias camerachange2 "chasecam 0; chasecam2 0; bind j camerachange;"
// Analog aliases.
alias analogon "analog on; bind home analogoff"
alias analogoff "analog off; bind home analogon"
// Advanced Camera (This is still being constructed; use sparingly.)
alias SonicR "bind del SonicR2; camera; wait 90; camera2; wait 90; camera3; wait 90; SonicR"
alias SonicR2 "cam_still off; cam_height 20; cam_dist 50; cam_rotate 0; cam_speed 0.25; bind del SonicR"
alias camera "cam_still off; cam_speed 1; cam_height 500; cam_dist 600; cam_rotate 140; wait 5; cam_speed 0"
alias camera2 "cam_still on; cam_speed 0.25; cam_height 50; cam_dist 300; cam_rotate 0"
alias camera3 "cam_still off; cam_speed 1; cam_height 50; cam_dist 0; cam_rotate 0"
//Character Switch Aliases (Hoo, boy, this is gonna take up a lot of lines O_o)
// ------------------------
//Switch Modes
alias charswitch "maxbots 3; bind 1 sonicteam1A; bind 2 mechateam1A; bind 3 otherteam1A; bind 0 charswitch2; bind 4 echo Slot is empty.; echo Switched to Sonic Heroes single player. (Broken - do not use.)"
alias charswitch2 "bind 1 sonicteam1B; bind 2 mechateam1B; bind 3 otherteam1B; bind 0 charswitch3; echo Switched to Sonic Heroes multiplayer."
alias charswitch3 "bind 1 skin Sonic; bind 2 skin Tails; bind 3 skin Knuckles; bind 4 skin Amy; bind 5 skin Shadow; bind 6 skin MetalSonic; bind 7 echo Slot is empty; bind 0 charswitch; echo Switched to normal character mode."
//Team Command Base
alias sonicteam1 "color blue; skin Sonic; kick allbots; wait 2; addbot tails; wait 4; addbot knuckles"
alias sonicteam2 "skin Tails; color orange; kick allbots; wait 2; addbot Sonic; wait 4; addbot Knuckles"
alias sonicteam3 "skin Knuckles; color red; kick allbots; wait 2; addbot Sonic; wait 4; addbot Tails"
alias mechateam1 "skin MetalSonic; color dark_blue; kick allbots; wait 2; addbot TailsDoll; wait 4; addbot MechaKnux"
alias mechateam2 "skin TailsDoll; color orange; kick allbots; wait 2; addbot MetalSonic; wait 4; addbot MechaKnux"
alias mechateam3 "skin MechaKnux; color red; kick allbots; wait 2; addbot TailsDoll; wait 4; addbot MetalSonic"
alias otherteam1 "skin Amy; color red; kick allbots; wait 2; addbot Shadow; wait 4; addbot Shirobon"
alias otherteam2 "skin Shadow; color red; kick allbots; wait 2; addbot Amy; wait 4; addbot Shirobon"
alias otherteam3 "skin Shirobon; color blue; kick allbots; wait 2; addbot Amy; wait 4; addbot Shadow"
//Single Player Teams
alias sonicteam1A "splitscreen on; sonicteam1; bind 1 sonicteam2A; splitscreen off"
alias sonicteam2A "splitscreen on; sonicteam2; bind 1 sonicteam3A; splitscreen off"
alias sonicteam3A "splitscreen on; sonicteam3; bind 1 sonicteam1A; splitscreen off"
alias mechateam1A "splitscreen on; mechateam1; bind 2 mechateam2A; splitscreen off"
alias mechateam2A "splitscreen on; mechateam1; bind 2 mechateam3A; splitscreen off"
alias mechateam3A "splitscreen on; mechateam1; bind 2 mechateam1A; splitscreen off"
alias otherteam1A "splitscreen on; otherteam1; bind 3 otherteam2A; splitscreen off"
alias otherteam2A "splitscreen on; otherteam2; bind 3 otherteam3A; splitscreen off"
alias otherteam3A "splitscreen on; otherteam3; bind 3 otherteam1A; splitscreen off"
//Multiplayer Teams
alias sonicteam1B "sonicteam1; bind 1 sonicteam2B"
alias sonicteam2B "sonicteam2; bind 1 sonicteam3B"
alias sonicteam3B "sonicteam3; bind 1 sonicteam1B"
alias mechateam1B "mechateam1; bind 2 mechateam2B"
alias mechateam2B "mechateam2; bind 2 mechateam3B"
alias mechateam3B "mechateam3; bind 2 mechateam1B"
alias otherteam1B "otherteam1; bind 3 otherteam2B"
alias otherteam2B "otherteam2; bind 3 otherteam3B"
alias otherteam3B "otherteam3; bind 3 otherteam1B"
//Bind Commands.
// ---------------------------------------------------------
//Help Command (Oh, god, more large amounts of text)
bind q "echo Commands added from control panel:; echo - -- Victory phrase (edit before using); echo ] -- CTF, ask for Tails; echo / -- CTF, say you will fly others; echo ] -- CTF, request for backup; echo p -- Tell others to quit flooding the message box (srsly); echo ; echo 1 through 6 -- Character Change; echo 0 -- Switch to Sonic Heroes Character Change mode; echo ; echo Ins -- Screenshot of Game; echo Del -- SonicR Camera (Not fully functional); echo Home -- Analog; echo End -- Exit Current Game; echo J -- Chasecam and Mouse aim; echo; echo Any and all questions related to this mod should be answered at the appropriate place and time."
// Quick messages for ctf.
bind - "say I am the Blue Warrior!"
bind ] "sayteam I need air support"
bind \ "sayteam I'll provide air support"
bind [ "sayteam I need backup!"
bind p "say Quit flooding the message box."
// Character changes.
bind 1 "skin Sonic"
bind 2 "skin Tails"
bind 3 "skin Knuckles"
bind 4 "skin Amy"
bind 5 "skin Shadow"
bind 6 "skin MetalSonic"
bind 7 "echo Slot open. Insert your own! :)"
bind 0 charswitch
// Change View and Mouselook
bind j camerachange
// Various Commands
bind ins screenshot
bind end exitgame
bind home "analogon"
// Advanced Cameras
bind del "echo This addition is technically flawed. Press DELETE again to initialize anyway.; bind del SonicR"
//Credits
//Blue Warrior (Obviously, I'm the one who made it. :\ )
//Flame_the_hedgehog (Improving the "Change View" command - I also used his "Sonic Heroes" txt as a reference.)
I'm also up for new ideas, critique, and help. If anyone wants to contribute to this and/or help out on existing commands (Sonic R cam, mouselook, etc.), go ahead, and I'll add that code and your name to the credits.
And if you see bugs, don't hesitate to tell me. Unless I already knew about it, your bug finding will help improve it greatly.
Now for the feedback.