Jump to content

cbox


Properly Injecting Scripts


iBotPeaches

Recommended Posts

Posted

Shadowz_O_Death

http://www.ibotmodz.net/forum/uploads/remoteimages1/2688-573.png

 

Properly Injecting Scripts

by Shadowz O Death

 

Introduction

This step-by-step tutorial demonstrates how to properly inject a scriptinto a Halo 2 map without the hassle of cloning chunks or overwritingpre-existing scripts.

 

Prerequisites

1. H2Core

 

Decompiling Map

1. Open H2Core.

2. In the menu bar, click "File" then "Open."

3. Double-click the map that you wish to inject scripts into. I'll be using Ascension.

4. In the menu bar, click "Map" then "Decompile."

5. When finished, close H2Core.

 

Injecting Script

1. Open H2Guerilla.

2. In the menu bar, click "File" then "Open."

3. Double-click "H2," "scenarios," "multi," "ascension," then "ascension.scenario."

4. Click "Editors" then "Script Tools."

5. Click "Add New."

6. Type a script into the text box. I'll be using the following no gravity script.

 

[TABLE][TR] [TD]

Code:[/TD] [/TR] [TR] [TD](begin

(script startup no_gravity

(physics_set_gravity 0)

)

)[/TD] [/TR][/TABLE]

 

7. Click "Done."

8. Close H2Guerilla.

 

Rebuilding Map

1. Open H2Core.

2. In the menu bar, click "File" then "Open."

3. Double-click the map you wish to inject scripts into.

4. In the menu bar, click "Map" then "Rebuild."

5. Click "..."

6. Double-click "H2," "scenarios," "multi," "ascension," then "ascension.scenario."

7. Check "Keep Existing Spawns."

8. Click "Rebuild."

9. When finished, close H2Core.

 

Conclusion

Congratulations! You've successfully injected a script. Enjoy!

 

Regards,

Shadowz O Death

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...