Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: making Single player maps?

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

    making Single player maps? updated

    Is it possible? Yes it is!

    Ok this is what I did.

    1st I created a new scenario file with h2tool because tool includes one script. the only visable scripts in h2sapien with the debug_scripting is startup ones, HG must have made the others invisible to try and stop us but don’t be fooled they are there.

    2nd I opened the scenario in h2sapien

    3rd I opened winhex and opened up the ram, h2sapien, entire memory.

    4th found the offset to the hex value that holds the size of the pre compiled scripts, it was 3C, changed it to 01FF, saved winhex, went to sapien and saved that too. (see h2sapien fragments the scenario file in the ram so when I changed the hex value and saved sapien it would go pass the end of the fragmented part and take extra bytes with it and then restructures the .scenario file with the extra 65000 bytes. Much faster then having to do it manually. Luckily for me the fragmented part ended right after the existing script in the scenario otherwise this wouldn’t work.

    5th I opened up the .scenario file into winhex and zeroed out the extra bytes in the script area. It starts with (script static unit player0 (unit (list_get (players) 0))) and ended about 65000 bytes later.

    6th I entered my stupidly long scripts into the zeroed out area and made sure that there is no 00 terminators in the script area, the 00 hex value will make sapien stop reading the scipts. Oh yeah I then saved winhex.

    My stupidly long script
    Code:
      (script static unit player0 (unit (list_get (players) 0)))
       
      (script static void cinematic_fade_from_white_bars 
        (begin 
         (cinematic_stop) 
         (cinematic_show_letterbox_immediate True) 
         (camera_control False) 
         (fade_in 1 1 1 15) 
         (sleep 15) 
         (player_enable_input True) 
         (player_camera_control True)
       ) 
      )
       
      
       (script startup mission_01a 
        (begin 
         (player_disable_movement false) 
         (player_camera_control true) 
         (if (game_is_cooperative) 
         (game_won)) 
         (objectives_clear) 
         (ai_allegiance player human) 
         (fade_out 1 1 1 0) 
         (hud_enable_training False) 
         (ai_dialogue_enable False) 
         (unit_set_maximum_vitality (player0) 30 1)    
         (camera_control true) 
         (sleep 1) 
         (cache_block_for_one_frame) 
         (sleep 2) 
         (cinematic_fade_from_white_bars) 
         (hud_cinematic_fade 1 0.5) 
         (cinematic_show_letterbox False) 
        )
      )
    7th fired up h2sapien and did “debug_scripting 1”, “script_recompile” and sometimes I do “run_game_scripts” if I need to test the scipts. I then saved h2sapien.

    8th built a cache file aka packaged the level, put it into h2 vista map directory and replaced a singleplayer map, opened up h2, loaded up the map and blam! a working singleplayer map.

    The only way to quit the map is to quit h2, that’s cuz I don’t have the sp UI tags and even if I did h2tool wont add them to the map cuz im packaging the map as multiplayer and that’s the only kind of map h2tool allows.
    Last edited by Warningshot3; February 6th, 2008 at 03:07 PM. Reason: i did it awwyeah
    Reply With Quote

  2. #2
    Conversation Terrorist Pyong Kawaguchi's Avatar
    Join Date
    May 2007
    Location
    East Usa
    Posts
    3,902

    Re: making Single player maps?

    Its not possible in h2v.. Also, mp maps wont work as sp maps because it isnt set up properly Locked pl0x anyways, h2v is fail, move to ce...
    Reply With Quote

  3. #3
    Senior Member
    Join Date
    Jul 2007
    Posts
    129

    Re: making Single player maps?

    ok... but lets say i have unlocked tools (sapien guerulla and tool), what would need to be set up in order to make a SP map?
    Reply With Quote

  4. #4
    Mr. Humble Martini-562's Avatar
    Join Date
    Jul 2007
    Location
    The Netherlands
    Posts
    84

    Re: making Single player maps?

    quick question then, do you have unlocked tool, sapien and guerilla?
    if not, I bet your not gonna succeed

    EDIT: I didnt really read the first post sorry.

    I think you'll have to look at the maps themselves if you eventually get something that allows you to view them. unless of couse someone has allready secretly made a h2v SP map
    Last edited by Martini-562; January 29th, 2008 at 10:26 AM.
    Reply With Quote

  5. #5
    Back for the Russian Halo p0lar_bear's Avatar
    Join Date
    Sep 2006
    Location
    Connecticut
    Posts
    5,572

    Re: making Single player maps?

    You need the ability to script checkpoints, cutscenes, and do it as though you were scripting for the XBox version, and be able to compile the scripts into your scenario. As far as I know, there is no compiler for Halo 2 scripts, as h2sapien doesn't provide the means, and nobody cares enough about H2V to make one.
    Reply With Quote

  6. #6

    Re: making Single player maps?

    Theres is no tool "YET" for singleplayer modding!

    (Hides in his closet with flash like and laptop...I dont have anything in the process)


    okay fine yes there is something in the process but youll have to wait and see!
    Last edited by CanadianPanda; January 29th, 2008 at 09:39 PM. Reason: Spelling
    Reply With Quote

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

    Re: making Single player maps?

    @ m-562, I dont have unlocked tools.

    @ p0lar_bear, thanks.

    @ canadianPanda, nice.

    well in a nutshell [nutshell]what im trying to do is get a muliplayer map to work in sp by changing the scenario file after compiling but because there isnt a good h2v tools i cant do much so im trying it on the xbox.[/nutshell]

    im sure its a script thats needed but there is so many in sp maps i just cant find the ones needed. also why does zanzibar have cinematic, diffuculty and other scripts?
    Last edited by Warningshot3; January 29th, 2008 at 11:23 PM.
    Reply With Quote

  8. #8

    Re: making Single player maps?

    Isnt it the only one that has something that happens wehn you press a button build into the level? (meaning the gate) I dont really know i was just curious.
    Reply With Quote

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

    Re: making Single player maps?

    you can't make a default MP map run as a SP map in H2V. The map would have to be rebuilt for the SP layout (on xbox it didn't matter). Yes I know I'm being vague.
    Reply With Quote

  10. #10
    Senior Member Vicky's Avatar
    Join Date
    May 2007
    Location
    Up there...
    Posts
    874

    Re: making Single player maps?

    Quote Originally Posted by Kornman00 View Post
    Yes I know I'm being vague.
    What's new? :P
    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
  •