.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   SEV Modders Knowledge Base (http://forum.shrapnelgames.com/forumdisplay.php?f=154)
-   -   Facility Limitations> (http://forum.shrapnelgames.com/showthread.php?t=36303)

MrToxin October 4th, 2007 06:49 PM

Facility Limitations>
 
Can you limit facilities to one per planet or one per empire? I don't see how it can be done but I tend to overlook things.

Ed Kolis October 4th, 2007 09:24 PM

Re: Facility Limitations>
 
As of the upcoming patch, you will be able to limit them to "one per planet", as the hardcoded "one SY per planet" limitation has been removed and in its place is a set of functions which, among other things, can be used to limit facilities (such as space yards as in the stock game) to one per planet.

As for "one per empire", I'm not sure - I haven't looked at the new functions in too much detail. One per system, perhaps, but I'm not so sure about one per empire...

MrToxin October 5th, 2007 12:03 AM

Re: Facility Limitations>
 
That makes me want this fancy new patch all that much more.

Spectarofdeath October 5th, 2007 12:48 AM

Re: Facility Limitations>
 
I don't think there is, but there should be one.

Fyron October 5th, 2007 01:09 AM

Re: Facility Limitations>
 
The facility count functions had little to do with SYs; the SY was just a natural use for them in stock.

The functions cover planets and systems, but not the whole empire.

get_planet_ability_facility_count
get_planet_specific_facility_count
get_system_ability_facility_count
get_system_specific_facility_count


All times are GMT -4. The time now is 06:51 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2019, Shrapnel Games, Inc. - All Rights Reserved.