Bridge Commander Scripters : The New Generation
0
28-01-2012, 06:03:38 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Stargate Ship Pack v4.0 is now in the works! 
GET MORE INFO HERE!
 
Check BCS:TNG's site! - Site | Why can't I log in with my forum username?
New to the boards? - Read the rules | Asking for mod updates
Want to download BCS:TNG Mods? - Get them here
Want to find out more about modders? - MeteoraFallen's Spotlight
Pages: [1]   Go Down
  Print  
Author Topic: Scripting for Red Alert  (Read 532 times) A A A A
0 Members and 0 Guests are viewing this topic.
intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

on: 07-09-2008, 11:07:41

Hey guys...

I have just started to work on my first Modification.
I don't know about you, but I was always annoyed that when a ship went to Red Alert, the panels never changed!
So anyway, I made backups and have began to retexture (Just basic to start with, not very good, coz I'll neaten them up later) but I don't know how to script the E-Bridge, so that when it goes into red alert, just like the lights start to flash by reloading textures, the panels change.

Are there any Scripters here that can do that, if I gave them the Retextures?

Thanx... Just e-mail me at skatib_786@hotmail.com
Logged

JimmyB76
Administrator


Krama: 265
Offline Offline

Gender: Male
Joined: Dec 2006
Age: 35
Location: Providence, Rhode Island
United States United States

Posts: 3897


Blog entries (3)

Reply #1 on: 07-09-2008, 13:18:16

by panels, do you mean lcars/stations?
Logged

kirk2164
Defender of All That is Good


Krama: 41
Offline Offline

Gender: Male
Joined: Jan 2008
Age: 21
United States United States

Posts: 790


Halo TC Hardpointer

Blog entries (7)

WWW
Reply #2 on: 07-09-2008, 15:02:24

BP Core already allows for map swapping.
Logged
intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #3 on: 07-09-2008, 16:36:17

Quote
by panels, do you mean lcars/stations?


Yes I do... I have already started work on the retexturing, but I don't where to inset the command to reload the textures when Red Alert is activated, like the Red Alert Lights do
Logged

JimmyB76
Administrator


Krama: 265
Offline Offline

Gender: Male
Joined: Dec 2006
Age: 35
Location: Providence, Rhode Island
United States United States

Posts: 3897


Blog entries (3)

Reply #4 on: 07-09-2008, 19:02:58

take a look at how the Galaxy Bridge Advanced script is setup...
the section
Code:
 
'Maps':{
'CurrentMaps': {'g_imp_pannels-state01': "g_imp_pannels-state01", "Map 13" : "Map 13", "Map 5" : "Map 5", "g_imp_redbars" : "g_imp_redbars"},
'GreenMaps':{'g_imp_pannels-state01': 'data/Models/Sets/Galaxy/g_imp_pannels-state01.tga',
      'g_imp_redbars': 'data/Models/Sets/Galaxy/g_imp_redbars_unlit.tga',
      'Map 5' : 'data/Models/Sets/DBridge/High/Map 5.tga',
      'Map 13' : 'data/Models/Sets/DBridge/High/Map 13.tga',
      'Map 27': 'data/Models/Sets/DBridge/High/Map 27.tga'},
'YellowMaps':{'g_imp_pannels-state01': 'data/Models/Sets/Galaxy/g_imp_pannels-state02.tga',
      'g_imp_redbars': 'data/Models/Sets/Galaxy/g_imp_redbars_unlit.tga',
      'Map 5' : 'data/Models/Sets/DBridge/High/Map 5.tga',
      'Map 13' : 'data/Models/Sets/DBridge/High/Map 13.tga',
      'Map 27': 'data/Models/Sets/DBridge/High/Map 27.tga'},
'RedMaps':{'g_imp_pannels-state01': [1, {1: 'data/Models/Sets/Galaxy/g_imp_pannels-state03.tga', 2: 'data/Models/Sets/Galaxy/black.tga',}],
   'g_imp_redbars': [1, {1: 'data/Models/Sets/Galaxy/g_imp_redbars.tga', 2: 'data/Models/Sets/Galaxy/g_imp_redbars_unlit.tga',}],
              'Map 5' : 'data/Models/Sets/DBridge/High/Map 5r.tga',
      'Map 13' : 'data/Models/Sets/DBridge/High/Map 13r.tga',
      'Map 27': [1, {1: 'data/Models/Sets/DBridge/High/Map 27.tga', 2: 'data/Models/Sets/DBridge/High/Map 27r.tga',}]},
'MVAMMaps':{'g_imp_pannels-state01': [1, {1: 'data/Models/Sets/Galaxy/g_imp_pannels-state04.tga', 2: 'data/Models/Sets/Galaxy/black.tga',}],
   'g_imp_redbars': [1, {1: 'data/Models/Sets/Galaxy/g_imp_bluebars.tga', 2: 'data/Models/Sets/Galaxy/g_imp_redbars_unlit.tga',}],
              'Map 5' : 'data/Models/Sets/DBridge/High/Map 5b.tga',
      'Map 13' : 'data/Models/Sets/DBridge/High/Map 13b.tga',
      'Map 27': [1, {1: 'data/Models/Sets/DBridge/High/Map 27.tga', 2: 'data/Models/Sets/DBridge/High/Map 27b.tga',}]},
'NormalMaps':{'g_imp_redbars': 'data/Models/Sets/Galaxy/g_imp_redbars_unlit.tga'},
},
is where it is...  if you follow that example, and tinker around a bit, youll prolly be able to sort it...

personally, ive never much dabbled into texture swapping in bridges, but thats where to begin...
you may want to also ask at BCC's Bridge Modding forum...
Logged

intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #5 on: 08-09-2008, 16:59:07

I can't seem to find that  bang head
Logged

kirk2164
Defender of All That is Good


Krama: 41
Offline Offline

Gender: Male
Joined: Jan 2008
Age: 21
United States United States

Posts: 790


Halo TC Hardpointer

Blog entries (7)

WWW
Reply #6 on: 08-09-2008, 17:31:04

It's in the bridge's script in scripts\Custom\Autoload
Logged
intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #7 on: 08-09-2008, 17:45:48

Thanks
Logged

intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #8 on: 17-09-2008, 17:52:43

OK, I did basic retextures and wrote in the code, but it didn't work... the game ran OK, but it didn't change the textures on the bridge when I went to red alert!
Logged

intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #9 on: 23-09-2008, 10:21:53

Can anyone tell me why?... I was trying to retexture the active LCARS on the 3rd Era Soverign Bridge.
Logged

JimmyB76
Administrator


Krama: 265
Offline Offline

Gender: Male
Joined: Dec 2006
Age: 35
Location: Providence, Rhode Island
United States United States

Posts: 3897


Blog entries (3)

Reply #10 on: 23-09-2008, 13:40:03

you may want to ask at BCC as well...
Logged

intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #11 on: 23-09-2008, 13:41:52

Aye aye sir! i'll do that ASAP
Logged

intercity125
Commodore Gadget | 9th Fleet


Krama: 26
Offline Offline

Gender: Male
Joined: Jun 2008
Age: 19
Location: Leicester
United Kingdom United Kingdom

Posts: 672


Oh, Sweet Niblets!

Blog entries (0)

Reply #12 on: 07-10-2008, 17:23:45

I've posted at BCC, but I haven't had replies in a long while... does that mean that it can't be done, or nobody know how to do it, or people just haven't seen it? I've still fiddled but I don't know enough python to debug... Please Advise
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Subject Started by Replies Views Last post
Turning off red alert default? lurok91 5 191 Last post 23-12-2010, 21:02:31
by lurok91
F-Tech and red alert. cobie2 5 373 Last post 02-08-2008, 00:09:51
by USS Frontier
Endgame Voyager limey98 10 1477 Last post 28-03-2008, 01:27:05
by Jb06
JL Studios Voyager Bridge Seasons 1 + 2 Retexture Jb06 2 631 Last post 14-07-2009, 11:58:31
by limey98
Silent running skipper 4 846 Last post 17-10-2007, 20:28:41
by cobie2
Theme by m3talc0re. Powered by SMF | SMF © 2011, Simple Machines MySQL | PHP | XHTML | CSS
Back To Top