A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Scripting

Author Topic: Scripting (3 messages, Page 1 of 1)
Moderators: Dennis

Spartan II
Joined: Nov 25, 2014


Posted: Dec 13, 2014 02:18 PM    Msg. 1 of 3       
I know how to script, but I don't know how to save and compile scripts. Any help would be appreciated :)


FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Dec 13, 2014 11:15 PM    Msg. 2 of 3       
Wherever your level is saved in the tags folder is where you save your script. For example:
Let's say I was modifying bloodgulch (oh gods).

The .scenario path would be 'levels\test\bloodgulch\bloodgulch.scenario'.

If I wanted a script in my level, I would save a .hsc file to a new folder called 'scripts'. Then, I would put this scripts folder into 'data\levels\test\bloodgulch'.

The full path where my .hsc file would be is 'data\levels\test\bloodgulch\scripts\filename.hsc'.

After that, it's pretty simple; go in Sapien, go to File > Compile scripts. If it gives you errors in the Sapien view window, fix them and compile again. If there's no errors you're done! The map, once compiled, will have the script inbuilt.

If you want to edit the .hsc, just open it up with Notepad. (I'd recommend Notepad++)
Edited by FtDSpartn on Dec 13, 2014 at 11:17 PM


Spartan II
Joined: Nov 25, 2014


Posted: Dec 14, 2014 01:13 PM    Msg. 3 of 3       
Thanks guys, I was able to script a single player level that I have been working on for weeks really helpful.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:48 AM 188 ms.
A Halo Maps Website