Bumping Basic chapter with something concerning CTF mapping and AlternatePaths placement.
When map is a bit confusing in how to check which way is shortest predictable route between the two Flags, we might have some clue (probably not always with COMBOS LE-JS-LE) and we need to examine a Bot session in run-time. We have to add some AlternatePaths actors on routes which are not very used. Which ones are routes unused ?
It looks like we can find out some data right from Editor especially where Special Combos are not used but more normal paths.
Now days we do have a tester builder editor plugin called "PathsDebug" localized here:
https://ut99.org/viewtopic.php?f=5&t=15106
Capable to deliver a couple of results about game stage. We can even use it for other stuff from SP/Coop maps concerning monsters activity with regard to AlarmPoints, PatrolPoints - generic basic navigation.
This is interface of the builder - not used for making brushes, but used for doing a few tests concerning paths.
- PathsDebug.PNG (14.09 KiB) Viewed 4643 times
Operating:
- we have to define an actor (a navigationpoint) which is movement target/goal for a Pawn/Bot/Monster. Or we can select it and then pressing BUILD button. If goal was None it's taken and recorded (can be deleted for future tests);
- after capturing/writing target/goal we can select a PathNode or something like a navigation point from elsewhere and we click again BUILD button.
Response - if builder is reporting a positive result, a red line (or more red lines) will show up linking node by node from this second selected node pointing route to Target/Goal node. If some paths are missing, nothing is found/drawn.
Builder uses 3 scales for testing routes. It's about internal Paths dimensions accepting or not Monsters and Bots or... only Bots (narrow paths in narrow spots).
- SS_HumanBot does a test in Bot format;
- SS_ScoutDefault - does a test in generic format - monsters like Mercenaries/Kralls might use these if results are positive;
- SS_MaxSize - does a test for a maximum size of a Pawn which UE1 is accepting 70×70 - not a deal for Titans and "Big Ones";
- bFromTarget - means a reversal Test (from Goal to another selected Node)
Mainly in a CTF map we are interested about SS_HumanBot report.
How goes with the shortest Path between Flags ?
- We select a FlagBase (RED in this case) - Build Button - said base is now the navigation goal;
- We select the other FlagBase and/or some PlayerStart from BlueBase and hitting BUILD Button.
Let's see a few results using an animated GIF.
- NoAltPath.gif (1.77 MiB) Viewed 4643 times
We can see that from Blue FlagBase and 3 PlayerStarts to the Red FlagBase, Bot will use the same Mid route going predictable, never using right side from image. As result we can deploy some AlternatePaths right through the tunnel from the right side of image in order to have a bit of randomization.
After adding AlternatePaths, we can set them as goals and then... checking which way is going Bot if it wants to reach at these AlternatePaths from a Start or with Enemy Flag. If Map is not having any AlternatePath, Enemy Flag Carrier is running with Flag in the same direction as spotted by builder, in simple maps. When map uses AlternatePaths, in run-time Bot carrier has chances to get on an alternate route not always through the same way.
I'm not sure if you are understanding why it's more nice to have a random attack in CTF, but we have a helper tool which can be useful at this point, including to find out if our Skaarj Mercenary Krall will be capable to do some "mission" in our map by doing a basic test. Testing Monsters might be recommended in "SS_MaxSize" for making sure about movement capability calculated by Engine during run-time, in game.