BCU main page Bridge Commander Universe
...welcome to the new world.
 
 FAQFAQ  RanksRanks  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Staff SiteStaff Site    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Add "Send Distress Call" capability to ships?

 
Post new topic   Reply to topic    Bridge Commander Universe Forum Index -> BC Scripting
View previous topic :: View next topic  
Author Message

ASDB_J

Lieutenant Commander
Lieutenant Commander


Age: 30
Zodiac: Pisces
Joined: 04 Mar 2002
Posts: 653

Offline

 

 



Reply with quote

Post Posted: 02-08-2007 11:22 PM Post subject: Add "Send Distress Call" capability to ships?

I can't send a distress call with some federation ships, and yet some newly-installed ships (like the Titan) have no problem sending one... how do I go about making it possible for any other particular ship to call for help?


_________________

http://asdb.homestead.com
http://www.trekships.org
http://stmultiverse.homestead.com/

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address

Defiant

Free "as in Free Speech" Engineer
Admiral
Admiral


Age: 26
Zodiac: Capricorn
Joined: 27 Jan 2003
Posts: 2337
Location: Hamburg, Germany
Offline

 

 



Reply with quote

Post Posted: 02-09-2007 07:53 AM Post subject:

What is the problem with it?


_________________
BC Modification Kobayashi Maru

--
Whenever you find that you are on the side of the majority, it is time to reform.
-- Mark Twain

Back to top
View user's profile Send private message Send e-mail Visit poster's website

ASDB_J

Lieutenant Commander
Lieutenant Commander


Age: 30
Zodiac: Pisces
Joined: 04 Mar 2002
Posts: 653

Offline

 

 



Reply with quote

Post Posted: 02-10-2007 05:59 AM Post subject:

With certain ships (like my Stargazer-A modified Intrepid Class, for instance), when you click on "Send Distress Signal" it will make a sound but not darken or complete the command (Kiska says nothing).

How do I go about making it possible for the Stargazer-A, or any other ship, to send a distress signal? Is there code I have to add in the scripts\ships\hardpoints file for each or is it somewhere else...?


_________________

http://asdb.homestead.com
http://www.trekships.org
http://stmultiverse.homestead.com/

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address

Defiant

Free "as in Free Speech" Engineer
Admiral
Admiral


Age: 26
Zodiac: Capricorn
Joined: 27 Jan 2003
Posts: 2337
Location: Hamburg, Germany
Offline

 

 



Reply with quote

Post Posted: 02-10-2007 07:42 AM Post subject:

Is there anything in the console?


_________________
BC Modification Kobayashi Maru

--
Whenever you find that you are on the side of the majority, it is time to reform.
-- Mark Twain

Back to top
View user's profile Send private message Send e-mail Visit poster's website

ASDB_J

Lieutenant Commander
Lieutenant Commander


Age: 30
Zodiac: Pisces
Joined: 04 Mar 2002
Posts: 653

Offline

 

 



Reply with quote

Post Posted: 02-10-2007 06:56 PM Post subject:

I'm handy at a lot of BC things, but I've actually never gotten into the "console" thing - does that come up when you press a button during gameplay? What should I look for? Thanks for looking into it personally, Defiant. =)


_________________

http://asdb.homestead.com
http://www.trekships.org
http://stmultiverse.homestead.com/

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address

JimmyB76

Fleet Admiral
Fleet Admiral


Age: 33
Zodiac: Leo
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA
Offline

 

 



Reply with quote

Post Posted: 02-11-2007 09:41 PM Post subject:

ASDB_J wrote:
With certain ships (like my Stargazer-A modified Intrepid Class, for instance), when you click on "Send Distress Signal" it will make a sound but not darken or complete the command (Kiska says nothing).
actually, i have observed this as well... next time i encounter this, ill get a console report...

