Jump to content
Sign in to follow this  
unacknowledged

[HELP REQ] Need scripting help.

Recommended Posts

Hello there again my fellow Bistudio Community! Bet your sick of seeing me hehe :)

Once again I am in need of some assistance to my lack of knowledge in scripting! I need help on quite a few things!

First thing i'd like for a specific mission I made, is a script which you can put in the init.sqf or the init of a character which automatically reloads your weapon for you when your rounds reach 0 and you don't have the time to press R because you're behind enemy lines under heavy fire! This isn't for laziness people, I just find it useful! I don't want an infinite ammo script or one where you don't need to reload, just one that automatically reloads for you when your rounds reach 0 :D

Secondly, I have no idea if this is possible but for the AddOn "HMS Queen Elizabeth" I would like a rather large UK Flag waving on the top of it, I know how to get it up there on a flag pole etc, but somehow maximizing the size of the flag so it blows in the wind like the old Royal Navy ships would be fantastic.

Thirdly, a script which adds a boost option for aircraft that don't have afterburners or to help the ones that aren't powerful enough! Not insanely fast boost, but enough to get it off the runway quickly and get it to a high speed when in the air as my mission is purely Aircraft and involves a lot of old school dog fighting with modern Jets.

Fourth, I would like a script or some line of code to put in a trigger to remove rubble/debris from when vehicles blow up or buildings, my ArmA OCD cleanliness always kicks in if rubble/debris gets on my runway and I tend to scream at my Trainees for making a mess.

Fifth, I know it's either a script or trigger but either way, to play music when a player joins and just for that player as they join!

Sixth, I want enemy aircraft to spawn flying in a designated area (There own airspace) and when there reaches a number of aircraft in that airspace they stop spawning until they are killed and it repeats the process and so forth.

Seventh, I've been looking for a few days on adding Paramaters to my mission and not having any success with them actually functioning. I am looking for a time paramater which does every time, a weather parameter which does all weathers, a enviroment paramater which enables me to turn off grass and such if I get somebody in who has a low end computer/laptop.

And that clears it guys! I hope some of you can answer some if not all of these for me! I have put the time & effort in to researching them but I don't either have the knowledge to do what they are showing or I simply cannot understand!

Thanks,

UA

Share this post


Link to post
Share on other sites

First - Loop checking for ammo == 0 (https://community.bistudio.com/wiki/ammo), then force reload (https://community.bistudio.com/wiki/reload)

Second - Afaik you cant resize objects, anyway, an UK flag pole object + attachTo (https://community.bistudio.com/wiki/attachTo) to boat should do it.

Third - Mess around with velocity? (https://community.bistudio.com/wiki/setVelocity)

Fourth - Buildings, I wouldn't know atm. Vehicles - http://forums.bistudio.com/showthread.php?113434-CLY-Remove-Dead-script

Fifth - playMusic command in init.sqf

Sixth - Mess around with this, you might get what you want - http://forums.bistudio.com/showthread.php?91696-UPSMON-Urban-Patrol-Script-Mon

Seventh - Try harder - https://community.bistudio.com/wiki/Description.ext#params

External advice; If you start learning how to script, small steps first, you'll eventually be able to do this all your own without any need from external sources (forums for instance).

Kind regards,

Sanchez

Share this post


Link to post
Share on other sites

I don't know how one would do most of them my knowledge is limited? Could you explain or write some out for me maybe? Apologies for long reply, been quite busy.

First - Loop checking for ammo == 0 (https://community.bistudio.com/wiki/ammo), then force reload (https://community.bistudio.com/wiki/reload)

Second - Afaik you cant resize objects, anyway, an UK flag pole object + attachTo (https://community.bistudio.com/wiki/attachTo) to boat should do it.

Third - Mess around with velocity? (https://community.bistudio.com/wiki/setVelocity)

Fourth - Buildings, I wouldn't know atm. Vehicles - http://forums.bistudio.com/showthread.php?113434-CLY-Remove-Dead-script

Fifth - playMusic command in init.sqf

Sixth - Mess around with this, you might get what you want - http://forums.bistudio.com/showthread.php?91696-UPSMON-Urban-Patrol-Script-Mon

Seventh - Try harder - https://community.bistudio.com/wiki/Description.ext#params

External advice; If you start learning how to script, small steps first, you'll eventually be able to do this all your own without any need from external sources (forums for instance).

Kind regards,

Sanchez

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  

×