Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Making your very own AI spawns in H2V is considered the coming of the dark ages. Few mortals will gaze upon its form without being changed into unspeakable beasts. Shrieks of terror and despair fill the houses of men who venture down
- this unholy path. So to prove my fucking point I'm going to show your dumbass how to place some goddamn AI spawn points in Guerilla since that's the best we got.
- Lets start by opening your scenario file in H2Guerilla. Make sure to only open the scenario tag in this intance of Guerila due to memory limitations. Lets first go to the weapon palette tag block
- https://i.imgur.com/WmPLaFH.png
- You will want to add whatever weapons you want to be able to assign to your AI here.
- Next lets get some new style into your maps and head on over to the style palette tag block
- https://i.imgur.com/J3h8Xwr.png
- There is a couple of main styles that should go here. There are the following
- ai\all.style
- ai\assaulting.style
- ai\bunkering.style
- ai\guarding.style
- ai\harrassing.style
- ai\hunting.style
- ai\null.style
- ai\relaxing.style
- ai\retreating.style
- Any style can go into this tag block though to be assigned to your squad depending on the need.
- Now you will want some character tags to actually be able to spawn your AI so go down to the character palette and add a few
- https://i.imgur.com/FeKHo8h.png
- Add as many as you want!
- Now your AI won't do much if you aren't telling them what to do so go down to orders and boss those fools around.
- https://i.imgur.com/hFZpQPa.png
- This is where the styles you added come into play. The order they are given will also apply the style the order has attached. The AI can act in different ways from this such as side stepping constantly with harrasing or charging the
- player with hunting. Primary area set is also something you can do to make the AI do something in a specific area. Areas are defined by the surface area a group of firing points cover. You can have different settings for these areas
- default - unknwon
- search - unknown
- goal - AI will walk towards the area until they have entered it.
- Lets add a zone, some firing points, and an area.
- https://i.imgur.com/bSxSmA2.png
- Go down to the zone tag block and add one. Name it whatever you want and check the manual BSP flag and select your BSP in the drop down. Now add some firing points to random areas. Use a box or something in Sapien and copy the
- position of that over to Guerilla. Set reference frame to -1 because as far as I can tell this is only if you are referncing something other than the BSP. Check the same flags I have in the image unless you know what you're doing.
- These are pretty much the most common flags I've seen used in firing points so lets go with these. Pick an area index from the drop down to assign the firing point to an area. We will get back to this though since you probably haven't
- created an area yet. Now add an area. Name it whatever you want and don't select any flags unless you know what you are doing. Set manual frame reference to -1. Once you created the area make sure you assign it in those firing points.
- Now lets get down to what you came here for. Head on up towards the squad groups tag block and add one
- https://i.imgur.com/mmVHBjo.png
- Choose whatever name you want and set parent to none unless you actually need it. Set the initial order to the one you just made.
- Now go down to squads and add a block.
- https://i.imgur.com/Zf6Mbsj.png
- Type whatever name you want and don't select any flags unless you know what you're doing. You can set their team to default which will use the default team the AI has assigned in their biped or override that by selecting what team
- you want this squad to be on. Set the parent to the squad groups you just made. No idea what squad delay time is so don't ask. Leave it at zero. Normal and insane diff count is the amount of AI this squad will spawn. Set this to the
- number of starting locations you have. Major upgrade is how often the AI will be upgraded to their major rank on spawn. Set this to whatever you want. Actor defaults is basically the default properties of an AI you spawn. Say
- you make a starting location but have nothing in it. It will then look to sqauds for the default properties it should have. This is where a lot of the other things you did before this comes into play. Set some default values if you
- want.
- Now lets add some spawns for our AI. Add a block in starting locations.
- https://i.imgur.com/v8kAZb7.png
- Name the starting location whatever you want. Get the position by placing a scenery object in Sapien and copying it over. Reference frame should be set to -1 Get the rotation from the same scenery object. I made an elite into a scenery
- object to see what direction it would be facing with what rotation for my maps.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement