Log in

View Full Version : SE V modding: Once-per-empire buildings


Ragnarok-X
December 1st, 2007, 07:46 PM
hey there,

i want to create a facility which requires 15k space, creates a good amount of research, increases research empire-wide by X percent AND can only be build once per empire.

Im using Lee Wilson`s SEV-Modder.
I have the "point generation - research" with "space object" and the "point generation modifier" with "galaxy - this player"

Now, i have no clue how to work out the requirements (once per empire).
Fyron wrote me:

Check out these functions:

11. Added - Formula function "get_empire_ability_facility_count".
12. Added - Formula function "get_empire_specific_facility_count".
13. Added - Formula function "get_empire_queues_ability_facility_count".
14. Added - Formula function "get_empire_queues_specific_facility_count".


I realize i require these, but i have no idea how to work them into by facilty file (true/false and/or all those buttons are too much for me).

I envy the times when i was modding SEIV: So much easier http://forum.shrapnelgames.com/images/smilies/laugh.gif

Any takers ?

Suicide Junkie
December 1st, 2007, 10:09 PM
Copy a requirement from somewhere else, such as the SY facility.

Then change it from per-planet to per-empire by swapping in those Functions Fy mentioned

Fyron
December 2nd, 2007, 08:39 AM
The modding pdf file (docs folder) should show you what parameters they take; all of the usable functions are in there.

Suicide Junkie
December 2nd, 2007, 01:20 PM
Somebody needs to convert those PDFs to plain text.
It would be so much nicer if it were searchable and without pagebreaks.

Captain Kwok
December 2nd, 2007, 04:23 PM
Umm, .pdfs are completely searchable... at least the ones that are not scans. http://forum.shrapnelgames.com/images/smilies/tongue.gif

Spectarofdeath
December 7th, 2007, 01:42 AM
So if you were to change a ordinary shipyard it would have to go from 2 requirements to 4 then?

Suicide Junkie
December 7th, 2007, 10:42 AM
Not in this particular case.
One per empire does preclude more than one per planet http://forum.shrapnelgames.com/images/smilies/laugh.gif

Spectarofdeath
December 7th, 2007, 06:48 PM
Is there a way to increase boarding party range?

Edit: Just noticed on the stock bp that the 2nd req. is Ability 2 Description := Boarding parties can only capture ships that have no shields remaining.
Can I remove this and allow them to penetrate shields then?