
Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Aug 6, 2010 06:12 AM
Msg. 1 of 5
1. um how do you compile a script? I've got a script written out and its now in hsc fromat in the correct folder and blah blah blah but how do i get it into my sp map?
2. When i loaded my sp map the elites at the start were all allies. hmm, why? Do i need to use a script command like (ai something something non alleigance player blah di blah balh bracket bracket underscore). But the script wasn't in the map yet
|
|
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: Aug 6, 2010 11:21 AM
Msg. 2 of 5
Lawl.
To compile scripts, place the script in data\levels\mapname\scripts Then open your scenario in sapien and goto file-->compile scripts and save.
The ai encounter type or spawns (I forget which) need to have the dropdown that says "0/player" to say "3/covenant" (i think it was 3, doesn't matter).
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Aug 6, 2010 09:33 PM
Msg. 3 of 5
1. alright but do i have to create the folder "scripts" or just click into the scenario folder and save it in there or something? BTW its a icefields sp Edit: sorry i read ur post again and u sed data folder i was poking round in the tags
2. In a solo map the player is set to team 0 by default yes? I had the ai on team 1 but team 1 is called "player". So u must be on team 1. I'll just set the covvies to 3 and the floods to 4 and marines to 1 Edited by Muscl3r on Aug 6, 2010 at 09:55 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2010 10:19 PM
Msg. 4 of 5
The player is set to team 1. Marines should be set to team 2, with an AI allegiance script to make them on your team. This is so that if you betray them, they'll attack you, which is what Bungie did with the campaign.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Aug 7, 2010 03:06 AM
Msg. 5 of 5
okay thanks
alright i did the script and put it in the data\levels\test\icefields folder but there is no scripts folder. I hit compile scripts and nothing happened. I compiled the map and the script isn't being applied.
is this because i'm sp ing a mp map? Do i have to make the scripts folder? Is that the right place even? Could someone PLEASE help me with this then i'll (hopefully) be able to shutup Edited by Muscl3r on Aug 8, 2010 at 03:26 AM
|
|
|