OK, after some explanations by email, things are clearer.
Problem is that there was a misunderstanding. I was about to create O2 and L2 files just by reading a BMP.
The idea in fact (correct me if I'm wrong) is to load existing O2 and L2 files, match them with a BMP (and associated conf file) and create new O2 and L2 files with all these infos.
*setting down thesaurus to come up with name of new proggie*
So I don't get a chance for more royalties? Maybe the next iteration should be CATE+. Or eCate (enhanced Configurable Auto Terrain Enhancer)? Or BUST-G (Bitmap Using Source Terrain Generator)?
The campaign file format is useful when CATE someday reads the airbase locations (and possibly lot of other locations also) from the campaign objectives file.
- Read airbase coordinates and type
- Place correct airbase tiles
- Level the airbase and surrounding tile area
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
quote:Originally posted by Skyfire76: I think that soon we'll need SnakeMan and WidowMaker to write some functional specifications doc.
Yeah I'll put something together.
quote:how would you like BMP feature to integrate with current UI of CATE ?
Basically as CATE is not the painter program, it should be just one tickbox or something "[x] read terrain types from bitmap" and maybe browse button for that required bitmap then.
Basically the bitmap terrain type tiler function should be the tilerule "replace everything in alt" type of thing, but of course "replace everything in these coordinates, regardless of alt". But, it would be great to have it more intelligent to see if those coordinates then have road/river/city tiles, if so... change them accordingly.
This should be in config file, for example a list with the terrain types and matching road/river/city tiles.
Post some questions and I'll try to be more specific
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
I'm not sure but me thinks that either CATE should do completely the autotiling/bmp scanning OR a separate drawing+autotiling utility(made by me perhaps?) would do it.
Ultimately it would be cool to have one program that could handle all this autotiling + the stuff that CATE already does so CATE is the best candidate for this IMHO.
quote:Originally posted by Skyfire76: What do you think if CATE adapts itself to what is in the conf file ?
That is : if some BMP color rules are found, then that means that CATE needs to work with it. If not, it will behave as before.
Regards.
yup indeed
if all is well Snakeman has send you an example bmp image from Iceland and an example config file
this should basically explain what CATE should do (for now)
have been testing all the rules now from 1.20
all is working out great
I'll test the extra 1.21 stuff tonight..
quote:Originally posted by Skyfire76: That is : if some BMP color rules are found, then that means that CATE needs to work with it. If not, it will behave as before.
Sounds good, but how long does it take to read the bmp (2048x2048 or maybe even the huge sucker Widowmaker wants, 4096x4096)?
If it takes too long, then we would need to activate the reading part on by certain situations only.
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
quote:Originally posted by Skyfire76: What do you think if CATE adapts itself to what is in the conf file ?
Well, the more important question is what do we do when CATE becomes self-aware, meets the AI subroutines in F4 and starts reproducing little baby self-aware programs that take over the world!
Just wanted to say that the developments in this thread are very exciting for F4 Terrain making! (Not that you guys didn't already know that....)
quote:Originally posted by Skyfire76: - Load BMP
- Load L2 and O2 and translate that in compatible BMP format (that is, a grid of tiles matching the BMP pixels)
So, BMP rules should now be easy to do.
Can you send test version on my way, I'd like to test it right here (I know the bitmap rules is not completed yet but)?
quote:But I'm struggling with reversing O2 and L2 data to original format (that's the harddest part).
Did you get any help on L2/O2 from Codec or Dr. Fred Balding?
quote:Tests (up to now) give completly acceptable treatment times. But we'll see.
Wanna test - wanna test
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
quote:Originally posted by T_Rex: Well, the more important question is what do we do when CATE becomes self-aware, meets the AI subroutines in F4 and starts reproducing little baby self-aware programs that take over the world!
More likely we wake up few days from now and look Theater Switcher in SP2 only to see Afghanistan completely tiled. Thats the time to worry about this CATE thing
quote:Just wanted to say that the developments in this thread are very exciting for F4 Terrain making!
Tell me about it. I'm kind of saddened that this util comes so late in falcon history... if only I had this (and maybe the future features which are progressing nicely) back when I started to tile first segments in Vietnam or my absolutely first work on Balkans... oh boy.
But here we are, CATE is getting new features each day and things are looking superb. Maybe in few months when some newbie logs into PMC TFW theater site and wants to get some knowledge on making terrain, he just sees some faint posts about the agony of tiling for months and months just to get few hundred segments done...
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
OK, I've finished a first test version (no, SM, I can't send it yet ) without BMP rules.
I get "strange" results with it : I load the F4 korean theater L2 and O2 files, translate them into a grid of tiles, reverse them to normal L2 and O2 data, and save these files.
Instead of 3.81 MB L2 file, I get a 2.9 MB one (this means that my program has found more duplicate regions).
I loaded this file with TerrainView : at least, this works (TerrainView does not complain), but how can I be sure that I have not modified the terrain ?
I only had a brief scan of this thread but one idea I have toyed with for a while is to mix an altitude algorithm with one based on the inclination (steepness) of a tile. The reason for this is that humans will tend to farm anything less than near vertical
This would if coded right result in alpine pasture land and gaps in areas which would normally be tiled as forest if they are over a certain height.
Just a thought in case it helps.
Chris
Chris "Washout" Carter
F4 Balkans Terrain Team
CO: The Vulture Squadron
I send you the modified terrain by mail. And I think we'll see this tomorrow (I'll leave soon, and I don't think you'll have the time to test it in a few minutes )
Hi guys,
Nice to pop back in after a long absence and find that it is the eve of a momentous occasion for solo theatre makers. With SP2, FOX3 and CATE I feel like a kid at christmas time with a tree FULL of toys. Ive waiting for SP2 and the resolution of how-to issues for a SP2 compatible theatre to resume work on Hawaii. As Snakeman has already said, boy we sure spent a lot of man hours to do what CATE does in no time. So, at least in my case Im glad I was unable to have the time to spend retiling ( a spherical convented one) since CATE will reduce that task immensely.
I cant thank Skyfire,Snakeman,Julian,Widowmaker et al enough. One obvious implication of CATE is that the one man theater is not only possible but may not even require your entire waking life to complete.
Anxiously awaiting the initial release,
Washout : I've noted your idea, and we'll see what we can do about it when we have a really working version (soon
However, if you compare byte to byte the original files and the new ones, they're not the same (though they have the same size, at least for Vietnam) : that's because, I think, I do not calculate duplicate regions in the same way it was done originally (i.e. tiles in L2 are not in the same order).
There's just one trick left to investigate, about ocean tiles being at offset 0. I'm not sure this an issue at all, but I must check that with Dr. Fred Balding.
Regardless of this trick, all I have to do now is implement the BMP rules (it should not take me long) : so, theorically, you should have a working version today
quote:Originally posted by crossup: Nice to pop back in after a long absence
Hey nice to see you again and welcome back!
quote:Im glad I was unable to have the time to spend retiling ( a spherical convented one) since CATE will reduce that task immensely.
I suggest you wait a few weeks before we get the auto tools totally configured and figured out... My dream is to have tool that makes "playable" terrain in automatic where human workload should be minimized to few days or so of hard work.
Oh well, it might be like I said dreaming... but, lets keep our fingers crossed.
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.
quote:Originally posted by Skyfire76: about ocean tiles being at offset 0. I'm not sure this an issue at all, but I must check that with Dr. Fred Balding.
What about ocean tiles offset? Ocean is always 0 like you stated.
PMC TFW
Snake Man
Important PMC Tactical Forum New User Registration please read new info here.