Men of War: Assault Squad 2

Men of War: Assault Squad 2

Gem editor: A few issues
Hello, i've been trying to create a custom mission using the gem editor and robz realism mod but i've encountered a few issues that severely hindered my work:

1 - Vehicles won't always spawn on waypoints. I made a bunch of hidden vehicles with tags (ex: 4 tanks with tag med_tank, 4 light_veh so the engine randomly picks between different vehicles) and when the loop calls them sometimes they decide not to spawn. Maybe because their spawn point is obstructed? I'm using the safe teleport and rotate option.
2 - Is there a way to make enemies ignore units that are in a certain zone? This can be really useful when i spawn reinforcements behind the fog line and make them advance into the actual borders. Normally they just engage behind the fogline and that sucks :/

Thanks for your patience :D
< >
Showing 1-3 of 3 comments
DJSatane Jun 9, 2017 @ 4:34pm 
Safe teleport means game will try to spawn vehicle as to its not clipped or stuck into something, as long as you doing everything right it should spawn it. Ensure if you are calling it to spawn by tag that by accident u not trying to clone vehicle of same tag already spawned and active, either remove tags when vehicle is active or use include "inactive" or "hidden" tag via the waypoint clone command.

U can use actor state forget enemy option for your 2nd question but you may have to experiment with this. Another solution would be to have units spawning with neutral mask or player thats neutral to enemy but allied to you, and then once they are out of zone they swap to regular player team.
CaptainMacTavish Jun 10, 2017 @ 3:12pm 
Thank you, units were spawning with tags and stuff and i fixed it by making a zone script that removes them.
I also made separate points for infantry and vehicles and the spawn zone is always clear now.
That didn't fix the problem tho, sometimes (although less frequently) they still refuse to spawn :(

Another strange thing i noticed is a waypoint issue where soldiers disappear out of the battlefield without a valid reason.

edit: no retreat fixed this

I uploaded the mission & map on the workshop

http://steamcommunity.com/sharedfiles/filedetails/?id=944120744
Last edited by CaptainMacTavish; Jun 10, 2017 @ 3:23pm
CaptainMacTavish Jun 11, 2017 @ 11:42am 
Fixed it by using a switch with rands. Setting a group of vehicles with the same tag and spawning them randomly using the waypoint amount 1 setting seems to cause this glitch. Maybe it's simply not intended to be used in that way :(
Last edited by CaptainMacTavish; Jun 11, 2017 @ 11:43am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jun 9, 2017 @ 10:03am
Posts: 3