Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Homing Missile COG
Homing Missile COG
2002-03-07, 3:54 PM #1
Could somebody write me a MotS weapon COG that switches the camera view and controls over to the projectile until the projectile is destroyed? Maybe base it off the "Force Farsight" COG, except it would have to move at a constant speed, like a missile really would. And maybe make it so that it plays a looping sound while your in control.

Then again, I don't know anything about COG, so I don't know if this is possible.
2002-03-07, 7:03 PM #2
It is certainly possible, it just wont work too well in MP.

------------------
Success is the inverse relationship between effort, gain, and loss.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-03-08, 6:24 AM #3
If you make the homing missile client side, and not global, it would work very well in MP. Just have it home locally, and hope there's no discrepincy. [http://forums.massassi.net/html/wink.gif]
-Hell Raiser
2002-03-08, 8:21 AM #4
You will most likely have to create the missile locally. That makes it very hard to sync because its thing number is different on all computers.

Quote:
<font face="Verdana, Arial" size="2">If you make the homing missile client side, and not global, it would work very well in MP. Just have it home locally, and hope there's no discrepincy.</font>


I have done that, and the discrepancies were quite noticeable. And in a game with moderate to high lag, syncing to avoid those differences would be impossible. It's a tradeoff really, the simpler you make your code, the fewer MP problems there will be.

Quote:
<font face="Verdana, Arial" size="2">I don't know anything about COG, so I don't know if this is possible.</font>


Yes, it's possible, but it's not easy and getting it to work in MP is difficult at the least. It's not the type of cog someone can simply write up for you. [http://forums.massassi.net/html/frown.gif]

------------------
Author of the Jedi Knight DataMaster.
Visit Saber's Domain.

[This message has been edited by SaberMaster (edited March 08, 2002).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-03-10, 2:04 PM #5
Nahh.. I've gotten it to work with just a single cog, but the Z axis is the problem - I still have the cog, though I haven't worked on it in ages.. well shoot I guess its on my old computer, anyway.. I'll see if i can find it. It used a pulse and dummy variables, plus the ApplyForce() to the rail to propel it towards its target.

↑ Up to the top!