ASDB_J wrote:
I'm handy at a lot of BC things, but I've actually never gotten into the "console" thing - does that come up when you press a button during gameplay?
ya - MLeo made a thread in the Tech Support Forum about creating console reports... (the stickied one, called How To Beat The Black Screen of Death and Script Problems)


_________________
--------------------

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger

ASDB_J

Lieutenant Commander
Lieutenant Commander


Age: 30
Zodiac: Pisces
Joined: 04 Mar 2002
Posts: 653

Offline

 

 



Reply with quote

Post Posted: 02-12-2007 07:53 AM Post subject:

Here's a console report (cropped screencap) with my Stargazer-A.


_________________

http://asdb.homestead.com
http://www.trekships.org
http://stmultiverse.homestead.com/

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address

sfc3fan

Lieutenant Commander
Lieutenant Commander


Age: 21
Zodiac: Scorpio
Joined: 24 May 2003
Posts: 538
Location: The Edge of a new frontier
Offline

 

 



Reply with quote

Post Posted: 02-12-2007 01:57 PM Post subject:

If im not mistaken you need to modify the ships species to be federation:

Open the following file:

Scripts/Custom/Ships/"ShipName".py
Search for the following line of code:

Code:
Foundation.ShipDef."ShipName" = Foundation.ShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, "SubMenu": SubMenu, 'shipFile': shipFile })


Change the code to make the ship Federation The code should now read like below:

Code:
Foundation.ShipDef."ShipName" = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile })


Where "ShipName" is the name of the ship giving you the issue (Without the quotation marks.)


_________________
"I have So Many Ideas and So little time to do them" Rob Archer Of Star Trek: New Frontier Project

Back to top
View user's profile Send private message

ASDB_J

Lieutenant Commander
Lieutenant Commander


Age: 30
Zodiac: Pisces
Joined: 04 Mar 2002
Posts: 653

Offline

 

 



Reply with quote

Post Posted: 02-12-2007 09:35 PM Post subject:

Thanks, that seems to have fixed the problem!


_________________

http://asdb.homestead.com
http://www.trekships.org
http://stmultiverse.homestead.com/

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address

JimmyB76

Fleet Admiral
Fleet Admiral


Age: 33
Zodiac: Leo
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA
Offline

 

 



Reply with quote

Post Posted: 02-12-2007 11:10 PM Post subject:

that seems to have been my issue as well...


_________________
--------------------

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger

sfc3fan

Lieutenant Commander
Lieutenant Commander


Age: 21
Zodiac: Scorpio
Joined: 24 May 2003
Posts: 538
Location: The Edge of a new frontier
Offline

 

 



Reply with quote

Post Posted: 02-13-2007 01:36 PM Post subject:

Glad I could help


_________________
"I have So Many Ideas and So little time to do them" Rob Archer Of Star Trek: New Frontier Project

Back to top
View user's profile Send private message

Defiant

Free "as in Free Speech" Engineer
Admiral
Admiral


Age: 26
Zodiac: Capricorn
Joined: 27 Jan 2003
Posts: 2337
Location: Hamburg, Germany
Offline

 

 



Reply with quote

Post Posted: 02-16-2007 09:56 AM Post subject:

Thats correct. That line tells Foudantion which Race this ship belongs to.

And distress call needs this information from Foundation.


_________________
BC Modification Kobayashi Maru

--
Whenever you find that you are on the side of the majority, it is time to reform.
-- Mark Twain

Back to top
View user's profile Send private message Send e-mail Visit poster's website

Picard_1

Cadet 4th Class
Cadet 4th Class




Joined: 20 Oct 2006
Posts: 7

Offline

 

 



Reply with quote

Post Posted: 09-04-2007 05:03 AM Post subject: Ship def

So does that cover federation ships only? What about non-federation ships, or ships that use the cloakfire def in the ship script?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic

All times are GMT

Page 1 of 1
   Bridge Commander Universe Forum Index -> BC Scripting
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Bridge Commander Universe is a Nightsoft company. All rights reserved.