Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: killface on April 13, 2007, 01:14:33 pm

Title: Homing lasers?
Post by: killface on April 13, 2007, 01:14:33 pm
I'm guessing that this has to have come up before, but I didn't see it.  The idea of a homing primary weapon has always kind of tickled my fancy, but the one time I tried messing with the tables in this regard, I got nothing.  Is it even possible?  And yes, I realize that a homing primary completely violates and ravages FS2 gameplay as it was intended.  More just a curious question than anything.

EDIT: heh heh, just checked the wiki  ::)   ...here's what it tells me:

"[edit] $Homing:

    * Only for secondaries. You can't have homing primaries. If this is set to YES with primaries, then the bolts turn to face their target but keep moving in the same direction. If the field is set to NO then following fields are not required in the table."

I'm assuming nobody's come up with a way around this?
Title: Re: Homing lasers?
Post by: Wanderer on April 13, 2007, 04:37:59 pm
Well you can make secondaries which look like energy bolts (secondaries) if that is what you meant. There are many ways to do this.. Particle spews, models mapped with transparent maps or by using transparency setting in tables, glowpoints, scripting.

Or you can make 'autoaiming' guns via scripting. But that's not so simple.
Title: Re: Homing lasers?
Post by: takashi on April 24, 2007, 09:38:49 pm
i use $cargo size: 0.00000000000000000000000000000000001

and

$HOMING: YES
+homing type: heat
+turn time: 0.001
+view cone: 360



there you go. two table bits to help you. (why isnt this in the modding section?)
Title: Re: Homing lasers?
Post by: Titan on April 26, 2007, 10:00:12 am
good point............ wait a mo.................... takas right!  :eek2: :eek:
Title: Re: Homing lasers?
Post by: Wobble73 on April 26, 2007, 10:23:00 am
good point............ wait a mo.................... takas right!  :eek2: :eek:

Wonders will never cease!!!!!  :lol:
Title: Re: Homing lasers?
Post by: killface on April 26, 2007, 01:45:21 pm


Thanks taka.  I tend to forget that messing with tables is considered "modding".  All I can think about when I see the modding forum is creating new ships, and how I don't know how to do that yet.    :D 
Title: Re: Homing lasers?
Post by: Cobra on April 26, 2007, 03:10:40 pm
Sweet ****! Since when does Satan turn his AC on?!

(If he's right, anyway)
Title: Re: Homing lasers?
Post by: Mustang19 on April 26, 2007, 03:30:06 pm
"Turn time .001"? Unless you're trying to make a n00b Stick type weapon, aiming is going to be way too easy. You're basically creating a super-manueverable swarm Rockeye. How about a high speed but a low turn time, so that you have to have the target near the center of your reticle to get hits? Starlancer basically does this, it has limited auto-aiming guns.
Title: Re: Homing lasers?
Post by: Snail on April 26, 2007, 03:39:08 pm
i use $cargo size: 0.00000000000000000000000000000000001

and

$HOMING: YES
+homing type: heat
+turn time: 0.001
+view cone: 360

there you go. two table bits to help you. (why isnt this in the modding section?)

That's not a homing laser, that's a homing missile as far as I see it.
Title: Re: Homing lasers?
Post by: takashi on April 26, 2007, 05:23:25 pm
i use a model file. its kinda a cheat ballistic weapon. :|
Title: Re: Homing lasers?
Post by: Wanderer on April 27, 2007, 01:11:22 am
If you are into scripting...

http://www.hard-light.net/forums/index.php/topic,45405.0.html
Title: Re: Homing lasers?
Post by: killface on April 27, 2007, 08:42:36 am


I hope to be, someday.  Thanks for the link.