Somerville 0 Posted June 2, 2007 Hello, I've changed something in Mr-Murray's artillery script (I tried to contact him, but no reply). Basically, I want it to fire GBU's instead of 155mm shells. I've got this in the setfire.sqs script: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;Script & Idea by Mr-Murray 2006 ;mr-murray@bossmail.de ;www.mapfact.net setfire=true hint format ["Use the map to mark your target"] onMapSingleClick "ATarget setpos _pos;setfire=false" @!setfire [] exec "westari\ari.sqs" "Firepoint" setmarkerpos getpos ATarget fire=true westadd=false publicvariable "fire" publicvariable "ATarget" onMapSingleClick "" titletext ["","plain down"] exit Then, in feuer.sqs, this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;Script by Mr-Murray and JörgF 2006 ;mr-murray@bossmail.de ;www.mapfact.net ;www.mr-murray.de.vu ~0.5 _K = _this select 0 _Z = _this select 1 _X = Getpos _Z select 0 _Y = Getpos _Z select 1 _K DoWatch [_X,_Y,5000] _A =_K Ammo "M119" ~0 _K fire "M119" #Next @ _A > _K Ammo "M119" _K exec "westari\artismoke.sqs" ~0.5 _N = nearestObject [_K,"HeatM119"] _X = _X+((Random 80)-40) _Y = _Y+((Random 80)-40) _H = "HeliHEmpty" CreateVehicle [_X,_Y] ~0.5 ~1 _N setpos [_X,_Y,0] _Bomb="Bo_GBU12_LGB" CreateVehicle [_X,_Y,0] _h exec "westari\artismoke.sqs" ~0.5 deleteVehicle _H exit Basically, it says that I've selected artillery, and then it just does nothing in MP. In singleplayer, it works perfectly. Help! Share this post Link to post Share on other sites
mattxr 9 Posted June 2, 2007 You sure firing a GBU is wise [big Lagg, Big Destrustion..] there will be nothing left. lol. Share this post Link to post Share on other sites
fasad 1 Posted June 3, 2007 In 1.07, artillery's destructive power increases massively. Eg, The D30's shell (SH_122_HE) goes from: hit = 60; indirectHit = 25; indirectHitRange = 7; to: hit = 340; indirectHit = 45; indirectHitRange = 30; Share this post Link to post Share on other sites
Somerville 0 Posted June 3, 2007 So should I just keep it as M119 shells then? What's the default name for that? Share this post Link to post Share on other sites
fasad 1 Posted June 3, 2007 That's up to you. It depends on how much destruction you want. I built a artillery command system in 1.05, but now I've found that in 1.07 the artillery is just too powerful. I'll wait for 1.08 then redesign. m109 - "Sh_105_HE" Share this post Link to post Share on other sites
snkman 351 Posted June 3, 2007 Oh thats why i never survive an artillery attack since 1.07 Share this post Link to post Share on other sites
Mr-Murray 0 Posted June 3, 2007 Hi Somerville Hmmm thats curious. I have no message received from you. The GBU´s are very heavy and I´m sure that they are not so good for MP. Whatever... Here you´ll find various examples for the ari. If I´m ready with my "Armed Assault Editing Guide -Final Edition" I´ll optimize my Scripts or convert it to functions. Regards, Mr-Murray Share this post Link to post Share on other sites
Somerville 0 Posted June 3, 2007 Hi guys, Thank you very much for your help. I can remember PMing you, or emailing you.. something like that. Sorry, maybe it didn't send properly. Is it still okay if I use it? If it's not, i'll get rid of it from my mission =] Share this post Link to post Share on other sites
Mr-Murray 0 Posted June 3, 2007 Quote[/b] ]Is it still okay if I use it? For sure!!! My work is for the community and every time u can feel free to use and modify! I´m very thankful that you´re interessted in my work Regards, Mr-Murray Share this post Link to post Share on other sites