Heetseeker

I was doodling with some weapon ideas for my shooter (don't laugh just first drafts especiall the pencil lol)...but is it possible to make a missle heat seeking and lock on behind the player character with come kind of coding or script?

240731438_10157768290317101_7314943877051733213_n.jpg

 
I really wish you and everyone else would stop prefacing gameplay questions with "is it possible". It ALWAYS is.

In this case, there's actually a native functionality for seeking projectiles. Giving a projectile the Follow subtype will cause it to turn and guide itself toward nearest hostile target. It's pretty crude looking though because the movement and direction changes are instant. It's also a bit too "perfect".

I'd recommend coding it yourself with a script so you can make a smoother, more realistic seeking behavior. You'd do this by setting up the projectile as normal, but add an update script that makes constant fractional position adjustments on one or more axis lines of your choice toward the target. Because the projectile still has normal movement, it veer towards targets but not have 100% perfect accuracy, just like a real missile.

DC
 
Damon Caskey said:
I really wish you and everyone else would stop prefacing gameplay questions with "is it possible". It ALWAYS is.

My bad I know with the language all is technically possible, I guess in my case it's a habit coming more from the perspective of is this possible without some special accommadation or addition to the engine. I remember and engine once that was later tweaked to in order to accomplish a function or to better accommadate a specific goal from various categories of game scenarios. For instance I once inquired about the abillity to have a Metal Gear Solid type AI where the enemy had to visually spot the character in order to evoke a specific enemy reaction.  That and to get a scope of how much I think I realistically will have the time to accomplish.
 
Wombat2112 said:
For instance I once inquired about the abillity to have a Metal Gear Solid type AI where the enemy had to visually spot the character in order to evoke a specific enemy reaction

That might require some script tricks, at least it involves range detection and status check. The latter checks if character is in hiding state or not.
 
Wombat2112 said:

I'm not mad at you Wombat2112. Not at all. I mean this for your own good. I just want people to stop wasting their time thinking about IF, and use that thought and effort on HOW.

It's a good way to look at life in general IMO, but distilled to OpenBOR it's a literal fact. There are of course limits to the types of graphics and the sheer amount of stuff on screen you can have, but there is no limit what so ever on game functionality. If you can think of it, you can do it. :)

DC
 
Damon Caskey said:
Wombat2112 said:

I'm not mad at you Wombat2112. Not at all. I mean this for your own good. I just want people to stop wasting their time thinking about IF, and use that thought and effort on HOW.



DC


That makes a lot of sense. I sincerely appreciate the forum you have provided here and all the valuable advice, Damon.
-All the best
-Brian
 
Back
Top Bottom