Author Topic: Shield-related question  (Read 1858 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Bomber

  • Booooom
  • 210
Shield-related question
So I'm farting around with a variety of models, and I want to have different factions have color-coded shields (for example, how Kilrathi and Confed forces have red and blue shields, respectively, in WCS).

Suppose one faction captured another faction's ship, and gave it a refit, including nifty green-colored shields to replace the old shielding unit. Is there any way I can avoid using up a table entry just to reflect the change of $Shield Color, the way one can change a paint job with in-mission texture replacement?

I'm guessing the answer is no, but i wanted to ask just in case. If not, I'll suggest it to the coders.
« Last Edit: September 13, 2014, 10:56:45 pm by Mad Bomber »
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Re: Shield-related question
Not that I know of.  It's only one table entry, though.  Are you running up against the limit?

 

Offline Mad Bomber

  • Booooom
  • 210
Re: Shield-related question
Not at present, but I'd prefer not to risk it if I can avoid it. It just seemed like the sort of thing there'd be a relatively easy fix for.

Then again it's probably just paranoia on my part  :nervous:
« Last Edit: September 14, 2014, 12:08:45 am by Mad Bomber »
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline Kopachris

  • 28
  • send penguins
    • Steam
    • Twitter
Re: Shield-related question
Shield color can be defined in the ships.tbl file, and would have to be defined for each ship; i.e. you'd have to have a separate ships.tbl entry for a given ship for each faction (like how they did the SF Dragon#Terrans in FS1).  This is currently the only way to handle shield color.
----
My Bandcamp | Discord: Kopachris | My GitHub

 

Offline procdrone

  • Formerly TheHound
  • 29
  • Balance breaker! Thats me!
    • Steam
Re: Shield-related question
Aren't the shields color specified by the ships respective spieces entery, just like in FS Terran blue, vasudan Green and Shivan red? If I am correct, then you're unable to change the respective spieces of the ship without making new entries in the ships.tbl

Or create two exacly same entries for the ship you want, and place your shield color species in the one, and another in the second. If so, you're able to change ship classes during game via SEXP? (not sure on that one).
--Did it! It's RELEASED! VeniceMirror Thread--

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Shield-related question
No, this doesn't depend on species. Shield animation might (not quite sure about that, though, and this can likely be overriden), but the color is set in the ship's entry.

 

Offline fightermedic

  • 29
  • quite a nice guy, no really, i am
Re: Shield-related question
only if you use a black and white shield animation i think, if you use a colored one, it will use the colour of that animation as far as i am aware
>>Fully functional cockpits for Freespace<<
>>Ships created by me<<
Campaigns revised/voice-acted by me:
Lightning Marshal 1-4, The Regulus Campaign, Operation: Savior, Operation: Crucible, Titan Rebellion, Fall of Epsilon Pegasi 1.1Aftermath 2.1,
Pandora's Box 2.2, Deep Blood

Other Campaigns I have participated in:
The Antagonist, Warzone, Phantoms & Echo-Gate

All the stuff I release is free to use or change in any way for everybody who likes to do so; take whatever you need

  

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Shield-related question
Well, yes and no. Even on a colored animation, you'll get a "tint" of sorts when you assign a different color in ship's table. Could make for some interesting effects, but I never experimented with it (only experienced it when I accidentally mismatched the anim and the color).