Author Topic: HELP I KEEP LOSING TERRAINS!  (Read 893 times)

TheWobble

  • Guest
HELP I KEEP LOSING TERRAINS!
« on: November 18, 2000, 09:03:00 AM »
I have been playing with the Eitor for just a little while and so far i have only made 1 working map, the problem im having is the following.

I make the tearrain, place all the structures and am basically finish, i hit set terrian and enter then name and it says i need to restart the prog so i Do, when i come back its all friggn water again and my terrain is gone! then sometimes i get the .res file but its only 6k, thats not right and it crashes when i try to run it

I have tried set terrain then build without closing and reopening

I have tried set terrain close and reopen, but then its gone.

its in the folder but i cant get it into editor again, i have to start over.

can someone please tell me step by step the procedure to save your map so it can be used in H2H?  

Offline Ghosth

  • AH Training Corps (retired)
  • Plutonium Member
  • *******
  • Posts: 8497
      • http://332nd.org
HELP I KEEP LOSING TERRAINS!
« Reply #1 on: November 18, 2000, 01:05:00 PM »
In the settings folder there is a file called
"curterr" that you can open & edit with notepad. Whatever you named your terrain, put the same name in this file.

Then open the editor & it should load the correct terrain.  

TheWobble

  • Guest
HELP I KEEP LOSING TERRAINS!
« Reply #2 on: November 18, 2000, 01:16:00 PM »
YOU ARE MY GOD!, THANK YOU YOU HAVE SAVED ME SO MUCH WORK!

TheWobble

  • Guest
HELP I KEEP LOSING TERRAINS!
« Reply #3 on: November 19, 2000, 04:49:00 AM »
Can someone PLEASE tell me step by step how to properly save/build a terrain once you are finished messing with everything?

PLEASE I have so many cool maps i just cant save the right!

Offline Snoopi

  • Zinc Member
  • *
  • Posts: 56
HELP I KEEP LOSING TERRAINS!
« Reply #4 on: November 19, 2000, 07:32:00 PM »
OK here goes.....

Lets say you are building a "hawaii" terrain.


1) COPY the /terrains/blank/ directory and rename it to the terrain you are gonna build.
i.e. You would then have a /terrains/hawaii/
directory.
( if you are using Ogre's Mapmaker this is where you would copy the .typ and .elv files that Mapmaker generated, into the "hawaii" directory. Rename them to hawaii.typ and hawaii.elv. Overwrite the existing .typ and .elv files)
 

2) start the editor and hit "set terrain". Enter the name hawaii and exit the editor WITHOUT SAVING.
  OR
Edit the curterr file to contain the name  of the terrain (i.e.  hawaii).
THIS IS MUCH EASIER AND SAFER


3) Start the editor and make your terrain.
   Put autosave on if you like.    

4) Create the clipboard map.
    (SEE BELOW)

5) "Build" the  terrain.
    This will generate a .res file with the     map and terrain compiled in it.

6) Select this terrain in "setup" to enable you to fly in it offline.


Note:
When you use the "set terrain" function,
it creates a new folder for the terrain with default settings AND POSSIBLY OVERWRITES THE EXISTING ONE.
In other words, you "set terrain" , THEN create it


If you have a few terrains on-the-build at the same time, don't use "set terrain".
Just edit the "currterr" file to the terrain you want to edit and then launch the editor.

----------------------------------------
To create the clipboard map
-------------------------------
Taken from another post by "Rodney" and "10Bears"

(1) take a birds-eye image of your terrain from nice and high up with the screen shot button (Shift-S??) OR or use your terr.bmp which in in editor dir.

(2) open the following file:
HTC\aheditor\terrains\maps\mapxxx.bmp where xxx = the size of your map.
E.g. map64.bmp is for a 64x64 size map.

(3) Place a copy of that file in the directory that your new terrain is in.
e.g. terrains\hawaii\map64.bmp

(4) Cut and Paste the image of your terrain into the map file that you created in the terrain directory.
If your paint program has transparency use that to get the grid lines in the map.

(5) Now the tricky part  : You need to cut the mapxxx.bmp file into 4 quarters.
Each quarter should measure 256x256 pixels.
Your graphics program has rulers use em'.

Name the quarter's in the following way:
Top Left quarter -> map0.bmp
Top Right quarter -> map1.bmp
Bottom Left quarter -> map2.bmp
Bottom Right quarter -> map3.bmp

(6) copy those four files into your new terrains' directory.
e.g. terrains\hawaii\map0.bmp etc
Your map256 or whatever you used, should also be included in this dir

NOTE:
The terr.bmp file mentioned in (#1) is created by the editor and is a "snapshot" of terrain that you edited last.


Hope this helps.

Regards,
Snoopi


[This message has been edited by Snoopi (edited 11-19-2000).]

Offline flakbait

  • Silver Member
  • ****
  • Posts: 867
      • http://www.worldaccessnet.com/~delta6
HELP I KEEP LOSING TERRAINS!
« Reply #5 on: November 19, 2000, 11:25:00 PM »
Snoopi, iirc the Editor will now auto-create the clipboard map and stuff everything into a single .res file.

------------------------
Flakbait
Delta 6's Flight School
Whattaya mean I can't kill em? Why the hell not?!
 

TheWobble

  • Guest
HELP I KEEP LOSING TERRAINS!
« Reply #6 on: November 20, 2000, 06:59:00 AM »
thanks guys that helped a LOT!

Offline Snoopi

  • Zinc Member
  • *
  • Posts: 56
HELP I KEEP LOSING TERRAINS!
« Reply #7 on: November 21, 2000, 01:03:00 PM »
flakbait:
I knew about the complete in the .res file thing.
Didn't realize that it auto-created the map !
Cool.. Tho.. I would assume the map "eyecandy " would be lacking.  

Thanks for the info.
I'll have to play with that function !

Offline NUTTZ

  • Silver Member
  • ****
  • Posts: 1818
HELP I KEEP LOSING TERRAINS!
« Reply #8 on: December 08, 2000, 06:19:00 PM »
It's not auto making my map for the clipboard.

NUTTZ
 
Quote
Originally posted by Snoopi:
flakbait:
I knew about the complete in the .res file thing.
Didn't realize that it auto-created the map !
Cool.. Tho.. I would assume the map "eyecandy " would be lacking.  

Thanks for the info.
I'll have to play with that function !


Offline LLv34_Camouflage

  • Gold Member
  • *****
  • Posts: 2189
      • http://www.virtualpilots.fi/LLv34
HELP I KEEP LOSING TERRAINS!
« Reply #9 on: December 08, 2000, 08:09:00 PM »
Yep, you have to do the clipboard map yourself.  It consists of 4x 256x256 bmp's.  Instructions in the TE manual.

Camo

------------------
Camouflage
XO, Lentolaivue 34
 www.muodos.fi/LLv34

Brewster into AH!

"The really good pilots use their superior judgement to keep them out of situations
where they might be required to demonstrate their superior skill."
CO, Lentolaivue 34
Brewster's in AH!
"How about the power to kill a Yak from 200 yards away - with mind bullets!"

w225th

  • Guest
HELP I KEEP LOSING TERRAINS!
« Reply #10 on: March 16, 2001, 09:42:00 PM »
Would it be alright to ask for the source files?