11-20-2010, 03:04 PM
Hola,
i´m messing around with hte editor once again ;-).
This time i had the idea, that my squad needs some artillery barrage for securing the insertion point. I want to have it like that the barrage is shooting at a certain distance (like 300m) ahead of my insertion point to keep the enemy from approaching my chopper, so the guys have a minute for the insertion and securing the perimeter.
So i was busy last week with searching around in several forums for the Artillery module in Arma (OA) and was able to get it running for my player to call in the support by Mapklick. BUT: I couldn´t make it working for shelling the place automatically (without any Klicking by player).
I think the most promising piece i found is this:
http://hx3.de/editing-scripting-167/arti...iel-16770/
from Armed-Assault.de.
It showes a interesting script:
_heTemplate = [âIMMEDIATEâ, âHEâ, 0, 15];
_targetpos = getposASL player;
[AriLogicName, _targetpos, _heTemplate] call BIS_ARTY_F_ExecuteTemplateMission;
which is told to work as follows:
1. place a few mortar units
2. group them
3. make a artillery module logic and synchronize with the group
4. make a triger and on actviation set: this exec "bm21fire.sqs"
Sounds plain and simple, but it is not working for me. In game i get no error message, but no shells are showing up. ( i tried it with getpos Player for test - nothing happened, i tried with getpos objectnamex (eg. b1, which is the name of a objekct at the place i want the shells to fall later on) but with no shells either).
Any good ideas whats wrong or how i can get my idea into action?
Greets
Tony
i´m messing around with hte editor once again ;-).
This time i had the idea, that my squad needs some artillery barrage for securing the insertion point. I want to have it like that the barrage is shooting at a certain distance (like 300m) ahead of my insertion point to keep the enemy from approaching my chopper, so the guys have a minute for the insertion and securing the perimeter.
So i was busy last week with searching around in several forums for the Artillery module in Arma (OA) and was able to get it running for my player to call in the support by Mapklick. BUT: I couldn´t make it working for shelling the place automatically (without any Klicking by player).
I think the most promising piece i found is this:
http://hx3.de/editing-scripting-167/arti...iel-16770/
from Armed-Assault.de.
It showes a interesting script:
_heTemplate = [âIMMEDIATEâ, âHEâ, 0, 15];
_targetpos = getposASL player;
[AriLogicName, _targetpos, _heTemplate] call BIS_ARTY_F_ExecuteTemplateMission;
which is told to work as follows:
1. place a few mortar units
2. group them
3. make a artillery module logic and synchronize with the group
4. make a triger and on actviation set: this exec "bm21fire.sqs"
Sounds plain and simple, but it is not working for me. In game i get no error message, but no shells are showing up. ( i tried it with getpos Player for test - nothing happened, i tried with getpos objectnamex (eg. b1, which is the name of a objekct at the place i want the shells to fall later on) but with no shells either).
Any good ideas whats wrong or how i can get my idea into action?
Greets
Tony
How come we play war and not peace? Too few role models...