One day I will or someone will need to make and index of all these scripts lol.
Before I post my scripts I would like to remind you that I don't know a whole lot of cubescript and got help with these after my attempts didn't work but they are both my own ideas from reading through all the .cfgs
1. Favourite Maps
Thanks V-Man!
It adds a favourite maps to the maps menu so when selecting a map you need just open favourites and select rather than browse through your huge cache of maps. Also there's none that say "Untitled by Unknown"
[cubescript]
//Favourite Maps By D1551D3N7
newmenu "favourite_maps"
menuitem "Team Deathmatch" "mode 0; showmenu favmaps"
menuitem "Deathmatch" "mode 2; showmenu favmaps"
menuitem "Team Survivor" "mode 4; showmenu favmaps"
menuitem "Survivor" "mode 3; showmenu favmaps"
menuitem "Capture the Flag" "mode 5; showmenu favmaps"
menuitem "Hunt the Flag" "mode 13; showmenu favmaps"
menuitem "Keep the Flag" "mode 15; showmenu favmaps"
menuitem "Team Keep the Flag" "mode 14; showmenu favmaps"
menuitem "Pistol Frenzy" "mode 6; showmenu favmaps"
menuitem "Last Swiss Standing" "mode 9; showmenu favmaps"
menuitem "One Shot, One Kill" "mode 10; showmenu favmaps"
menuitem "Team One Shot, One Kill" "mode 11; showmenu favmaps"
newmenu "favmaps"
//Change the map names to the ones you like but they MUST be the //same name as the ones in your maps folder (without .cgz)
alias favmaps "dreamland ac_douze krull_bunker mini_douze" "cgz" "map $arg1"
genmapitems $favmaps
[/cubescript]
Then go to menus_multiplayer.cfg and add
[cubescript] menuitem "Change To Favourite Map" "showmenu favourite_maps" [/cubescript] Beneath
[cubescript] menuitem "Set mode/map..." "showmenu Gamemode" [/cubescript]
ToDo: make savefav alias to save map to favourites.
2. Sendmap Menu
Thanks Ronald_Reagan!!!
[cubescript] newmenu Sendmap
menudirlist "packages/maps" "cgz" "sendmap $arg1" [/cubescript]
Now for some reason this dosen't work but I'm sure some one will be able to tweak it to work. Add it to menus_multiplayer.cfg below [cubescript] menuitem "Set mode/map..." "showmenu Gamemode" [/cubescript] or below favmaps if you have it :).
Other Ideas:
Ask Screenshot --- DONE SEE BELOW
Instead of screenshotting after every single game it will pop up and ask you weather to take a screenshot or not. (I didnt get to finish this or manage it as couldnt figure out how to get function for the end of the game)
Cool thing: Load a map of your choice on start
http://forum.cubers.net/thread-1339.html
This thread showed me this cool function. So right-click your assaultcube.bat file and click edit. Add --loadmap=maphere
This was sitting in my drafts for a long time :)
EDIT: Auto-screenshot
Thanks Lantry!!!!!
This needs V-mans tools.cfg to work. Might not work all the time
[cubescript]
alias scorescreenshot [ showscores 1; sleep 100 [ screenshot ] ]
newmenu screenshot
menuitem "Yes" [ sleep 30 [ scorescreenshot ] ]
menuitem "no"
addcheck_si [ showmenu screenshot ] [/cubescript]
Before I post my scripts I would like to remind you that I don't know a whole lot of cubescript and got help with these after my attempts didn't work but they are both my own ideas from reading through all the .cfgs
1. Favourite Maps
Thanks V-Man!
It adds a favourite maps to the maps menu so when selecting a map you need just open favourites and select rather than browse through your huge cache of maps. Also there's none that say "Untitled by Unknown"
[cubescript]
//Favourite Maps By D1551D3N7
newmenu "favourite_maps"
menuitem "Team Deathmatch" "mode 0; showmenu favmaps"
menuitem "Deathmatch" "mode 2; showmenu favmaps"
menuitem "Team Survivor" "mode 4; showmenu favmaps"
menuitem "Survivor" "mode 3; showmenu favmaps"
menuitem "Capture the Flag" "mode 5; showmenu favmaps"
menuitem "Hunt the Flag" "mode 13; showmenu favmaps"
menuitem "Keep the Flag" "mode 15; showmenu favmaps"
menuitem "Team Keep the Flag" "mode 14; showmenu favmaps"
menuitem "Pistol Frenzy" "mode 6; showmenu favmaps"
menuitem "Last Swiss Standing" "mode 9; showmenu favmaps"
menuitem "One Shot, One Kill" "mode 10; showmenu favmaps"
menuitem "Team One Shot, One Kill" "mode 11; showmenu favmaps"
newmenu "favmaps"
//Change the map names to the ones you like but they MUST be the //same name as the ones in your maps folder (without .cgz)
alias favmaps "dreamland ac_douze krull_bunker mini_douze" "cgz" "map $arg1"
genmapitems $favmaps
[/cubescript]
Then go to menus_multiplayer.cfg and add
[cubescript] menuitem "Change To Favourite Map" "showmenu favourite_maps" [/cubescript] Beneath
[cubescript] menuitem "Set mode/map..." "showmenu Gamemode" [/cubescript]
ToDo: make savefav alias to save map to favourites.
2. Sendmap Menu
Thanks Ronald_Reagan!!!
[cubescript] newmenu Sendmap
menudirlist "packages/maps" "cgz" "sendmap $arg1" [/cubescript]
Now for some reason this dosen't work but I'm sure some one will be able to tweak it to work. Add it to menus_multiplayer.cfg below [cubescript] menuitem "Set mode/map..." "showmenu Gamemode" [/cubescript] or below favmaps if you have it :).
Other Ideas:
Ask Screenshot --- DONE SEE BELOW
Instead of screenshotting after every single game it will pop up and ask you weather to take a screenshot or not. (I didnt get to finish this or manage it as couldnt figure out how to get function for the end of the game)
Cool thing: Load a map of your choice on start
http://forum.cubers.net/thread-1339.html
This thread showed me this cool function. So right-click your assaultcube.bat file and click edit. Add --loadmap=maphere
This was sitting in my drafts for a long time :)
EDIT: Auto-screenshot
Thanks Lantry!!!!!
This needs V-mans tools.cfg to work. Might not work all the time
[cubescript]
alias scorescreenshot [ showscores 1; sleep 100 [ screenshot ] ]
newmenu screenshot
menuitem "Yes" [ sleep 30 [ scorescreenshot ] ]
menuitem "no"
addcheck_si [ showmenu screenshot ] [/cubescript]