Modding Question(s)

Moderators: Pandora Moderators, Slitherine Core

Post Reply
lsc9x
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 22
Joined: Wed Nov 20, 2013 8:12 pm

Modding Question(s)

Post by lsc9x »

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!
mugged
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 10
Joined: Sun Jan 05, 2014 8:03 pm

Re: Modding Question(s)

Post by mugged »

“/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.
Sammael
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 5
Joined: Mon Feb 10, 2014 12:23 am

Re: Modding Question(s)

Post by Sammael »

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
blackarchon
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 45
Joined: Sat Oct 12, 2013 2:25 pm
Location: Germany

Re: Modding Question(s)

Post by blackarchon »

You must add the description of your building to "Data\Core\Languages\{English,German}\Buildings.xml".
mrowka
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 59
Joined: Sat Feb 15, 2014 12:07 pm

Re: Modding Question(s)

Post by mrowka »

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 :D
Post Reply

Return to “Pandora : Modders Corner”