July 23, 2003, 16:23
|
#1
|
Emperor
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
|
A new way of stop units from moving
Hi all!
I'm pretty sure that you've seen many units in some scens that don't move. They are usually called 'Home Guards' or things like that
For these units to don't move you need to put a 0 movement value in the RULES.TXT, so you're "wasting" a unit slot.
I've discovered that is posible to prevent ANY unit from moving via hex-editing: If you put the 2th rightmost bit of the 5th byte of a unit to 1, the unit don't move - ever!
With that, you can create unit that are like any other else, but that don't move. For instance, you can put that bit on in the standards ships sited in Pearl Habor to "simulate" he Japanese attack - this way, you can assure the American fleet doesn't get out before the Japanase attack!
There are a lot of uses for a 0-movement unit. With this feature I've discovered you can prevent any unit, even if it has a movement of more than 0, to move. The only problem with that solution is that you have to hex-edit (or use a utility that someone will program with that info - hint, hint!) and you can use this only with units that start the scenario already created!
BTW, I've checked it extensively with human units but no so extensively with AI units. A little more of research is needed (but I don't know if I'm going to have enough time!).
EDIT: Where it said "left", now says "right"
__________________
Trying to rehabilitateh and contribuing again to the civ-community
Last edited by yaroslav; July 23, 2003 at 16:33.
|
|
|
|
July 23, 2003, 23:58
|
#2
|
Emperor
Local Time: 02:10
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Baltimore, MD
Posts: 4,325
|
Does the AI disband it?
|
|
|
|
July 24, 2003, 05:27
|
#3
|
Emperor
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Jun 2000
Location: of syrian frogs
Posts: 6,772
|
Very interesting. But as I don't know anything about hex-editing, I won't be able to use it anyway.
__________________
"I realise I hold the key to freedom,
I cannot let my life be ruled by threads" The Web Frogs
Middle East!
|
|
|
|
July 24, 2003, 15:59
|
#4
|
Emperor
Local Time: 02:10
Local Date: November 2, 2010
Join Date: Mar 2003
Location: Having tea with the Third Man...
Posts: 6,169
|
I'd only use it with the AI if I were you. I can't imagine anything ****ing me off more than going to move a unit to rescue a city in trouble or whack a spy only to discover that, for some perverse reason unknown to me, it won't move like other units it's identical to. Either that, or put the "immobile mobiles" in VERY distinct sites so the human player can keep track of them at all times. It's probably useful for something though. Will it still board ships if you tell it to from the city screen?
__________________
"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."
|
|
|
|
July 24, 2003, 17:36
|
#5
|
King
Local Time: 01:10
Local Date: November 2, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
|
What happens if the unit gets upgraded by Leo?
|
|
|
|
July 24, 2003, 20:28
|
#6
|
Chieftain
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2000
Location: Hill , Wine
Posts: 80
|
And what happens if a unit change ownership via bribery?
|
|
|
|
July 25, 2003, 07:09
|
#7
|
Emperor
Local Time: 08:10
Local Date: November 2, 2010
Join Date: Dec 1969
Posts: 3,079
|
And does it remain immobile if you try to activate a unit (either by clicking on it, or selecting it from a stack)?
... Seeing as the "automate bit" also resets when you click on a unit.
|
|
|
|
July 26, 2003, 16:38
|
#8
|
Emperor
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
|
Let's see:
I have not checked the Leonardo and bribery questions. I'm going to do it soon  , but I'm pretty sure that the inmobile units are shipable but can't be activated with clicking on it (double-cheked)
I'll mantain you informed
__________________
Trying to rehabilitateh and contribuing again to the civ-community
|
|
|
|
July 28, 2003, 16:23
|
#9
|
Emperor
Local Time: 07:10
Local Date: November 2, 2010
Join Date: Jun 2001
Location: Madrid, Spain, Europe
Posts: 7,795
|
Checked: The untis remains inmobile even after bribery or Leonardo updating
__________________
Trying to rehabilitateh and contribuing again to the civ-community
|
|
|
|
Posting 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
|
|
|
All times are GMT -4. The time now is 02:10.
|
|