Jump to content

Recommended Posts

Is their a script so instead of satchel charges we can have shape charges where they blast one way and can take out objects in that direction and also I want to make it so you can place a object ingame on command. The object is concretepanels. I want it so you have a action and place the objkect riught in front of you

Share this post


Link to post
Share on other sites

Thanx but I try and stay away from addons, this is for trainings and operations so I would rather not have everyone download something

Share this post


Link to post
Share on other sites

You'd have to create each projectile and script its position/velocity relative to the bomb. Not a ton of code depending on the solution you use. In the thread marked "Road Side IED" I posted the code for a road bomb which uses an abrams' sabot round fired straight up to take out vehicles, and fires high caliber armor piercing rounds out in somehwhat of a cone shape around the bomb position.

You could, instead of a cone, script something like a back and forth traversal of a specific arc (hope you remember at least something from trigonometry though) ;p

Share this post


Link to post
Share on other sites
You'd have to create each projectile and script its position/velocity relative to the bomb. Not a ton of code depending on the solution you use. In the thread marked "Road Side IED" I posted the code for a road bomb which uses an abrams' sabot round fired straight up to take out vehicles, and fires high caliber armor piercing rounds out in somehwhat of a cone shape around the bomb position.

You could, instead of a cone, script something like a back and forth traversal of a specific arc (hope you remember at least something from trigonometry though) ;p

THank you, I went to tec school, We didnt learn anything lol

Share this post


Link to post
Share on other sites

To call a object creat in front of you would it be something like

player addAction ["Place Blast Wall", "blastwall.sqf"]

player addAction ["Remove Blast Wall", "blastwall.sqf"]

wall = "Misc_concrete_High" createVehicle (position player);

wall = "Misc_concrete_High" deleteVehicle (position player);

Im not that good at this kinda thing, anyone that can help thank you

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  

×