Shield Generator Idea

  • As I was sitting on the toilet, playing Freelancer in my head, I had a crazy idea. Would it be possible to add linear_drag to shields? That way you could create "Gravity Wells". They wouldn't help you as of a protecting you so to say, but it would allow you to control the handling of your ship.

  • Ships/engines/mines/countermeasures all have linear_drag. Looks like the linear drag for a ship is the ship's linear_drag (obviously) plus the first engine's linear_drag (which includes CRUISE_DRAG when in cruise). Doesn't look like it would be that difficult to add linear_drag to a shield. If you're lucky, I might be curious enough to do it tomorrow, otherwise, who knows...


    Edit: See if this does what you want. Look at ShieldDrag.cpp for usage.

  • first, what am I looking at? Second, I would be messing around with this, but I haven't been around long enough to mess with FL.

  • @ Drake
    With base FL, when you set the Linear_Drag to 0 on an engine, the ship floats around like a real life spaceship unabled to dock. 600 is standard handling. Any less causes more float, and more causes you to be able to turn and stop on a dime. By moving this to shields, you can add a second shield HP to the ship, then create an item that is just for the linear drag. That way you can control the kind of handling you want.


    adoxa
    How do I add it. I'm still a little rusty...

  • 1. Extract the contents of the zip.
    2. Open ShieldDrag.cpp in a text editor (like Notepad).
    3. Read the first few lines.
    4. I don't know what more to say.


    It only works on the first shield (since it only works on the first engine).