Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Star Trek Mod

Notices

Reply
 
Thread Tools
Old Mar 11, 2010, 11:58 AM   #1
Deon
Lt. of Mordor
 
Deon's Avatar
 
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
Deon is offline   Reply With Quote
Old Mar 12, 2010, 10:44 AM   #2
deanej
Deity
 
deanej's Avatar
 
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.
deanej is offline   Reply With Quote
Old Mar 12, 2010, 11:56 AM   #3
Deon
Lt. of Mordor
 
Deon's Avatar
 
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
Deon is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Star Trek Mod > A question about "costs gold"

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 01:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR