thanks Kornman00. so hex editing is a waste of time?
Printable View
thanks Kornman00. so hex editing is a waste of time?
yeah
what does " [nutshell] " code do???
absolutely nothing.
sry for the double post but i just have to say that i finally got a script compiled in h2sapien and works in game.
http://img100.imageshack.us/img100/5...tsrightpj9.jpg
Did you try to get in in game and not just in sapien?
yeah the script works in game.
When h2tool creates a scenario file it put the script (script static unit player0 (unit (list_get (players) 0))) into the file, I then hex edited the scenario file, found the script and edited it to (script startup gravity_hack (physics_set_gravity 0.1)) then went into sapien entered debug_scripting 1 and there it is. I built a cache file and it worked in game. The scripts are stored in text format and every time sapien starts up it recompiles the scripts in the scenario file. just one thing though, the lengh of the script needs to stay the same (58 characters long)
and yes i know that (script static unit player0 (unit (list_get (players) 0))) doesnt show up in the debug scripting menu thing and i dont know why, it might be a global script?
Cool, I only need to learn scripting then :)
should be easy, just look at halo 2 xbox scripts. i use scripttools, idk where i got it though