Page 1 of 1

Ai allegiance question

Posted: Sun Nov 04, 2007 12:05 pm
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

Posted: Sun Nov 04, 2007 12:09 pm
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

Posted: Sun Nov 04, 2007 12:33 pm
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?

Posted: Mon Nov 05, 2007 6:07 am
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.