ok im working on a map where you need to defend a city and right now i keep using the MOVE action to make the enemy walk into the city and then have a TUNI action activate the order to attack. but a problem i have is that when i test it , everytime my units get close to them the enemy wont fight back until they reach their destination.
so i went and looked at some of the bungie maps (stair of grief, gonens bridge etc.) to study how they did it and i found one movement (Platoons) which allows me to make it so that theres a certain radius in which if i get to close they will attack
but every time i test it, it never works in fact they wont even budge.
can anyone help me understand the Platoon actions including the PLAT, PLATMOV or PLATSCO
thx
Platoon Movements
- DarthRevan555
- Posts: 337
- Joined: Sun Jul 22, 2007 1:15 pm
- Location: Seattle, WA
- Contact:
You have to have three actions for any platoon to work--a Squad, a Platoon, and *either* a Platoon Movement or a Platoon Scouting. You can have multiple squads in a platoon.
Setting up the squad is easy--it gives you all the required fields to fill in, and then the only other thing you have to add is "monsters" or a Link with the monsters in it. The only trick is that you have to leave the "Facing" field blank (or meticulously try to set it to 0 by pointing the arrow in exactly the right direction). I don't know why it's even there.
The Platoon action also gives you the flags you need. Initial Squads should link to the Squad action (or multiple Squads) that will be in the Platoon. Initial State should link to the Platoon Movement that tells them how to move. Centerpoint and Facing are obvious--and this time, you actually need to give them a facing.
Platoon Movement asks you for Waypoints (self-explanatory), Radii (a range of distances for the Platoon to check for enemies--if your Light force has archers, I recommend that you enter 20 and 20), and Waypoint Radii (should be 0, unless you want your platoon to randomly deviate from the path you're trying to assign them). Those are the only essential flags. Interpolate is useful--it means a platoon of mixed units will pause every so often for slower units to catch up. If you use Interpolate, you also need to add Interpolant Spacing, which is the distance the plat will travel each time before it pauses.
If you've got everything linked up right, you should be fine.
Oh, by the way...Platoon Movement and Platoon Scouting look exactly the same. The difference is that a Platoon using PLMO will visit its waypoints in numerical order, and a Platoon using PLSC will visit them in a random order.
Setting up the squad is easy--it gives you all the required fields to fill in, and then the only other thing you have to add is "monsters" or a Link with the monsters in it. The only trick is that you have to leave the "Facing" field blank (or meticulously try to set it to 0 by pointing the arrow in exactly the right direction). I don't know why it's even there.
The Platoon action also gives you the flags you need. Initial Squads should link to the Squad action (or multiple Squads) that will be in the Platoon. Initial State should link to the Platoon Movement that tells them how to move. Centerpoint and Facing are obvious--and this time, you actually need to give them a facing.
Platoon Movement asks you for Waypoints (self-explanatory), Radii (a range of distances for the Platoon to check for enemies--if your Light force has archers, I recommend that you enter 20 and 20), and Waypoint Radii (should be 0, unless you want your platoon to randomly deviate from the path you're trying to assign them). Those are the only essential flags. Interpolate is useful--it means a platoon of mixed units will pause every so often for slower units to catch up. If you use Interpolate, you also need to add Interpolant Spacing, which is the distance the plat will travel each time before it pauses.
If you've got everything linked up right, you should be fine.
Oh, by the way...Platoon Movement and Platoon Scouting look exactly the same. The difference is that a Platoon using PLMO will visit its waypoints in numerical order, and a Platoon using PLSC will visit them in a random order.
- DarthRevan555
- Posts: 337
- Joined: Sun Jul 22, 2007 1:15 pm
- Location: Seattle, WA
- Contact:
I think the easiest way to figure so is open loathing, open any bungie map, and most of them have platoon actions
you just need to read all the elements they have in those 4 actions
monsters(link subj=#1, #2 etc monsters selected)
squad(link to monsters)
platoon (link to squad and platoon movement)
platoon movement
and copy them in your map, I assure you it will work and after a while of doing so you'll start understanding how it works
you just need to read all the elements they have in those 4 actions
monsters(link subj=#1, #2 etc monsters selected)
squad(link to monsters)
platoon (link to squad and platoon movement)
platoon movement
and copy them in your map, I assure you it will work and after a while of doing so you'll start understanding how it works
Are you positive that your TUNI is being activated, and that it's actually triggering properly? If the TUNI is broken, and the PLAT/PLMO/SQUAs are set up right... they still wont work, cause the TUNI never triggers them.DarthRevan555 wrote: like whenever the TUNI activates it , it wont turn on and thus the units stand still and dont move
Try building a basic Platoon as described by ARed, and Make the PLAT action initially active. If the Platoon is initially active, and it still doesnt work, you're doing something wrong with the Platoon setup. If it works, then there's something wrong with your TUNI that's supposed to trigger them.