PDA

View Full Version : About editing



chicken
12-06-2000, 05:42
I was Tampering with a map and i put "A0" and "88" in alot of those "00" places and it made this really weird map. The map Was like 3/4 water and there was green spikes comin out of it. Beside that was the HUGE green cliff which has hollow. Also the units would fly if they were in water to get to the ground and they would fly high.I just Want to know What "A0" and "88" Mean?

Rob
12-06-2000, 06:15
Um, be a bit more specific http://www.totalwar.org/ubb/smile.gif

I presume you were using some kind of hex editor, yes?

A0 and 88 are numeric values, from your description I presume you used them to alter the height of the map at various points.

------------------
AkaiRob Hojo
Honour to Clan Akai Ken

chicken
12-06-2000, 07:11
I Dont know about 88 but i am positive that A0 is not to alter the height. I looked at your flat demo and AO is written alot of times in there.

Rob
12-06-2000, 10:15
To be honest, I don't actually know what those numbers do yet http://www.totalwar.org/ubb/smile.gif

The original values in flatdemo come from Totomi. Where the 'spikes' pointing straight up or at an angle?

In the hex editor you probably see something a little like this:
00A0 0000 0008 0000 44FD FFFF

The A0 you refer to is present. The numbers are in hexadecimal. Two hex digits = 1 byte, or eight binary characters (1s and 0s). The example above contains 12 bytes (24 hex digits). This represents 1 point on the map, of which there are, I believe, 441 (21x21). The 4 bytes on the right control height directly. In C/C++ programming we would refer to these 4 bytes as a 'signed long'.

In the example above, the height is -700. All height values are negative. The lower the number, the higher the point on the map. For example, altering this to -2000 (change the 44FD to 33F8), would create a hill.

I will post some more details on this stuff once I've figured more of it out. http://www.totalwar.org/ubb/smile.gif

------------------
AkaiRob Hojo
Honour to Clan Akai Ken

chicken
12-07-2000, 04:01
The Spikes were pointing at an angle. Some were straight.

chicken
12-07-2000, 09:08
The spikes are kinda set up like this.


\\\\\\\\| |/////////

And the keepon pointing downward going from a 90 degree angle to a 45 and so on.