Ai allegiance question

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
Post Reply
L0d3x




Articulatist 250

Posts: 454
Joined: Sat Aug 18, 2007 3:32 am

Ai allegiance question

Post by L0d3x »

Howdy! (note the correct spelling this time)

I tried using the (ai_allegiance "human" "player") command in one of my scripts. This is for a multiplayer map though. And the marines who use this command still seem to stay hostile... :(

And I know the script actually runs because other effects I have in there do work. So I was wondering: do I need to make my map a single player map for this command to work? And if so, how would I start up my map as a single player map (because I only can select multiplayer when playing halo ce)?

Many thanks in advance!

Peace and love
L0d3x
User avatar
bricksarefun
Readers Club





Posts: 411
Joined: Mon Feb 26, 2007 7:19 pm
Location: Behind 7 proxies

Post by bricksarefun »

Code: Select all

(script startup dont_hate_the_player
(ai_allegiance player human)
)
I'm pretty sure you have to make it a SP map, plus since the map has AI it wont' sync in MP anyway, so might as well make it SP eh?
To make a map's Scenario SP make sure the sky is set to solo, you only have one spawn point and the netgame equipment and other MP specific collections are removed. To load the map you have to have devmode enabled and when in CE's menu press ` then type

Code: Select all

map_name "mapname"
replacing "mapname" with the map's name :D
ImageImage
iGeo wrote:And why the hell do you yanks have your flag like EVERYWHERE... do you forget what country you're in or something?
L0d3x




Articulatist 250

Posts: 454
Joined: Sat Aug 18, 2007 3:32 am

Post by L0d3x »

Alright thanks!
Erm I have another question now, and I don't want to make another topic especially for that. See the thing is I would like to add say a banshee to my map. Now what I tried was to import the banshee pilot actor variant, but when I try to place it on the map (as in I place its starting position), and after I pressed new encounter, sapien just shuts down...

Any idea on how to get around this?
User avatar
MasterNeoChief




Conceptionist

Posts: 2431
Joined: Tue Dec 23, 2003 9:34 am
Location: The Netherlands

Post by MasterNeoChief »

There's no real banshee pilot actv. Use a normal elite and make it enter the banshee with a script or command list. Be sure to give its encounter 3d firing positions.
Post Reply