View unanswered posts | View active topics It is currently Wed Jul 17, 2019 9:52 pm



Reply to topic  [ 7 posts ] 
 Homing missiles script 
Author Message

Joined: Tue Oct 15, 2013 8:13 am
Posts: 93
Reply with quote
Post Homing missiles script
I've been making a missile launcher but I'm worst making at lua


Fri Nov 15, 2013 4:27 pm
Profile
User avatar

Joined: Mon Jun 17, 2013 2:55 pm
Posts: 434
Location: Somewhere
Reply with quote
Post Re: Homing missiles script
There are a few mods that have a homing missile script, check them out and ask the creator if you can use them.


Sat Nov 16, 2013 1:02 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7093
Location: b8bbd5
Reply with quote
Post Re: Homing missiles script
There's also one included in Cortex by default. Check the MissileLauncher.lua script in Coalition.rte/Devices/Weapons.


Sat Nov 16, 2013 6:37 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Homing missiles script
The new Coalition one can be a bit tricky to use, since it's applied to the gun rather than the missile, and does a bunch of stuff through that. I think what you need is a script similar to the old Coalition missile launcher. It basically just rotates the missile so that it points at the target.

I just recently requested something like this from CC48, you could ask him for the same script.


Sat Nov 16, 2013 7:06 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 11408
Location: Here
Reply with quote
Post Re: Homing missiles script
Vlads, try to be a little more informative if you're trying to help people out.


Anyways, here's the script that 4zK was talking about. There are three variables in the beginning that you can tweak to suit your needs.

Attachment:
Missile.lua [1.3 KiB]
Downloaded 132 times


Sun Nov 17, 2013 2:40 am
Profile

Joined: Tue Oct 15, 2013 8:13 am
Posts: 93
Reply with quote
Post Re: Homing missiles script
ok thanks!


Sun Nov 17, 2013 4:47 am
Profile

Joined: Tue Oct 15, 2013 8:13 am
Posts: 93
Reply with quote
Post Re: Homing missiles script
this may take a while to fix my missile


Sun Nov 17, 2013 5:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.020s | 18 Queries | GZIP : Off ]