Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Creation/AI/Mods/Scenarios > Getting CTPEdit to work
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:25
  Old Post 12-02-2005 12:21
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Getting CTPEdit to work Put an end to popups!

I've downloaded CTPEdit and I'm trying to get it to work with basically some copied files with a different extension. I changed gamefile and read from gamefile. This went OK, but whenever i save and load i get a type 13 runtime error (type mismatch). Does anyone know how to solve this?

Incidentally, how do you edit the Great Library?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 12-02-2005 21:15 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Remove this text

I wouldn't replace extensions, I would replace the prefixes of the files. However the important stuff is that you replace the original files by your new file names in your gamefile.txt. Another thing is that you can open an additional version of the file you are editing, for comparision for instance.

You can also modify the Great Library, but for that you have to ask John, as I have never messed around so much with this part of the program.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:25
  Old Post 12-02-2005 22:09 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Inflate your Upload Space

quote:
Originally posted by tombom
I've downloaded CTPEdit and I'm trying to get it to work with basically some copied files with a different extension. I changed gamefile and read from gamefile. This went OK, but whenever i save and load i get a type 13 runtime error (type mismatch). Does anyone know how to solve this?


Hmm... It's been a long time since I worked on this, but it shouldn't give type mismatch errors under any circumstances - could you please explain what you are doing in more detail?

quote:
Incidentally, how do you edit the Great Library?


Through Tools -> Great Library.

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:25
  Old Post 13-02-2005 12:05
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization 2

Using Create from Gamefile, I can get CTC to have a saved project file and load it again. However, a mod I'm working on will save, but not load, giving a type mismatch.

I'm not entirely sure about how to choose the right great library. If I type in a file name in the Great library box, where does that get the file from?

i meant prefix, sorry.

Last edited by tombom on 13-02-2005 at 12:33

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 13-02-2005 20:57 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase Your PM Length

The file is taken from the modded gamefile.txt, and the most logical thing to do if the gamefile doesn't contain any own Great_Library.txt is to use the default one. However for a ModSwapper mod it is essential to define an own Great_Library.tx and an own newsprite.txt even if they are just copies of the original one to prevent any problems with ModSwapper.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:25
  Old Post 15-02-2005 03:17 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Got spare money?

quote:
Originally posted by tombom
Using Create from Gamefile, I can get CTC to have a saved project file and load it again. However, a mod I'm working on will save, but not load, giving a type mismatch.


My best guess is that this is due to CTPEd trying to interperet some floating point field value as an integer... If you post the files you're working on here I could probably find the problem quite quickly.

quote:
I'm not entirely sure about how to choose the right great library. If I type in a file name in the Great library box, where does that get the file from?


Which Great Library box?

quote:
i meant prefix, sorry.


Sorry, you lost me... I hope Martin understood you better.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0310 seconds (85.94% PHP - 14.06% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net