Hi!
I was reading through the manual about PFC, and while I didn't find any more information about playing the game (like what all the tech tree operations and items do), there was 1 gem in there - MOD DATA!
I understand that on Windows, there is a \DATA directory for the game, and a second \DATA directory that can be created for the user, and that if the second directory exists that the game uses the user dir for mod changes.
My question is: Is there anything like this on Mac? I'd really like to check out what the mod options are for the game, like tweaking UI, installing new units etc.
Thanks!
Modding Question(s)
Moderators: Pandora Moderators, Slitherine Core
Re: Modding Question(s)
“/Users/<user>/Library/Application Support/Proxy Studios/Pandora/” This is the directory for mods on the Mac. I play it on windows so I'm not sure if the folders are set up for not, they weren't in windows. Just mac sure it mirrors the /data directory. Without being able to look at how the folders are set up on the Mac, I take a guess you might have to 'show package contents' on the pandora app to look at how the /data directory is set up.
Re: Modding Question(s)
Having reviewed some of the xml files really tempted me into wanting to create a new building. So I made this building for my first try.
I utilized The Food0 and the Fungus1 tags and created this... note I did not replace the Food0 Building rather I named it Forest0
<?xml version="1.0" encoding="utf-8"?>
<building cost="256" icon="Buildings/FoodIcon" tier="1" upkeep="3">
<modifiers>
<modifier>
<effects>
<pollution sub="2"/>
<score strategy="Build" add="0.5"/>
<score strategy="ImproveFood" add="0.5"/>
</effects>
</modifier>
<modifier>
<condtions>
<territory>
<features>
<feature name="Forest"/>
</features>
</territory>
</conditions>
<effects>
<foodPerTurn add="1"/>
</effects>
</modifier>
</modifiers>
<requirements>
<group>
<player>
<technology name="Food0"/>
</player>
</group>
</requirements>
</building>
I place the file into the directory described by manual (I run Windows 7). When I launched the game I get an error message with a very long message of unintelligible text. This is the first time I have worked with xml or made a mod for that matter. Would some one kindly tell me what I am doing wrong here?
Basically I am trying to add an additional building to the game
Tree Farm
+1 Food in territories with forrest
-2 Pollution
3 Upkeep
Costs 256 Production
Uses tier0 (white) food icon
I utilized The Food0 and the Fungus1 tags and created this... note I did not replace the Food0 Building rather I named it Forest0
<?xml version="1.0" encoding="utf-8"?>
<building cost="256" icon="Buildings/FoodIcon" tier="1" upkeep="3">
<modifiers>
<modifier>
<effects>
<pollution sub="2"/>
<score strategy="Build" add="0.5"/>
<score strategy="ImproveFood" add="0.5"/>
</effects>
</modifier>
<modifier>
<condtions>
<territory>
<features>
<feature name="Forest"/>
</features>
</territory>
</conditions>
<effects>
<foodPerTurn add="1"/>
</effects>
</modifier>
</modifiers>
<requirements>
<group>
<player>
<technology name="Food0"/>
</player>
</group>
</requirements>
</building>
I place the file into the directory described by manual (I run Windows 7). When I launched the game I get an error message with a very long message of unintelligible text. This is the first time I have worked with xml or made a mod for that matter. Would some one kindly tell me what I am doing wrong here?
Basically I am trying to add an additional building to the game
Tree Farm
+1 Food in territories with forrest
-2 Pollution
3 Upkeep
Costs 256 Production
Uses tier0 (white) food icon
-
- Corporal - 5 cm Pak 38
- Posts: 45
- Joined: Sat Oct 12, 2013 2:25 pm
- Location: Germany
Re: Modding Question(s)
You must add the description of your building to "Data\Core\Languages\{English,German}\Buildings.xml".
Re: Modding Question(s)
Got my own question`s
1. How to add a duration to scan or more exacly where to add it.
2. How to change attribute( like radius) of existing operation from external source like advencment.
3. Can i cross path stuff like i.e using <attack/> from <orders> tree in <effect> tree.
Yes i know im xml noob
1. How to add a duration to scan or more exacly where to add it.
2. How to change attribute( like radius) of existing operation from external source like advencment.
3. Can i cross path stuff like i.e using <attack/> from <orders> tree in <effect> tree.
Yes i know im xml noob
