Jump to content
Sign in to follow this  
Miki45

repos missile script

Recommended Posts

repos missile

A lot of mods to ofp use script to repos missile.

Problem is that the most used script isn't perfect,

problem is the angle of wings:

flashpointresistance201v.jpg

as you can see in the picture,script calculate position of the missle for 0 angle of wings,even when isn't.

and i have solution of this problem

video:

http://www.youtube.com/watch?v=h4k5pvGOxXo

if someone want it,please write it to the reply.

Edited by Miki45

Share this post


Link to post
Share on other sites

Cool video Miki45 :) I'm impressed. It looks like you've got strong scripting skills.

I'm interested to hear if you've managed to come up with any other creative solutions or workarounds to add to the realism of OFP.

Share this post


Link to post
Share on other sites
if someone want it,please write it to the reply.

I'd be interested to see the script. :)

Share this post


Link to post
Share on other sites

ok so at first i explain how it works.

for example your plane has 4 aa and 8 AT rockets

(position for rocket is part of model and it's in model section for example proxy:at6c.1 that is 1st pos proxy:at6c.79 that is 79th pos)

so to the model a put position for 10th-14th rocket and for 20th-28th rocket (it's example but it can't be 1st-8th cos this pos is used by rocket of this plane)

when I will fire rocket,my script will forse palne to fire invisible rocket on pos for example 28(pos 28 is correct position for 1. AT rocket that have pos 8 but this plane have pos 8 created inside plane (cos i don't want see rocket on the bad position)) then it will get position of this rocket,then it will delete this rocket and finally it will put real rocket to position of that invisible rocket.

it's

about the script

script is part of my mod so without scripting structure of my mod is useless

so I will write new for addon use,it can't take more than 2days.

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  

×