Jump to content
Sign in to follow this  
Trenchfeet

Allies in arms ww2 fighters released

Recommended Posts

THnx TF

I only want to have FUN with your great addons ...

And now I`m going to have even more with some minor changes smile_o.gif

*thumbs up

Share this post


Link to post
Share on other sites

i just had a quick look at the scripts this should help you out but they are from the p51 but look almost the same as the 109

----------------------------------------------

open checkgear.sqs, you will find this

#loop1

~0.01

;animated wheels

_curheight = (getpos _plane select 2)

? ((_plane animationPhase "RightGear" ) == 0) && ((speed _plane) > 0) && (_curheight == _startheight) && (_plane animationPhase "P51wheell" ) == 0 : [_plane] exec "\AIA_P51EM\wheels.sqs"

? ((_plane animationPhase "RightGear" ) == 0) && ((speed _plane) > 0) && (_curheight < .4) && (_plane animationPhase "P51wheell" ) == 0 : [_plane] exec "\AIA_P51EM\wheels.sqs"

? fuel _plane <= 0.5: goto "droptanks"

?(not alive _plane): Exit

? ((_plane animationPhase "P51canopy" ) == 1) && ((speed _plane) > 230) : _plane animate ["P51canopy",0];

#check1

?(Fuel _plane) <=0: goto"checkfuel"

#check2

?(Getdammage _plane) >= 0.7 : goto "engdamage"

#check3

?(speed _plane) > 550: goto "checkstress"

#check4

? (getpos _plane select 2) >800: goto "contrail"

?(speed _plane) >= 0: goto "stage0"

#check5

goto "loop1"

change

?(speed _plane) > 550: goto "checkstress"

to

?(speed _plane) > NEWNUMBER: goto "checkstress"

----------------------------------------------

then go further down the page tou will see this

#checkstress

_plane say "overstress";

_plane groupChat "Speed is too fast";

_plane groupChat "Overstress";

~10

?(speed _plane) > 550: goto "damage"

goto "check4"

#damage

_number = 0

#NumberLoop

~.1

_number = _number + 1

_color1 = [8.8,8.8,0, 0.99]

_color2 = [0.009, 0.00,0,0.99]

_colorWhite = [0.8,0.8,0.8,0]

_colorBlack = [0.0,0.0,0.0,0.5]

_whitereal = [0,0,0,0]

drop ["cl_fire", "", "Billboard", 1, 10, [0,3,0], [0,0,0], 0, 1.1, 1, 0.5, [Random 7, 9, 15],[_color1, _color2,_color2, _whitereal],[0],0.2,0.6,"","",_plane]

?(_number >= 25): goto "kill"

goto "NumberLoop"

#kill

_plane say "p51crash";

_plane setdammage .9;

~2

_plane setdammage 1;

_plane groupChat "Arghh........";

exit

change

?(speed _plane) > 550: goto "damage"

to

?(speed _plane) > NEWNUMBER: goto "checkstress"

----------------------------------------------

and thats it

also change don't forget to make the speed change in the config.cpp file

Good luck

Share this post


Link to post
Share on other sites

Thnx again

Now the enemy or friendly AI wont die if they dive after me, I had that few times with the first P-51.

The first time I was suprised that I heard 4 crashes behind me or saw my AI buddies dive into the sea with smokin tails biggrin_o.gif

I forgot that the AI cant handle (over)stress wink_o.gif

Share this post


Link to post
Share on other sites
Thnx again

Now the enemy or friendly AI wont die if they dive after me, I had that few times with the first  P-51.

The first time I was suprised that I heard 4 crashes behind me or saw my AI buddies dive into the sea with smokin tails biggrin_o.gif

I forgot that the AI cant handle (over)stress  wink_o.gif

its even funnier when your in a dogfight and u make the enemy do that biggrin_o.gif funnier if u get them to slam into the ground (especialy with the GMR explosion mod) ball of flames, smoke, shrapnal.. and my climbing to altitude lmao biggrin_o.gif

Share this post


Link to post
Share on other sites

When I tried to escape from them without any ammo left it was FUN.

But when you got enough ammo and you hear a whole squadron smashing into the ground rock.gif , I dont think it`s funny anymore biggrin_o.gif

Share this post


Link to post
Share on other sites

ahh 1 thing you (ShadowY) shouldn't have the ai crashing from overstress the script checkgearAI.sqs doesn't contain that code?

When your placing the planes on the map, are you just using for example "P-51D Elliot's Mess" and not "P-51D Elliot's Mess (AI)" rock.gif

you can use both but i would recomend using the AI version for the AI pilots as it doesn't contain a lot of scripts the just waste cpu time and that overstress feature

Share this post


Link to post
Share on other sites

try this fun trick..

a) download the new GSG9 Island (renamed to ?) (this is used cuz the bridge is alot cooler and addes cool setting)

b) get the WWIIEC GMC jimmy with the 30cal ontop.. and place it at one end of the bridge

c)put in 2 or 3 Me109s and a waypoint to "hold" in the middle of the bridge

d) have the AI drive across the bridge and stop someone near wher eu put the hold waypoint

e) try and see how many 109s u can shoot down

*the coolness of this fun trick only apperes to those using the DR sound pack in which the hits and misses sound hella cooler when the bloody basterd shoots at ya biggrin_o.gif

incoming.jpg

Edit: i shot that basterd down on his 3rd pass on me.. strangly the pilot who bailed landed in the back of the truck lol.. but he didnt last long. i got 2 out of 3.. the 3rd one gave up strafing me and went with the bombs option.. a duce n half vs a 250lb bomb = not good lol

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
Sign in to follow this  

×