Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Making trenches work in the editor

  1. #11
    or if you want a static defence.


  2. #12
    I created a trench template if anyones interested - each trench of the game filled in with units & appropriate weapons (squad trench, MG trenches, etc..)

  3. #13
    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.

  4. #14
    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

  5. #15
    Quote Originally Posted by majoris View Post
    I created a trench template if anyones interested - each trench of the game filled in with units & appropriate weapons (squad trench, MG trenches, etc..)
    I'd really appreciate if you could send it to me or post it here as an attachment.

  6. #16

    AI aircraft

    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???

  7. #17
    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.

  8. #18
    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.

  9. #19

  10. #20
    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...

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. 3d editor to 2d editor and how to make it work in MP
    By _sherlock_ in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Apr 25 2012, 06:11
  2. Making SetObjectTexture Work?
    By Kirby in forum ADDONS & MODS: DISCUSSION
    Replies: 4
    Last Post: Mar 1 2007, 18:08
  3. Making Respawn in MP work.
    By Stigern in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 19
    Last Post: Jan 11 2007, 12:28
  4. Does camsettarget work for making...
    By Aculaud in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 1
    Last Post: Aug 19 2002, 22:36
  5. Making smoke nade work?
    By acidic35 in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 0
    Last Post: May 10 2002, 08:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •