I'am making a mission and i want to involve an Artillery strike but i dont know how to do it can anyone tell me.
Thanks Downesy22
I'am making a mission and i want to involve an Artillery strike but i dont know how to do it can anyone tell me.
Thanks Downesy22
AV IT !!!
Try coc arty, the readme includes how to config an artillery strike.
MB: Gigabyte GA-MA770-UD3 - CPU: AMD Phenom II X4 945 - RAM: Corsair XMS 8GB DDR2 RAM-800 MHZ - Video: EVGA GTX 660 TI SC 3GB - Sound: Asus Xonar DX PCI Express 7.1 Audio Card - OS: Win7 Home Premium 64 BIT
Buy the Games you play.
This should be the minimum support and respect to the Developers work.
That's a bit ambitious. CoC Arty isn't for beginners.
You could place a group of game logics in the area and then randomly drop shells there.
thanks but that game logic dont even exist, well not to my knowledge.
Place a player on the map, then make a marker, if you dont want to see it in the game choose type:empty. Place one for example with the name "m1", then use this script (copy into notepad and save as "bigbaraboom.sqs"):
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
; Bombarding
; Run from mission:
; [who, A, B, C, "Name"] exec "BigBaraBoom.sqs"
; who - who runs the script (can be anybody)
; A - how many bombs
; B - diameter of "Area bombed"
; C - timout between two bombs
; D - name of the marker, which is in the middle of the "Area bombed"
_pos = getmarkerpos (_this select 4);
_bomb = "Bomb" createVehicle _pos;
_i = 0;
_j = _this select 1;
_k = _this select 2;
_t = _this select 3;
#LOOP
_u = random _k;
_bomb setpos [(_pos select 0) - _k/2 + random _k, (_pos select 1) - _k/2 + random _k]
_bomb setdammage 1;
~(random _t)
_bomb setdammage 0;
~(random _t)
_i = _i+1;
? prijeli : exit
? _i < _j : goto "LOOP"
deleteVehicle _bomb;[/QUOTE]
In the mission put on the players activation field or in a trigger with a timer etc:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
[player, 10, 100, 10, "m1"] exec "BigBaraBoom.sqs"
[/QUOTE]
That should start artillary coming down. 10 rounds, in a 100m area with 10 seconds between each impact at maker with the name "m1".
Enjoy.
There are much better ones, thats just a quicky. ***
@The-Architect: CoC Team added very usefull tutorial to its script so I think Downesy should try.
My favorite arty script is Snypir Support Pack, but this is really too complicated for start
CoC Unified Artillery Script: http://www.thechainofcommand.net/UA/CoC_Arty_100.zip
And btw this should of been posted in Mission Editing and Scripting mate
Personally, I hate having friendly artillerry, unless youcome under heavy fire and have no chances... But I do love having artillery dropped all around me.. I made a script to drop shells near the player but make it impossible to actually be hit by the shells (that would be quite annoying). IMO, explosions going off everywhere around you is very atmospheric, especially when coupled with the ECP speech scripts.
//////////////////////////////////////////////////
; Artillery on player script by XCess
; drops 16 shells around the position of the player
; best used when facing north
_count = 0
_pos = [0,0,0]
x = 0
#loop
x = random (80)-40
y = 30 + random 40
"shell125" camcreate [(getPos player select 0)+x,(getPos player select 1)+y, 10]
~2
_count = _count + 1
?_count == 1 : (leader player) groupChat "Incoming!!"
?_count < 16 : goto"loop"
exit
//////////////////////////////////////////////////
I'm against using CoC's Arty simply because of the file size. I can't see why you'd want to download and make others download it just for ary support. The much simpler and less mb intensive way would be to script it. I could only see CoC Arty being used in a huge campaign.
I don't think I've ever used CoC Arty exceptfor when it came out. Probably because I could never be bothered to read all the documentation but that's not the point![]()
There really isn't any point in having artillerry with true flight trajectories, unless you want to waste memory on more complex scripts and having units on the map ou will never actually see.