thanks Kornman00. so hex editing is a waste of time?
Did you try to get in in game and not just in sapien?
My map: |Air Station Omega|
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?
Last edited by Warningshot3; February 5th, 2008 at 08:47 AM.
Cool, I only need to learn scripting then
My map: |Air Station Omega|
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks