Author: SemlerPDX
Author Website:

Requirements: No addons required

Version: 1.1

Short description: Copies the x/y/z coords of straight walls for creation of a perfect straight wall.

Date: 2012-10-16 22:37

Comments: (0)


VG Straight Walls Generator

=VG= SemlerPDX

This works with both Arma 2 and Arma 2: Operation Arrowhead!

I hate trying to make sandbag walls or hescos line up in the darn Arma 2 mission editor. I googled for a wall generator, but only found one example, for Arma 1, and it didn't work.

So, I wrote this. Not much less tedious than placing walls in the editor, clicking preview, then going back and adjusting, then preview again. Over and over.

At least this way, you end up with an exactly straight wall ready to use in any mission you create forever. Can be copied between different missions without issue.
Again, it's slightly complicated procedure, but it is well worth it. At least I think so - hope others do, too.

COPY "VGStraightWalls.sqf" to your misson folder and paste these two actions to your player in the editor:
this addAction ["BIS_DEBUG_CAM (right click to exit)","camera.sqs"];
this addAction ["VG Straight Wall", "VGStraightWalls.sqf",(["Land_HBarrier_large",4,-0.1,0])];

You do not need the script "camera.sqs" to use it. Every mission has it, it's invisible!!

Variables Meanings in the addAction syntax:
this addAction [action, script filename, (["wallType", numberOfWalls, distanceBetweenCorrection, straightAlignmentCorrection])];
Example Class Names of Barriers: "Land_fort_bagfence_long" "Base_WarfareBBarrier10xTall" "Land_HBarrier_large"

For detailed instructions please refer to the readme!

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: No tags