[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Star Trek Fan Games - View topic - Minor Races Structures
View unanswered posts | View active topics It is currently 03 May 2026, 16:04



Reply to topic  [ 7 posts ] 
 Minor Races Structures 
Author Message
Starfleet Ambassador to the French Peoples
Starfleet Ambassador to the French Peoples
User avatar

Joined: 19 Jul 2009, 12:25
Posts: 471
Location: Les Pennes Mirabeau (13) France
I took as example the Hardened Bunkers for a curious detail. If we look the Obsoleted Items and Upgrade Options sections below, the Hardened Bunkers make the Basic Shelters obsolete and upgrade the Heavy Bunkers:

<Building Key="MINOR_HARDENED_BUNKERS">
<TechRequirements>
<BioTech>4</BioTech>
<Energy>5</Energy>
<Computers>4</Computers>
<Construction>5</Construction>
</TechRequirements>
<BuildCost>3260</BuildCost>
<IsUniversallyAvailable>false</IsUniversallyAvailable>
<Prerequisites>
<EquivalentPrerequisites>
<Prerequisite>MINOR_BASIC_SHELTERS</Prerequisite>
</EquivalentPrerequisites>
</Prerequisites>
<ObsoletedItems>
<ObsoletedItem>MINOR_BASIC_SHELTERS</ObsoletedItem>
</ObsoletedItems>
<UpgradeOptions>
<UpgradeOption>MINOR_HEAVY_BUNKERS</UpgradeOption>
</UpgradeOptions>
<EnergyCost>25</EnergyCost>
<Restrictions>
<Restriction>OnePerSystem</Restriction>
<Restriction>HomeSystem</Restriction>
</Restrictions>
<Bonuses>
<Bonus Type="PercentGroundDefense" Amount="20" />
</Bonuses>
</Building>

In the picture below, the Obsoleted Items and Upgrade Options sections don't appears. It is a bug? (it's the same thing for the other (only) races minor structures such Combat Grid, Heavy Bunkers etc...)


_________________
I'm a Starfleet Security member. Spammers, never venture to come drag bad posts, me and my friends (admin and moderators) we are a very large army ready to battle you. Be warn!!!


10 Sep 2009, 12:56
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
That's odd. I can't see anything wrong in the code above the image that could cause this to happen. I guess Mike will have to look into the cause.

Odd... :confused:


10 Sep 2009, 20:02
Profile WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


10 Sep 2009, 21:11
Profile WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
This structure is a minor race buildable structure, and both it's upgrades and prerequisites are minor race structures too. None of these structures are included in the Empire build lists though. So that must be what has happened. These structures were intended to be for minor race defence against attack, and I didn't think that the build list could be affected when said minor race joined another empire.

If I add these structures to the build lists of the empires though, that would mean the Empires would be able to build them in their own systems. Do you know of any way around this problem, Mike?

*Edit - I just discussed this with starfleet.command. The NonNativeSystem restriction might be able to do what we need. He's going to test it.


10 Sep 2009, 22:02
Profile WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
If it's a minor race structure, then it won't show up because of a bug. I'm working on it this week. Don't add them to the empire's tech tree.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


11 Sep 2009, 03:15
Profile WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
I haven't really touched the files since the editor stopped working, Mike. That's why i've been compiling a list of fixes that need to be done instead, ready for when the editor works again. I'll leave this out until you say the game is ready.


11 Sep 2009, 10:35
Profile WWW
Starfleet Ambassador to the French Peoples
Starfleet Ambassador to the French Peoples
User avatar

Joined: 19 Jul 2009, 12:25
Posts: 471
Location: Les Pennes Mirabeau (13) France
Mike & Matress, in my demo, for the minor races structures who's got the prefix MINOR_ and the minor shipyards, i put them in:
<IsUniversallyAvailable>true</IsUniversallyAvailable>
and replace:
<Restriction>HomeSystem</Restriction>
by
<Restriction>NonNativeSystem</Restriction>

They appears now on the minor race system & in the encyclopedy.

_________________
I'm a Starfleet Security member. Spammers, never venture to come drag bad posts, me and my friends (admin and moderators) we are a very large army ready to battle you. Be warn!!!


11 Sep 2009, 12:11
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.