Author Topic: ahedit - zone 2 problem  (Read 326 times)

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
ahedit - zone 2 problem
« on: May 16, 2005, 12:13:53 AM »
I've found ways around it but this is repeatable.  Zone two including the HQ doesn't show up when I follow these steps as well as many variations.
________________
Open ah(2)edit.exe
Select menu item New
Name it myterr (map size doesn't matter, make 512)
Select menu item Save
Select menu item Exit
Click Save

Create the texsrc folder

Open ahedit.exe

Fill the screen with Grass tile
Set check boxes Grid and Snap
Select menu item Make Map (1024 x 1024)

Place HQ (hq0) - unclick field owned
Confirm country 1, zone 1 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place HQ
Confirm country 2, zone 2 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place HQ
Confirm country 3, zone 3 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place Large Airfield (lafld0)
Set Field Owned 1, zone 1 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place Large Airfield
Set Field Owned 2, zone 2 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place Large Airfield
Set Field Owned 3, zone 3 and click OK

IF YOU Select Menu Settings/Field Setup  <>

INSTEAD

Save and Exit

Open ah(2)edit.exe

Select Menu Settings/Field Setup, everything is ok.

Select Menu Make Map

Place Town (town0)
Set Field Owned 1, zone 1 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place Town
Set Field Owned 2, zone 2 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Place Town
Set Field Owned 3, zone 3 and click OK
Leave checked, Can Collide and Set to Terrain Alt

Select menu item Save
Select menu item Exit
Click Save

Put the renamed myterr.bmp into the texsrc folder

Open ahedit.exe

Select menu item Build
Select menu item Exit
Click Save

Move the .res file and test in-game

Knight HQ and zone 2 doesn't show on the in-game clipboard even though they show in the editors' Map window when Field Numbers is checked.
Easy in-game again.
Since Tour 19 - 2001

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
ahedit - zone 2 problem
« Reply #1 on: May 26, 2005, 10:19:55 PM »
btw, it doesn't matter if you set "Object Type" to HQ.
Easy in-game again.
Since Tour 19 - 2001

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
ahedit - zone 2 problem
« Reply #2 on: May 27, 2005, 06:43:39 AM »
Under Settings, open the Field Setup and press the Standard button.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
ahedit - zone 2 problem
« Reply #3 on: May 31, 2005, 10:32:49 AM »
Quote
Originally posted by Skuzzy
Under Settings, open the Field Setup and press the Standard button.
Nope, that didn't work for me either.  The only way I've been able to work around this is to use an old terrain that works and use it as a templet.

Here are my .oba files:

One of many varriations of not working build:

      C01VOD000,       hq0,     21120.000,         0.000,     21120.000, 0.0000, 0.0000, 0.0000,      2816,    0,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    0,   -1
      C02VOD000,       hq0,     21120.000,         0.000,         0.000, 0.0000, 0.0000, 0.0000,      2816,    1,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    1,   -1
      C03VOD000,       hq0,     21120.000,         0.000,    -15840.000, 0.0000, 0.0000, 0.0000,      2816,    2,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    2,   -1
      F01VOD000,    lafld0,         0.000,         0.000,     21120.000, 0.0000, 0.0000, 0.0000,      3328,    0,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    0,   -1
      F01VOD001,     town0,    -21120.000,         0.000,     21120.000, 0.0000, 0.0000, 0.0000,      3328,    0,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    0,   -1
      F02VOD000,    lafld0,         0.000,         0.000,         0.000, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    1,   -1
      F02VOD001,     town0,    -21120.000,         0.000,         0.000, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    1,   -1
      F03VOD000,    lafld0,         0.000,         0.000,    -15840.000, 0.0000, 0.0000, 0.0000,      3328,    2,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    2,   -1
      F03VOD001,     town0,    -21120.000,         0.000,    -15840.000, 0.0000, 0.0000, 0.0000,      3328,    2,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    2,   -1


Working build:

edit: btw, the pts were practice targets.

      C01VOD000,       hq0,         0.000,         0.000,    -58080.000, 0.0000, 0.0000, 0.0000,      2816,    0,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    0,   -1
      C02VOD000,       hq0,         0.000,         0.000,    -21120.000, 0.0000, 0.0000, 0.0000,      2816,    1,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    1,   -1
      C03VOD000,       hq0,         0.000,         0.000,     10560.000, 0.0000, 0.0000, 0.0000,      2816,    2,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    2,   -1
      F01VOD000,    safld0,   -147840.000,         0.000,      5280.000, 0.0000, 0.0000,-1.5708,      3328,    0,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    0,   -1
      F01VOD001,     town0,   -132000.000,         0.000,      5280.000, 0.0000, 0.0000, 0.0000,      3328,    0,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    0,   -1
      F02VOD000,    safld0,   -179248.465,         0.000,     21656.403, 0.0000, 0.0000,-1.5708,      3328,    1,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    1,   -1
      F02VOD001,     town0,   -163680.000,         0.000,     15840.000, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    1,   -1
      F02VOD002,    ptboat,   -165867.518,         0.000,     12645.527, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   2,    0,    0,    1,   -1
      F02VOD003,    ptboat,   -164982.683,         0.000,     12123.329, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   3,    0,    0,    1,   -1
      F02VOD004,    ptboat,   -164141.364,         0.000,     12485.966, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   4,    0,    0,    1,   -1
      F02VOD005,    ptboat,   -163009.935,         0.000,     12326.406, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   5,    0,    0,    1,   -1
      F02VOD006,    ptboat,   -162516.748,         0.000,     11949.263, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   6,    0,    0,    1,   -1
      F02VOD007,    ptboat,   -161965.540,         0.000,     12297.395, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   7,    0,    0,    1,   -1
      F02VOD008,    ptboat,   -161399.825,         0.000,     12776.076, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   8,    0,    0,    1,   -1
      F02VOD009,    ptboat,   -163184.001,         0.000,     12645.527, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,   9,    0,    0,    1,   -1
      F02VOD00A,    ptboat,   -163648.177,         0.000,     12906.626, 0.0000, 0.0000, 0.0000,      3328,    1,    0,   -1.00,     8.0,        -1,  10,    0,    0,    1,   -1
      F02BAT000,   battery,   -170141.705,         0.000,     21862.786, 0.0000, 0.0000,-3.1416,      3328,    1,   28, 1000.00,     8.0,        -1,   0,    0,    0,    1,   -1
      F02BAT001,   battery,   -157067.826,         0.000,     11757.256, 0.0000, 0.0000, 1.9333,      3328,    1,   28,   -1.00,    20.0,        -1,   1,    0,    0,    1,   -1
      F03VOD000,    safld0,   -174240.000,         0.000,    216480.000, 0.0000, 0.0000, 0.0000,      3328,    2,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    2,   -1
      F03VOD001,     town0,   -168960.000,         0.000,    205920.000, 0.0000, 0.0000, 0.0000,      3328,    2,    0,   -1.00,    -1.0,        -1,   1,    0,    0,    2,   -1
      F04VOD000,      mpr0,   -147840.000,         0.000,    -10560.000, 0.0000, 0.0000, 0.0000,      3072,    3,    0,   -1.00,    -1.0,        -1,   0,    0,    0,    3,   -1
      F04SHP000,        cv,   -174254.505,         0.000,      5309.011, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   0,    0,    1,    3,   -1
      F04SHP001,        de,   -171720.361,         0.000,      6444.099, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   1,    0,    0,    3,   -1
      F04SHP002,        de,   -176707.276,         0.000,      6444.099, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   2,    0,    0,    3,   -1
      F04SHP003,        de,   -175460.547,         0.000,      3119.489, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   3,    0,    0,    3,   -1
      F04SHP004,        de,   -172729.618,         0.000,      3238.225, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   4,    0,    0,    3,   -1
      F04SHP005,        ca,   -173775.534,         0.000,      8532.954, 0.0000, 0.0000, 0.0000,      3328,    3,   26,   -1.00,    -1.0,        -1,   5,    0,    0,    3,   -1
« Last Edit: May 31, 2005, 10:36:46 AM by Easyscor »
Easy in-game again.
Since Tour 19 - 2001

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
ahedit - zone 2 problem
« Reply #4 on: May 31, 2005, 03:03:44 PM »
I tried and I can't duplicate the problem. :(
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
ahedit - zone 2 problem
« Reply #5 on: June 05, 2005, 01:33:38 PM »
Quote
Originally posted by NHawk
I tried and I can't duplicate the problem. :(
Use only one screen full of Grass, 120 tiles, everything else is water.  It will cause the problem every time.

As soon as you increase the number of grass tiles to 4 screen full, say 480 tiles with everything else water, everything works properly.

Now admittedly 120 tiles of grass with everything else water is unusual but it indicates a problem may exist which could affect other things on any map.

:lol I can't tell you how much time I spent tracking this down since the original post but it drove me crazy.
Easy in-game again.
Since Tour 19 - 2001