Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: yomi on November 08, 2011, 02:58:06 am
-
Is there a way to create secondary weapon that would have turret?
Or secondary weapon that could spawn ship?
-
Is there a way to create secondary weapon that would have turret?
Or secondary weapon that could spawn ship?
Turret? dont think anyone has tried it but i would be supprised if the code supports it.
Spawning a ship, with SEXPs and possibly some scripting it would be doable but i am unsure how to go about it exactly
-
Ask Sara about her shotgun of doom.
http://www.youtube.com/watch?v=M69OT1fobj4 (http://www.youtube.com/watch?v=M69OT1fobj4)
-
Weapons (including missiles) aren't ships. As such, they cannot have subsystems, which is a requirement for having turrets.
Weapons can spawn other weapons, but not ships.
As the sexp system cannot track single weapon instances (like a single missile), it is impossible to retrieve the weapon's position and orientation in order to spawn a ship when the weapon explodes.
-
I think that the only way to do that would be to use scripting.
Alternatively, if you're working with a capship, you could try using a dummy fighterbay and link ship arrivals to a dummy weapon firing.
-
one of the many ideas that can be done with scripting.
actually its fairly easy to have a script look for certain types of missiles and replace them with ships. youd need to copy over attributes like team and target info, so they know who to shoot at. this is (i think) how i let ai ships fire drones in the cockpit mod im working on.