Thread Tools
Old March 4, 2004, 01:58   #1
AGRICOLA
Scenario League / Civ2-Creation
King
 
AGRICOLA's Avatar
 
Local Time: 14:43
Local Date: November 2, 2010
Join Date: Feb 2003
Location: Canadian bush & Florida
Posts: 1,588
What can be done with hex-editing
In an earlier thread on this forum (Can a destroyed Wonder be hexed back to life? started by curtsibling), Harry Tuttle voiced his opinion that

Quote:
You know, it would be really cool if someone could make a compendium of what can be hexed...
I spent a bit of time on this and was surprised at how much can be changed by using the various cheat menus without needing to resort to hex editing.

Here are the unexpectedly few things that, as far as I know, can be accomplished only by hex-editing a game or scenario file.

1. Wonders - destroy, revive or move to another city.

2. Units - change number of charges on pre-charged settlers/engineers.

3. Terrain - add river to a terrain square.

4. Cities - remove food trade route

5. Technology - change the number of accumulated flasks

6. Civilizations - change diplomatic status (peace, war etc.); change reputation of a civilization

7. Global - delete or change level of global warming; change turn number or level of difficulty in mid-game; remove cheat flag

Please post any corrections, additions or comments. As I'm completely unfamiliar with the specialized CIV II edit software that has been developed there may be too many items on the list.

I'll revise the list in due time.
__________________
Excerpts from the Manual of the Civilization Fanatic :

Money can buy happiness, just raise the luxury rate to 50%.
Money is not the root of all evil, it is the root of great empires.

Last edited by AGRICOLA; March 4, 2004 at 02:06.
AGRICOLA is offline  
Old March 4, 2004, 02:26   #2
rmsharpe
Scenario League / Civ2-Creation
Prince
 
rmsharpe's Avatar
 
Local Time: 13:43
Local Date: November 2, 2010
Join Date: Aug 2001
Location: Minneapolis
Posts: 610
Re: What can be done with hex-editing
Quote:
Originally posted by AGRICOLA
In an earlier thread on this forum (Can a destroyed Wonder be hexed back to life? started by curtsibling)
Yes, it can, and I did it for him for Vendetta 2.

Quote:
Here are the unexpectedly few things that, as far as I know, can be accomplished only by hex-editing a game or scenario file.
Some of them can be done through cheat mode, I've gone through them below.

Quote:
1. Wonders - destroy, revive or move to another city.
You can destroy a wonder by destroying the city (after all units in the city have been destroyed by pressing Ctrl-Shift-D) under the cheat mode. Shift-D will delete the city.

Quote:
2. Units - change number of charges on pre-charged settlers/engineers.
I don't understand what you mean here.

Quote:
3. Terrain - add river to a terrain square.
Yes, this must be done through a hex editor.

Quote:
4. Cities - remove food trade route
This can be done through CivCity, a popular utility used to modify .sav and .scn files.

Quote:
5. Technology - change the number of accumulated flasks
This can be done in cheat mode. Go to Cheat, select Edit King, choose which civilization, and select Set Research Progress.

Quote:
6. Civilizations - change diplomatic status (peace, war etc.); change reputation of a civilization
Similar to research, you do the same thing but instead of selecting Set Research Progress, you select Edit Treaties.

Quote:
7. Global - delete or change level of global warming; change turn number or level of difficulty in mid-game; remove cheat flag
Yes, this must also be done through a hex editor.

Hope I covered all bases okay.
__________________
-rmsharpe
rmsharpe is offline  
Old March 4, 2004, 07:44   #3
AGRICOLA
Scenario League / Civ2-Creation
King
 
AGRICOLA's Avatar
 
Local Time: 14:43
Local Date: November 2, 2010
Join Date: Feb 2003
Location: Canadian bush & Florida
Posts: 1,588
Quote:
Originally posted by rmsharpe

Quote:
2. Units - change number of charges on pre-charged settlers/engineers.
I don't understand what you mean here.

If you put an engineer or settler to work (usually irrigate, mine or transform) and "wake" them before the work is completed, they retain the number of turns they have worked. Then, if they are put to work on another project the retained turns count towards the completion of the new project.

A very simple example would be that, if an engineer starts to irrigate a square on turn 1 and is activated at the beginning of turn 2, it can then be moved to a new location where it will by itself immediately complete a 2-turn project such as build a fortress, an airfield or a RR on plains or grassland that already has a road.

There is a current thread, "precharged engineers???" by boychuk in CFC's Civ2 - Strategy & Tips forum that deals with this in some detail.
__________________
Excerpts from the Manual of the Civilization Fanatic :

Money can buy happiness, just raise the luxury rate to 50%.
Money is not the root of all evil, it is the root of great empires.
AGRICOLA is offline  
Old March 4, 2004, 09:05   #4
Cifer Almasy
Scenario League / Civ2-Creation
Prince
 
Cifer Almasy's Avatar
 
Local Time: 18:43
Local Date: November 2, 2010
Join Date: Jan 2003
Location: Freiburg i. Br.
Posts: 331
Ah well... ehm could one of you guys help a little?
I got a problem.
In the working progress of my scenario which shall be stackable I didnt realize the need of an urban terrain with a high defensive bonus under every single city´s square to balance the relation of defence to all the fortesses outside.
I have placed about 20 citys yet but 2 of them got wonders inside and deleting them would make them lost, also I micromanaged every single one of it yet.

My request would be, if one of you could perhaps be so gentle and hex edit a "glacier" terrain under every existing city in my save (it really are not much citys yet). That would be too kind!
Cifer Almasy is offline  
Old March 4, 2004, 09:07   #5
Cifer Almasy
Scenario League / Civ2-Creation
Prince
 
Cifer Almasy's Avatar
 
Local Time: 18:43
Local Date: November 2, 2010
Join Date: Jan 2003
Location: Freiburg i. Br.
Posts: 331
Oh sorry... the save:
Attached Files:
File Type: sav create1.sav (443.4 KB, 4 views)
Cifer Almasy is offline  
Old March 4, 2004, 10:42   #6
AGRICOLA
Scenario League / Civ2-Creation
King
 
AGRICOLA's Avatar
 
Local Time: 14:43
Local Date: November 2, 2010
Join Date: Feb 2003
Location: Canadian bush & Florida
Posts: 1,588
You have 32 cities. I assume you would want all of them on a glacier. Have you considered that this might do some very unpleasant things to the food supply of the smaller cities.

I've looked at the cities and most have very few improvements. The easiest way to do what you want would be for you to use the cheat mode to to raze them, change the terrain, rebuild and add the improvements. It shouln't take more than 5 minutes per city. Don't worry about the lost wonders. The attached file has been hex edited so that they have not yet been built in London or Berlin.

This is one situation where hex-editing terrain is not the easiest way.

Good luck with your scenario.
Attached Files:
File Type: sav create2.sav (443.4 KB, 6 views)
__________________
Excerpts from the Manual of the Civilization Fanatic :

Money can buy happiness, just raise the luxury rate to 50%.
Money is not the root of all evil, it is the root of great empires.

Last edited by AGRICOLA; March 4, 2004 at 10:57.
AGRICOLA is offline  
Old March 4, 2004, 12:02   #7
Cifer Almasy
Scenario League / Civ2-Creation
Prince
 
Cifer Almasy's Avatar
 
Local Time: 18:43
Local Date: November 2, 2010
Join Date: Jan 2003
Location: Freiburg i. Br.
Posts: 331
Thanks a lot!
Well Glacier will be renamed "City" or "urban" or else and have a higher # of food of course.
And dont worry about the improvements- I hadnt finished setting improvements inside most of the citys.

Many many thanks one more time.
Cifer Almasy is offline  
Old March 4, 2004, 16:51   #8
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 19:43
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
I'll add this to global:

To slow/accelerate the tech rate of a civ.

You can do it easily by changing the number of tech byte, discovered by great hex-editer SlowThinker.

I modified the famous, excelent Imperialism 1870 v2 of Exile because some players were finding it to go too quickly and Exile said that high tech paradigm values caused problems. I increased number of techs of all civs (except barbarians) so now the research is a slot slower.
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old March 5, 2004, 10:08   #9
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 20:43
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
Re: What can be done with hex-editing
Quote:
Originally posted by AGRICOLA
3. Terrain - add river to a terrain square.
This should be common knowledge by now... You don't need to hexedit this. It's even in the Hints, Tips & Guides subforum:
http://apolyton.net/forums/showthrea...threadid=66105
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old March 5, 2004, 11:41   #10
rmsharpe
Scenario League / Civ2-Creation
Prince
 
rmsharpe's Avatar
 
Local Time: 13:43
Local Date: November 2, 2010
Join Date: Aug 2001
Location: Minneapolis
Posts: 610
Maybe he doesn't want to fool around with crazy coal, goofy graphics, and the rules.txt
__________________
-rmsharpe
rmsharpe is offline  
Old March 5, 2004, 15:03   #11
Panda
Prince
 
Local Time: 18:43
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Europe
Posts: 744
You don't need to hexedit terrain under a city either: just amend the rules.txt so that terrain can be irrigated to turn into Glacier (or whatever) in one turn. Then create settlers for those civs in those cities, irrigate, then disband. Simple.
__________________
"I didn't invent these rules, I'm just going to use them against you."
Panda is offline  
Old March 5, 2004, 23:19   #12
Harry Tuttle
SporeScenario League / Civ2-Creation
King
 
Harry Tuttle's Avatar
 
Local Time: 13:43
Local Date: November 2, 2010
Join Date: Mar 2003
Location: Cleveland, Ohio
Posts: 2,207
Thanks for bringing this up again Agricola. I thought a very good statement on what can be done with hex editing would be useful to all scenario creators, old and new.

Mercator, speaking of civ2 hacks, anything new with the auto file swapper?
Harry Tuttle is offline  
Old March 6, 2004, 06:04   #13
AGRICOLA
Scenario League / Civ2-Creation
King
 
AGRICOLA's Avatar
 
Local Time: 14:43
Local Date: November 2, 2010
Join Date: Feb 2003
Location: Canadian bush & Florida
Posts: 1,588
@rmsharpe

Quote:
Originally posted by rmsharpe
Maybe he doesn't want to fool around with crazy coal, goofy graphics, and the rules.txt
Thank you, but you're giving me credit for knowledge I do not have. I'm sure that Mercatore Uno is right in saying that

Quote:
Originally posted by Mercatore Uno
This should be common knowledge by now... You don't need to hexedit this.
I really have no expertise in the more esoteric tricks of the scenario designer's art. The posts on this thread have been a real eye-opener to me.
__________________
Excerpts from the Manual of the Civilization Fanatic :

Money can buy happiness, just raise the luxury rate to 50%.
Money is not the root of all evil, it is the root of great empires.
AGRICOLA is offline  
Old March 6, 2004, 11:23   #14
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 20:43
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
Quote:
Originally posted by Harry Tuttle
Mercator, speaking of civ2 hacks, anything new with the auto file swapper?
Ahem... It's been done since the last time I posted about it. But all sorts of personal problems have prevented me from writing the documentation, so I haven't released it yet... But thanks for reminding me... That doesn't mean I will actually finish it now, though.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old March 6, 2004, 20:15   #15
Harry Tuttle
SporeScenario League / Civ2-Creation
King
 
Harry Tuttle's Avatar
 
Local Time: 13:43
Local Date: November 2, 2010
Join Date: Mar 2003
Location: Cleveland, Ohio
Posts: 2,207
Ahhhhhh! What if I ask really nicely?
Harry Tuttle is offline  
Old March 8, 2004, 14:01   #16
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 20:43
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
I've made some progress yesterday. With a bit of luck, it'll be done by next weekend, including lengthy documentation.
In the worst case, I forget about it again until you remind me some months from now... After which the same process repeats. I get a little closer to finishing it and quit again. In that case, it'll be about done by the end of this year.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old March 8, 2004, 23:09   #17
Harry Tuttle
SporeScenario League / Civ2-Creation
King
 
Harry Tuttle's Avatar
 
Local Time: 13:43
Local Date: November 2, 2010
Join Date: Mar 2003
Location: Cleveland, Ohio
Posts: 2,207
Hey, better than nothing.
Harry Tuttle is offline  
 

Bookmarks

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 On

Forum Jump


All times are GMT -4. The time now is 14:43.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team