oh oh I founds it by looking through what Dekar did for the last one he did...
so he changed this
function Trig_end_game_if_less_than_2_players_Func004Func004002 takes nothing returns nothing
call CustomDefeatBJ( GetEnumPlayer(), "TRIGSTR_1966" )
endfunction
into this
function Trig_end_game_if_less_than_2_players_Func004Func004002 takes nothing returns nothing
call DisplayTextToForce(GetPlayersAll(), "Welcome to single player save/load mode")
endfunction
so I changed it too XD yay I might start learning something afterall... T_T
ok changing that didn't make it work XD so i messed around a bit more
hey yea umm this works with solo player so far... still testing this... but it uses Aero's cheatpack XD
hey yea umm this works with solo player so far... still testing this... but it uses Aero's cheatpack XD
Code: Select all
Aero's cheatpack... its single player but since its over 4 megs cant be played online T_T wah! well at least you can save XD also load only works once... T_T
"-cheated by wc3edit.net" to activate cheats
(Requires no unit selection)
-mh for map hack (Does not share vis with allies)
-gold x
-lumber x
[u]-nocd (No cooldowns) does not work[/u]
[u]-cdon (Cooldowns) does not work[/u]
[u]-mana (Use of spells costs no mana) does not work[/u]
[u]-nomana (Use of spells cost mana) does not work[/u]
(Uses on all units currently selected - Best used with -mh)
NOTE: The selection trigger does not use "SyncSelections()" so it does NOT lock up units or cause errors!
-int x
-agi x
-str x
-lvl x
-xp x
-hp x
-mp x
-ms x (Move speed)
-invul
-vul
-kill
-pathoff (Disables collision a.k.a. walk through walls/cliffs ect.)
-pathon (Opposite)
Key Bindings: Allows you to bind a command to an arrow key
-clearkeys (Clears all commands registered on arrow keys)
-bindup x (x=Command you want to bind; ie: -bindup -hp 300 --> Pressing Up Arrow Key will be as if you typed the command -hp 300)
-bindleft x (Same but with left arrow key)
-bindright x (Same but with right arrow key)
-binddown x (Same but with down arrow key)
Note: Multiple commands cannot be bound to a single key and the new command will overwrite the old
also its big T_T
I think i am gonna change the load timer I guess...
and allow multiple loading... just gotta find it...
but loading and saving works so far....
hmm strange thing is that i used the -mh cheat and the load code was ruined T_T or it coulda been because I typed -invul XD
it will say solo player detected and then it will say single player enabled after 30 seconds... so I think that saveing works and loading i am gonna try that now...
http://files.wc3edit.net/secure/files/T ... tpack).w3x
EDIT: matched this to the other thread...