View unanswered posts | View active topics It is currently 26 Nov 2024, 23:56



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...)

Image

_________________
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!!!
Image


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:

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


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

Joined: 11 Aug 2005, 01:00
Posts: 2688
Matress_of_evil wrote:
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:

My first guess would be that the upgrade option/obsoleted item aren't in the player empire's tech tree. If they aren't in the player empire's tech tree, they won't show up (unless IsUniversallyAvailable=true). That's why, for example, you don't see the medium Cardassian shipyard as an upgrade option for the small Federation shipyard when playing as the Federation, but you would see it as an upgrade option on a conquered Federation planet when playing as the Cardassians.

_________________
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.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


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.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


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!!!
Image


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 5 guests


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.