Bridge Commander Scripters : The New Generation
0
03-09-2010, 23:47:11 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Bridge Commander Universal Tool v1.7.6 has been released!
GET BCUT v1.7.6 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
Pages: [1]   Go Down
  Print  
Author Topic: Scripting for Red Alert  (Read 352 times)
0 Members and 0 Guests are viewing this topic.
intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

on: 07-09-2008, 12: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: 264
Offline Offline

Gender: Male
Age: 34
Location: Swansea, Massachusetts
United States United States

Posts: 3767


Blog entries (3)

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

by panels, do you mean lcars/stations?
Logged

kirk2164
Defender of All That is Good


Krama: 41
Offline Offline

Gender: Male
Age: 20
United States United States

Posts: 790


Halo TC Hardpointer

Blog entries (7)

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

BP Core already allows for map swapping.
Logged
intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

Reply #3 on: 07-09-2008, 17: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: 264
Offline Offline

Gender: Male
Age: 34
Location: Swansea, Massachusetts
United States United States

Posts: 3767


Blog entries (3)

Reply #4 on: 07-09-2008, 20: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
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

Reply #5 on: 08-09-2008, 17: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
Age: 20
United States United States

Posts: 790


Halo TC Hardpointer

Blog entries (7)

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

It's in the bridge's script in scripts\Custom\Autoload
Logged
intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

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

Thanks
Logged

intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

Reply #8 on: 17-09-2008, 18: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
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

Reply #9 on: 23-09-2008, 11: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: 264
Offline Offline

Gender: Male
Age: 34
Location: Swansea, Massachusetts
United States United States

Posts: 3767


Blog entries (3)

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

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

intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

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

Aye aye sir! i'll do that ASAP
Logged

intercity125
EliteCaptainGadget


Krama: 25
Offline Offline

Gender: Male
Age: 17
Location: Leicester
United Kingdom United Kingdom

Posts: 578


Oh, Sweet Niblets!

Blog entries (0)

Reply #12 on: 07-10-2008, 18: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
F-Tech and red alert. cobie2 5 236 Last post 02-08-2008, 01:09:51
by USS Frontier
Endgame Voyager limey98 10 1097 Last post 28-03-2008, 02:27:05
by Jb06
JL Studios Voyager Bridge Seasons 1 + 2 Retexture Jb06 2 312 Last post 14-07-2009, 12:58:31
by limey98
Silent running skipper 4 642 Last post 17-10-2007, 21:28:41
by cobie2
New Enterprise-Era Pack. « 1 2 ... 5 6 » Dave975 84 3726 Last post 22-11-2007, 02:08:14
by judgeking
Theme by m3talc0re. Powered by SMF | SMF © 2006-2009, Simple Machines LLC MySQL | PHP | XHTML | CSS
Back To Top