Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: making Single player maps?

  1. #11
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    thanks Kornman00. so hex editing is a waste of time?
    Reply With Quote

  2. #12
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: making Single player maps?

    yeah
    Reply With Quote

  3. #13

    Re: making Single player maps?

    what does " [nutshell] " code do???
    Reply With Quote

  4. #14
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    absolutely nothing.
    Reply With Quote

  5. #15
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    sry for the double post but i just have to say that i finally got a script compiled in h2sapien and works in game.


    Reply With Quote

  6. #16
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Re: making Single player maps?

    Did you try to get in in game and not just in sapien?
    Reply With Quote

  7. #17
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    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 09:47 AM.
    Reply With Quote

  8. #18
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Re: making Single player maps?

    Cool, I only need to learn scripting then
    Reply With Quote

  9. #19
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    should be easy, just look at halo 2 xbox scripts. i use scripttools, idk where i got it though
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •