Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Mobius on March 11, 2008, 04:13:32 pm
-
No Latin name...happy? :doubt:
I want a torpedo with two trails. One is a normal torpedo trail while the second is a railgun trail.
Is there a way to make it possible?
-
Care to give a tad more specific information?
-
I want two trails. Beams can have multiple sections and I want to know if torpedoes can have two or more trails.
I don't think I can make the table entry public, anyway...it's for INFA.
-
Well... Depends on what you want it to look like. You can have a single 'beam type' missile trail and one 'particle trail' with current table.
-
Looking at the code, I think it's possible. I know for a fact that ships can have more than one trail (the max trails for a ship is defined by MAX_SHIP_CONTRAIL), and AFAIK the only thing they do differently when the trails on a ship (in the trails.cpp, no idea yet what's going on in shipcontrails.cpp), is if it's your ship and you're not looking backwards.
And so if the code parses the ship.tbl and the weapons.tbl in the same way regarding trails, all you do is make a second $trail: entry. If that won't work, then AFAIK, you'd be stuck with having the missile as a ship, and having to spawn it manually in FRED and set it to kamikaze.
EDIT: And looking at the shipcontrails.cpp, it looks like if the object is a ship, it doesn't really use the trails.cpp for anything other than rendering or something. Disregard everything I said, just to be safe.
-
Something like this?
Standard trail with particle effects (ie "railgun" trails)
[attachment deleted by ninja]
-
What is that from... Blue Planet 2? (please?)
-
Something like this?
Standard trail with particle effects (ie "railgun" trails)
What the heck is up with the spec settings?
-
I dunno. But it looks amazing! :nod:
Anyways, I think that is what he wanted.
-
I think it's from BP2, as for the fact that there are no nebulas and posted by Darius.
-
Something like this?
Standard trail with particle effects (ie "railgun" trails)
May I know how to get that effect? Paste here the entry... ;)
-
How long have weapons had particle support? :WTF: is it in the tbl? I'll ramp up some concepts on a campaign
I've been working on for a bit.
-
Since retail.... (flak). Actual option for setting was introduced way before 3.6.7... And should we be lucky we might get taylors '0-lifetime' particle fix - basically particles set with 0 lifetime would be render as single particle effect per frame (so to speak).
-
May I know how to get that effect? Paste here the entry... ;)
Basically the same as for primary weapons. Put "particle spew" in the weapon's flag, and then make a $Pspew entry. :)
Maybe copy the $Pspew from the INFA railgun and play around with the particle size to fit the torpedo.
-
http://www.hard-light.net/wiki/index.php/Weapons.tbl