Author Topic: Object Editor  (Read 1249 times)

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« on: February 20, 2007, 08:20:59 AM »
I can not seem to get the help files to display. Would like to learn
more from this program.

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #1 on: February 20, 2007, 09:48:29 AM »
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Object Editor
« Reply #2 on: February 20, 2007, 03:39:55 PM »
The Object Editor help file is the objedit.txt file in the ah2editor folder.

It's out of date but it'll get you started.

GL
Easy in-game again.
Since Tour 19 - 2001

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« Reply #3 on: February 21, 2007, 04:32:20 PM »
Yes  Thanks I found both help files to helpfull. Knowing what the Object
editor can do could have saved lots of hours i spent in building this map.

I have an area with a river and barge. Attacking Forces must go around
this river and over open ground to attack. This leaves thier hineys out
in the open too long. I am trying to construct a small bridge over this
river to help.

I have made larger bridges that do not work quiet right for me. Spanning
them over large water ways seems PT boats cannot go underneath them.

Also attaching ground guns to a custom field, only a few types seem to
be able to fire back at the enemy, most sit idle.

Any guidlines or suggestions on this would help, and again Thanks !

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #4 on: February 21, 2007, 06:33:19 PM »
Well, making sure that "Override Type" is set to "All/default" when you're placing those guns might help. And making sure that when you insert the .til file into your texsrc folder and use it in your terrain that the particular tile/custom field is attached to an active country (Such as an active airfield IE: A2).
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« Reply #5 on: February 22, 2007, 06:45:43 AM »
Ok  made a few new files with this object editor. Saved them as directed,
What i did see saved in the newshapes folder were .shp files, not
.til files.
Copied them to the txscr folder and then opened the terr editor.
Did not see the named files, but did notice a lot of new files
named terrXXXX
Added some of these and they all looked them same, a partial of what
was contructed in the object editor. ie all of the objects i placed onto
the lafgnd were not visible ?
Looking around further i have seen my named .til files in the tiles folder
of the terr editor?
Empty all file folders and start again?

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #6 on: February 22, 2007, 08:32:39 AM »
I'm sorry, the .til file is the "save"d version from the OE. So you can save your work and re-open it. When you press "Build" it makes a .shp file in your "newshps" folder. You want to place that .shp file into your terrain's texsrc folder. Then re-load your terrain by going to File>Open (Or Load). Then re-open the terrain that you placed the .shp file into it's texsrc folder. That way the terrain is refreshed and your object SHOULD appear in the Objects list.
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Object Editor
« Reply #7 on: February 22, 2007, 04:47:04 PM »
You probably have several things going on at once.

The 'texsrc' folder goes into your project (i.e. myterrain) folder and the .shp files go in there. Sounds like you found where the .shp files land. I'm trying to remember, the terrxxxx files also go in the texsrc folder, there were some spelling changes/issue that came out a patch or two ago, terxxxx vs terrxxx, I'm surprised you've taken on something as ambitious as that file type.  

You misspelled 'texsrc' in the post, double check the spelling of the folder. If you see your clipboard map then you did it right. You did make a clipboard map didn't your? :)

The .til files are your source files for the objects you created in the Object Editor. Trash them and you will definitely need to start over. Use your judgment but they're probably ok. I suspect you need to review 1) Overide type, 2) index order and 3) Tile Properties to clear up your problems. Search the forum for an explanation of Tile Properties. If in doubt set it for Is Square Tile.. and Display Terrain..., all other checkboxes off.

Also, while you're searching the forums, look for a post on guns. There are only certain combinations that work.  Some are for manned ack, many are for ships and none of those will work as AI ack. You want one combination out of about 25 possible to make it work.

Edit for spelling
« Last Edit: February 22, 2007, 04:51:46 PM by Easyscor »
Easy in-game again.
Since Tour 19 - 2001

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #8 on: February 22, 2007, 06:22:04 PM »
I'll make it easy for you:

Gng0: Flack gun (Shoots puffy ack)
Gng1: DOES NOT WORK, and if it does, is a 37 MM manned ack, but this version CAN NOT be manned.
Gng2: Regular Field Ack gun. The Quad 20 MM gun that automatically fires at you if you get in range.

