Author Topic: Ftech warp glow  (Read 950 times)

Offline Jb06

  • Posts: 1295
  • Cookies: 968
  • JL Studios Co-Founder
    • JL Studios
Ftech warp glow
« on: November 20, 2007, 09:59:51 AM »
Right for the TMP Connie ultra res pack which i did a month back ive decided to add the warp glow which adonis did to his ships. I've managef to swap the warp glow, but i also want to swap the deflector. So my question is what do i add/change to make it work?

thanks

~Jb06

JLS

Offline Nighthawk

  • |______[o]_|
  • Posts: 750
  • Cookies: 18
Re: Ftech warp glow
« Reply #1 on: November 20, 2007, 10:10:59 AM »
if it's for what I think, then either MVAM or MLeo's SDT.

Offline Jb06

  • Posts: 1295
  • Cookies: 968
  • JL Studios Co-Founder
    • JL Studios
Re: Ftech warp glow
« Reply #2 on: November 20, 2007, 10:19:40 AM »
no ftech... ive already switched the engine glow when the connie goes to warp, i just want the deflector to change aswell

~Jb06

JLS

Offline Nighthawk

  • |______[o]_|
  • Posts: 750
  • Cookies: 18
Re: Ftech warp glow
« Reply #3 on: November 20, 2007, 10:35:27 AM »
you mean the flash? of the texture itself?
if it's the texture, then maybe SDT would be better than calling ftech
i think you can do it in real time, if not, then ftech might be ok.

Offline Jb06

  • Posts: 1295
  • Cookies: 968
  • JL Studios Co-Founder
    • JL Studios
Re: Ftech warp glow
« Reply #4 on: November 20, 2007, 10:57:23 AM »
its like the ashton, before it goes to warp there is no engine glow, while in warp there is a glow. its just the texture which has been swapped to make it look like the engines are on.

I only need to extend the script in custom/tech and custom/ships to incorparate the deflector aswell.

~Jb06

JLS

Offline Adonis

  • Ze Meister xP
  • Posts: 670
  • Cookies: 84
  • Da Death Squad ???
    • Star Trek Excalibur
Re: Ftech warp glow
« Reply #5 on: November 20, 2007, 04:23:47 PM »
Something like this:
Code: [Select]
0.0: "data/Models/Ships/AdTMP/Ashton/High/Plas_glow.tga", "deflector texture path"
1.0: "data/Models/Ships/AdTMP/Ashton/High/Plas1_glow.tga", "deflector lit texture path"
Easy is the path to wisdom for those not blinded by themselves.


Offline Jb06

  • Posts: 1295
  • Cookies: 968
  • JL Studios Co-Founder
    • JL Studios
Re: Ftech warp glow
« Reply #6 on: November 20, 2007, 04:54:04 PM »
Well i did something similar but in the py in the tech folder but it didnt like the def roll textures (near the bottom) after i added the lines for the deflector dish.

No worries i decided that it would look better not turning the deflector on and off.

~Jb06

JLS

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Ftech warp glow
« Reply #7 on: November 21, 2007, 11:41:21 AM »
I currently can't give you an example (need to go), but you can add multiple textures to swap.
I will provide an example later.

[EDIT]
Right, here is the original:
Code: [Select]
"AdonisTMPWarpStartUp": {
"track": {
"Plas_glow": {
0.0: "data/Models/Ships/AdTMP/Luxor/High/Plas_glow.tga",
1.0: "data/Models/Ships/AdTMP/Luxor/High/Plas1_glow.tga",
}
}
}
Now, repeat the "Plas_glow": { } part for every texture you want to swap, the names (ie. Plas_glow) is the same type of name as for SDT.

Say you want to also replace the texture data/Mods/Ships/AdTMP/Luxor/High/Sau_glow.tga with data/Mods/Ships/AdTMP/Luxor/High/Clover_glow.tga and then data/Mods/Ships/AdTMP/Luxor/High/cat_glow.tga at 1.0 and 1.5 seconds, then get this:
Code: [Select]
"AdonisTMPWarpStartUp": {
"track": {
"Plas_glow": {
0.0: "data/Models/Ships/AdTMP/Luxor/High/Plas_glow.tga",
1.0: "data/Models/Ships/AdTMP/Luxor/High/Plas1_glow.tga",
},
"Sau_glow": {
0.0: "data/Models/Ships/AdTMP/Luxor/High/Sau_glow.tga",
1.0: "data/Models/Ships/AdTMP/Luxor/High/Clover_glow.tga",
1.5: "data/Models/Ships/AdTMP/Luxor/High/cat_glow.tga",
},

}
}
0.0, 1.0 and 1.5 are in seconds.
I hope that helps.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.