or if you want a static defence.
or if you want a static defence.
I created a trench template if anyones interested - each trench of the game filled in with units & appropriate weapons (squad trench, MG trenches, etc..)
Majoris: yes, I am interested in all templates to use in the editor, Thanks
Oksman: I wish there was docs explaining how to do it all like your video.
If you make a mission with trenches in the editor, the best way for the soldiers inside the trenches to act properly, is to write in the initialization of the commander of the trench group this:
{_x setUnitPos "UP"; doStop _x; _x allowFleeing 0; _x forceSpeed 0; _x setPosATL [getPosATL _x select 0, getPosATL _x select 1, 0.23];} foreach units this;
The getPosATL_x select 1, 0.23 is the altitude of the units, for various trenches are suitable a different altitude, you can test in the editor with various trenches.
For example, to set an anti-tank gun in the anti-tank trench, it needs this setPosATL [getPosATL this select 0, getPosATL this select 1, 0.75]; in the initialization of the unit, where the 0.75 is the altitude.
"Iron Front: Liberation 1944"
AWAR art director
I have all the ground troops & vehicles working fairly well.
Now I want to get some aircraft flying so I can be attacked
and bombed from the air. Got the flak guns ready to fight them.
Anybody know how that can be done with the editor???
Just place the aircraft and chose "flying" instead of "in formation" etc. in the unit options. This way they are in the air and don't need to start first. Then set normal waypoints to your position, etc.
Hey everybody, I created a quick trench template for those who need it. Right now I only have the German trenches/foxholes filled in, but I'll post a full version with both armies soon.
Very basic, but it should give you a good idea how the trenches work, and might save you some time.
PS. I forgot to change the tanks fuel to 0 so it doesn't move - oops!
German Trench Template
http://www.filedropper.com/germantrenchtemplatepanovo
Last edited by majoris; Jun 5 2012 at 21:31.
Thanks Majoris!
majoris, your template contains a "mission.sqm" file only.
Where do you put this file? I see no .sqm files anywhere
in the game files...