Mod-Modders Guide to Fall Further

Is there a way to create unitclasses without python. If not, is the python complicated(I have some expirience with it, but not much).
 
I have tried just adding already, but their invalad. They don't work. Is there a reson for this. I just copy one of the existing ones, and edit.
 
I didn't need to do anything other than make a new class and give it the data in xml.

Post your code, maybe something's out of place?
 
This is it...
Spoiler :

<UnitClassInfo> <!-- KAITOU -->
<Type>UNITCLASS_KAITOU</Type>
<Description>TXT_KEY_UNIT_KAITOU</Description>
<iMaxGlobalInstances>1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
<iInstanceCostModifier>0</iInstanceCostModifier>
<DefaultUnit>UNIT_KAITOU</DefaultUnit>
</UnitClassInfo>

I know you can't see it, but the <UnitClassInfo> tags are farther left than the rest of the text. The fourm won't let me format it properly...
 
Where "spoiler" hides text "code" tags should preserve formatting.

Is there a specific XML loading error you get when trying out your new unit/class?
 
Hmm... that's weird. Last night I got errors every time, but now... it seems to work fine. I wonder what I did...
 
Is there a way to create unitclasses without python. If not, is the python complicated(I have some expirience with it, but not much).
There is no way to create them with python. This is a purely XML thing.
 
It works fine now. I was probobly too tired to see the error last night. However, I can never manage to find the art files. Am I blind, because every time I go into the asets/art folder, there is very little there.
 
It's not a matter of extrating them, there's nothing there to extract. I got that dowload and I still can't see the flags or leader heads.
 
What are you using to edit XML? The format of files like CIV4PromotionInfos makes them hard to follow using Notepad.
 
I use Crimson Editor. It works really well and lets you open multiple files in tabs ala firefox. Great for civ iv modding.
 
Hi folks,

first time attempt at compiling the SDK 1.61 source with the FF mods. (Why? I'm not sure I'm interested in being a modder, but lately I'm getting way too many crashes, so I thought I'd try to lend a hand & debug them)

I'm seeing 17 compile errors that seem like straight up bugs in the source (stuff like out of scope iI var usage, etc) - I'm assuming that the H patcher isn't updating the source code in the /dll/ folder..? If so, where can I get the current head revision of build 50's .h & .cpp changes?

Thanks
 
Patches before H weren't including the source files. Pretty sure that Vehem had stated that the latest source was included with the last patch. Can't say as we ever had any issues with loop variables being used wrong, so either you have a better IDE than we've used and found some juicy bits we overlooked, or there is indeed some strange issue with the distributed files.
 
Back
Top Bottom