• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Quick Modding Questions Thread

The black & white icons are not referenced anywhere in the XML. All you have to do is place the file in the same location as the color file, with _d added to the name. So if your Druidry icon is named Druidry.dds, create an identical grayscale dds and save it as Druidry_d.dds.

Ahhh perfect. Thank you! :)
 
In CIV4UnitArtStyleTypeInfos, you can define the art of units through use of the 'EarlyArtDefineTag', 'MiddleArtDefineTag, and 'LateArtDefineTag'.

Two questions:

1. Can you add a fourth artdefine tag?

For example having a second art define tag, renaming them AncientArt, EarlyArt, MiddleArt, and then LateArt

2. which .xml file contains the information on these ArtDefineTag's?... For example, how does the game know WHEN to switch to another ArtDefineTag?

Any help is much appreciated! :)
 
1) needs SDK work
2) early = first 2 eras, middle next 2 eras, late last 2 eras.
I think Embryodead had a more precise description 1 or 2 pages ago.

Perfect. I followed your link 2 pages back... led me to Tholish, who has now updated his artdefinetag mod to 3.19, so will test that out. Link is here

Will test that out. Thanks!!
 
AHA!! That might just be the problem! checking to see if they work again cheers guys :)

ok that fixed it :-)

I think I must have messed up the shadow settings on my new animals though because they cast a shadow about 10 squares! it was pretty terrifying when they first arrived as the whole land went dark!!
 
yeah I know the units graphics could be done i was just hoping I could do buttons the same way if some one made a mod for it, cause I have a lot of civ specific unit buttons and I was hoping to use them without having to make completely new units in game as that removes the usefulness of the civ specific art references..
 
I have one problem, i am edit XML files (unitclassinfos and unitinfos and CIV4ArtDefines_Unit) i am put some new units and when i finished this and start mod i get Windows DON'T SEND MESSAGE (i get message on XML loading). I delete everything which i am add today and when i start mod again i get Windows DON'T SEND MESSAGE again on XML loading, What to do?...
 
Sounds like if you have added a new unit/changed a unit, and changed the ART_DEF_XY entry, and forgot to change the related ART_DEF_XY entry in ArtDefines_units.xml.

Debug dll should help to find out where the problem is (if you don't use a custom .dll, then you can use the debug dll from the download database).
 
Sounds like if you have added a new unit/changed a unit, and changed the ART_DEF_XY entry, and forgot to change the related ART_DEF_XY entry in ArtDefines_units.xml.

Debug dll should help to find out where the problem is (if you don't use a custom .dll, then you can use the debug dll from the download database).

Yes i add and i am test now. Problem is ArtDefines_units.xml. I don't learn debuging yet if you think on SDK work. I am copy NEXT WAR MOD and in this new NEXT WAR MOD i copy my ArtDefines_units.xml. and i get DON'T SEND error on XML loading, after i replace my ArtDefines_units.xml. with NextWar ArtDefines_units.xml. and this NEW NEXT WAR MOD working correctly. But when i copy some other ArtDefines_units.xml. in my mod i again get DON'T SEND error on XML loading.
 
You are probably basing your entries on the wrong version of the file. The BtS version of a UnitArtInfo entry has some tags that the original, no expansion, version did not have. You need those tags.
 
Back
Top Bottom