| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Lt. of Mordor
Join Date: Jan 2008
Location: St.Petersburg, Russian Federation
Posts: 2,823
|
A question about "costs gold"
Greetings! I have a question regarding cloaking device/cloak which costs 50 gold.
I think I've copied your code for iGoldCost to my dll and compiled it just fine, but when I try to use it, it suddenly tells me that it cannot load Civ4UnitClassInfos.xml for some reason... I mean when I write the line with gold cost in the unit schema. I thought that it would be useful to ask here, because you have it working.
__________________
My Buildings For Civilization"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu |
|
|
|
|
|
#2 |
|
Deity
![]() Join Date: Apr 2006
Location: New York State
Posts: 4,859
|
My gold cost is for promotions, so it has to go in the promotion section. You might want to just copy my schema to make sure everything works - nothing bad will happen if a tag exists in the schema but not the DLL.
__________________
Mods: Convert Production to Espionage, FinalFronterFlat, The Road to War Ultimate Edition for BtS 3.19, Star Trek |
|
|
|
|
|
#3 |
|
Lt. of Mordor
Join Date: Jan 2008
Location: St.Petersburg, Russian Federation
Posts: 2,823
|
I think it was some missing symbol or something... I used your schema and it worked. Then I've updated my schema and it worked too, although I've used the same code. Thank you for the answer
.
__________________
My Buildings For Civilization"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Real 'Near Future': "Mechs","Super Tanks","Super Soldiers","Space Elevator",Etcetera | Wade. | Civ4 - General Discussions | 89 | Jul 15, 2009 08:20 PM |
| PolyCast Episode 29 with "Impaler[WrG]", "GarretSidzaka" and "Elhoim" | DanQ | Civ4 - General Discussions | 13 | Oct 26, 2007 10:57 PM |
| Question: How to go from "TXT_KEY_CIV_AMERICA_ADJECTIVE" to just plain "American"? | RogerBacon | Civ4 - Creation & Customization | 4 | Feb 04, 2006 10:52 AM |