Author Topic: Add a second blinking light folder  (Read 1920 times)

Offline Nx-809

  • Posts: 159
  • Cookies: 25
Add a second blinking light folder
« on: March 19, 2010, 09:42:12 AM »
Hi all! I would use a second folder for the blinking light texure so you can use 2 types:
1 is the stock nano fx blinking light (es. for the navlight in saucer section)
2 is stxi lensflare effect blinking light (es.for end warp)
Not change time ecc.. but simply select the texture..should be a matter of script!

it's too hard to do??

thanks :P

Offline Morgan

  • Moderator
  • Posts: 1340
  • Cookies: 65535
Re: Add a second blinking light folder
« Reply #1 on: March 19, 2010, 01:38:38 PM »
Actually it's very easy, and you don't even need to add a second folder. Just name the lensflare blinker texture whatever you'd like to name it (for example lets say lensflare.tga) and drop it into the existing folder.  Now all you have to do is go into the hardpoint of the ship you'd like to change and scroll down to the blinkers.  You'll see a line towards the end of each one:

"scripts/Custom/NanoFXv2/SpecialFX/GFX/Blinker/Blank.tga"

rename "Blank.tga" to "lensflare.tga" (or whatever you named it) on all the blinkers you want to change.

That should do it.

Offline Nx-809

  • Posts: 159
  • Cookies: 25
Re: Add a second blinking light folder
« Reply #2 on: March 19, 2010, 02:02:57 PM »
Is the first thing i did but don't work!!
Remains the same stock texture!

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: Add a second blinking light folder
« Reply #3 on: March 19, 2010, 04:16:08 PM »
I would ask at BCS. There are more scripters familiar with NanoFX there.

Offline El

  • Master Hardpointer
  • Retired Administrator
  • Posts: 653
  • Cookies: 123
  • Former Vice Admin
Re: Add a second blinking light folder
« Reply #4 on: March 22, 2010, 08:42:16 AM »
I'm afraid that won't work. IIRC correctly, Nano was going to expand on the blinkers but didn't get round to it.
I beleive the effect is hardcoded into NFX2b.

Offline Nx-809

  • Posts: 159
  • Cookies: 25
Re: Add a second blinking light folder
« Reply #5 on: March 22, 2010, 09:52:43 AM »
I did not think that adding another folder than the default in the script could be so difficult! :cry:

Offline El

  • Master Hardpointer
  • Retired Administrator
  • Posts: 653
  • Cookies: 123
  • Former Vice Admin
Re: Add a second blinking light folder
« Reply #6 on: March 22, 2010, 01:38:07 PM »
It makes no difference. NFX2 just use the texture as a placeholder. Its not actually used when creating the blinker.