Bas0: Mannable 37 MM gun.
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« Reply #9 on: February 23, 2007, 01:45:01 PM »
OK this is what I have so far. My current task is the third
revision of my working map.

I seem to have made the objects ok in the object editor, as
far as build, save without index errors.

What I did, was build the objects several times durring construction as
to ovoid errors. ie Put in a few items clicked build, put in a few more, build
checked properties, build and saved at the last.

Open Explorer and drag the named .shp files into the texscr folder.
Relaunch the Maproom in offline mode, without making a new .res file.
Close and then open the Terrain Editor, looking for the named files as
tiles or in the objects list I do not see the named files.

I do see a lot of new files with the names of Terrxxxx where x = a
number value 007-010 series I think. ? Placing them onto the new
map for a view they all seem to look the same, not what i wanted
and im not sure how to get rid of them?
 
Should I build a new .res file before these can be seen, and or
delete all the files and start over. Then only using the build command
once per object made in the editor? Also some tree packs downloaded to
texscr folder canot be seen.

   Thanks for the Help
:confused:

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Object Editor
« Reply #10 on: February 23, 2007, 02:24:37 PM »
Quote
Originally posted by DLfrmHLL
OK this is what I have so far. My current task is the third
revision of my working map.

I seem to have made the objects ok in the object editor, as
far as build, save without index errors.

What I did, was build the objects several times during construction as
to ovoid errors. ie Put in a few items clicked build, put in a few more, build
checked properties, build and saved at the last.
That’s about as far as I can follow your text before you loose me.
Building the object in steps is good. As someone new to this, you should test it at each step before you continue so let’s review this from the beginning.

Create a new terrain in the Terrain Editor named myterrain for example.
Inside the folder, myterrain, create a new folder named texsrc.
Then-
Build your object (airfield?) in the Object Editor. It makes a .shp file.
Put the .shp file into your texsrc folder inside your myterrain folder.
Find the object in the list of Objects and place it into your terrain but never at the center of the terrain, move it a few tiles distance from the center or you won’t see it.
Properly set the Object Properties.
Save the terrain and exit.
Reopen the terrain and build it. It makes a .res file.
Copy the .res file to your ahiiterr folder in the Aces High II folder.
Start the game and select you terrain to see if the object is there.
I’ve skipped many steps for a complete terrain including the all important step under the Objects tab in the TE that checks for terrain errors, the clipboard map etc., but that’s another issue.

Part of the issue might be trying to use Terrxxxx for constructing the scenario you outlined in your first post.

.shp files are for objects such as bridges, airfield or full 1x1 mile objects you can overlay terrain tiles with.
Terrxxxx  files are for terrain tiles and there is a limited number of Terrxxxx tiles, and they’re not suited for your purpose as outlined in the first post.
Easy in-game again.
Since Tour 19 - 2001

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #11 on: February 23, 2007, 03:23:32 PM »
One thing easycor failed to mention was that after you place your .shp file into your texsrc folder located in your myterrain's folder is that you should re-load your terrain after you open the TE. This is done by going to: File>Open(Or Load). Then look in: C:\Program Files\HTC\ah2editor\ahiiterr\myterrain\
for the "myterrain.oba" file. Of course, "myterrain" is replaed with your actual terrain's name which should be less than 8 characters long. After you re-load your terrain you should be able to find the object you placed into your "texsrc" folder in your "objects" list.
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« Reply #12 on: February 23, 2007, 05:39:19 PM »
Thanks Guys !
   
  All is rolling along well. I am very happy with what it can do.
More Questions I'm sure to have  :)

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Object Editor
« Reply #13 on: February 23, 2007, 06:25:17 PM »
Glad to help.:cool:
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline DLfrmHLL

  • Zinc Member
  • *
  • Posts: 60
Object Editor
« Reply #14 on: February 24, 2007, 06:28:17 PM »
I've placed new objects into the new map! and NOW my objects no
longer are showing up. I want to add more but where did they Go

What is the sequence to get them back

Build....Launch new map close....Open terrain editor...Appear ?

Lost again :confused: