Thread Tools
Old July 23, 2003, 16:29   #1
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
Computer-controlled units!
Hi all!

As I was toying with hex-editor in order to discover where the agglomerate work of settlers is stored, I discover something very interesting. In MGE (I've not checked it in other versions) if you put the leftmost bit of the 6th byte of a unit to 1, you get that unit controlled by the AI! If you are in war against a civ, the AI would launch this unit again the nearest city; if not, the unit will roaming free or enter in a city and don't move. For trade units, the AI will try to create a trade route.

I wonder if having computer-controlled units in human's civ is interesting for scen-creators.

BTW, regrettabily enough, is very easy to get rid off of "AI-control": only by clicking in the unit you put the unit in manual mode
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old July 23, 2003, 16:42   #2
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
Yep... I discovered that too a while ago. It's the bit that turns your settlers into automated settlers, and works for all units (although you need hexediting to achieve it for anything other than settlers)... So it works in FW as well.

No, I don't think I have any other things up my sleeve... Not written down anyway.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

Last edited by Mercator; July 23, 2003 at 16:55.
Mercator is offline  
Old July 23, 2003, 17:05   #3
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
Oppss, sorry Mercartor. I didn't want to take out your credit I didn't know

I've though that if you put your starting army as "invisible" and AI-controlled, and allow it to move for some turns before starting a war in a scen, you could "randomize" the starting positions of the army. What do you think?
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old July 23, 2003, 17:20   #4
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
I didn't tell anybody, that's why you didin't know. So take all the credit you want.

How would you go about making it invisible, and make sure the player really keeps his hands off it for those few turns?

I guess it could be used as some sort of a surprise or micromanagement reduction thing. I'm not sure if I can think of any concrete examples, though... But damnit, it must be good for SOMETHING!
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old July 23, 2003, 17:26   #5
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
Quote:
Originally posted by Mercator
How would you go about making it invisible, and make sure the player really keeps his hands off it for those few turns?
You couldn't be sure, but if the units have non support and are invisible, you have to gess where they are in order to delete their orders
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old July 23, 2003, 20:03   #6
Elok
Scenario League / Civ2-Creation
Emperor
 
Elok's Avatar
 
Local Time: 02:10
Local Date: November 2, 2010
Join Date: Mar 2003
Location: Having tea with the Third Man...
Posts: 6,169
What happens if you automate a diplomat or spy? I somehow doubt it, but could you have a little Gavril Princip unit running amok?
__________________
"May I be forgiven for the ills that I have done/Friends I have forsaken and strangers I have shunned/Sins I have committed, for which others had to pay/And I haven't met the whiskey that can wash those stains away."
-Brady's Leap, "Wash."
Elok is offline  
Old July 24, 2003, 00:09   #7
techumseh
Civilization II PBEMScenario League / Civ2-Creation
Emperor
 
techumseh's Avatar
 
Local Time: 00:10
Local Date: November 2, 2010
Join Date: Apr 1999
Location: of the frozen North.
Posts: 4,197
Interesting! Could you edit a specific type of unit so that if it were created by events, it would automatically operate independently?
__________________
Tecumseh's Village, Home of Fine Civilization Scenarios

www.tecumseh.150m.com
techumseh is offline  
Old July 24, 2003, 05:25   #8
Heresson
Scenario League / Civ2-CreationNationStates
Emperor
 
Heresson's Avatar
 
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Jun 2000
Location: of syrian frogs
Posts: 6,772
You could simulate vassals or something...
__________________
"I realise I hold the key to freedom,
I cannot let my life be ruled by threads" The Web Frogs
Middle East!
Heresson is offline  
Old July 24, 2003, 10:26   #9
techumseh
Civilization II PBEMScenario League / Civ2-Creation
Emperor
 
techumseh's Avatar
 
Local Time: 00:10
Local Date: November 2, 2010
Join Date: Apr 1999
Location: of the frozen North.
Posts: 4,197
Quote:
Originally posted by Heresson
You could simulate vassals or something...
Naval vassals?
__________________
Tecumseh's Village, Home of Fine Civilization Scenarios

www.tecumseh.150m.com
techumseh is offline  
Old July 24, 2003, 10:41   #10
DarthVeda
Emperor
 
DarthVeda's Avatar
 
Local Time: 02:10
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
So what does an enemy civ's units look like with this bit? Can you turn it off? Then you have enemy/allied units to control...
DarthVeda is offline  
Old July 24, 2003, 11:04   #11
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 01:10
Local Date: November 2, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Arggggghhhh.
Tech, that was AWFUL!!!

__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old July 26, 2003, 16:41   #12
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
tech: I'm not able to create AI-controlled units via events, sorry

DarthVeda: Good idea. I'm going to check it, but I don't believe that you can control enemy units

Elok: They probably will roam, but I'll check it
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old July 26, 2003, 17:25   #13
techumseh
Civilization II PBEMScenario League / Civ2-Creation
Emperor
 
techumseh's Avatar
 
Local Time: 00:10
Local Date: November 2, 2010
Join Date: Apr 1999
Location: of the frozen North.
Posts: 4,197
Too bad. Anyway, thanks for the new (and almost new ) research. Keep it up!
__________________
Tecumseh's Village, Home of Fine Civilization Scenarios

www.tecumseh.150m.com
techumseh is offline  
Old July 26, 2003, 18:00   #14
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
Well, one of my projects is doing a super-extendend MACRO language for Civ2 MGE. With the macro-language I'm thinking in it, it'll be possible...

If I end quickly the third version of Civ2PBEM Diplomacy there will be a "window" of time for my to do that macro-language...
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav is offline  
Old July 26, 2003, 19:36   #15
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
You'd better talk to Angelo "CSPL" Scotto.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old July 28, 2003, 16:24   #16
yaroslav
Civilization II MultiplayerCivilization II PBEMSpanish CiversCivilization II Democracy Game: ExodusScenario League / Civ2-CreationApolytoners Hall of Fame
Emperor
 
yaroslav's Avatar
 
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
Darthveda: The computer controlled units have this bit disabled. Enabling this only put the unit under "auto mode", but stills the AI controls it. I've checked in order to see if the AI acts different when the unit is in "auto mode", but it appears to me that the AI doesn't do that.

Elok: They roam. However, a little more research on that topic is needed
__________________
Trying to rehabilitateh and contribuing again to the civ-community
yaroslav 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 02:10.


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