Jump to content
kaject

[Solved] Creating Anti-tank (AT) trenches in Arma 3? How?

Recommended Posts

I'm looking into making realistic anti-tank trenches in Arma 3. How should I approach this, in case I want to implement terrain deformation and so on?

 

P.S. I've looked for solutions at the BIS scripting wikipedia, but no luck.

 

[SOLVED]

Use this mod: 

 

Share this post


Link to post
Share on other sites

Do you mean you'd like holes and craters were created instantly by script when you use some action or radio trigger? Or maybe for some cutscene you'd like to do, so that when a plane attacks the ground, those holes would be created for, let's say, try to stop some tanks on their way?

I won't suggest any terrain deformation related stuff, because I cannot deal with that. But at leas for cosmetic purposes, you could create a SQF file with things like:

 

_object1 = createVehicle ["B_T_Static_AT_F",[0,0,0], [], 0, "NONE"];
_object1 allowDamage TRUE;
createVehicleCrew _object1;
_object1 enableWeaponDisassembly FALSE;


_objecth1 = createVehicle ["Land_ShellCrater_02_extralarge_F",[7,-3,0], [], 0, "NONE"];
_objecth1 allowDamage FALSE;
_objecth2 = createVehicle ["CraterLong",[-3,2,0], [], 0, "NONE"];
_objecth2 allowDamage FALSE;
_objecth2 setDir 45;
_objecth3 = createVehicle ["CraterLong_02_small_F",[-4,-7,0], [], 0, "NONE"];
_objecth3 allowDamage FALSE;
_objecth3 setDir 45;
_objecth4 = createVehicle ["Land_ShellCrater_02_large_F",[4,3,0], [], 0, "NONE"];
_objecth4 allowDamage FALSE;
_objecth4 setDir 215;

P.s.: for testing purposes, you might had better to add your playable character at the very left-bottom "beginning" of the map, to spawn the props nearby.



Some examples of classes for craters:

"Land_ShellCrater_02_extralarge_F"
"CraterLong"
"CraterLong_02_small_F"
"Land_ShellCrater_02_large_F"

These are some physical anti-vehicle barriers
"Land_CzechHedgehog_01_old_F"
"Land_ConcreteHedgehog_01_F"
"Land_CzechHedgehog_01_new_F"


Some sentries/mounted weapons
"B_HMG_01_A_F"
"B_T_Static_AT_F"

This is what you add to a sentry if you want it spawning already manned
createVehicleCrew <name of the object here>;

This is to avoid players to disassemble the sentry
<name of the object here> enableWeaponDisassembly FALSE;

Edited by JCataclisma

Share this post


Link to post
Share on other sites

I still think when I saw a preview video of this game back a long time ago that real craters happened when a shell hit the ground. Then when it came out I was disappointed with that part.

Share this post


Link to post
Share on other sites
10 hours ago, major-stiffy said:

Check out THIS mod.

 

This is exactly what I'm looking for. Thanks a lot!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×