Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Objectset1.1 - an alternative to autopop  (Read 193 times)

0 Members and 1 Guest are viewing this topic.

Nowekat

  • Modder
  • member
  • Offline Offline
  • Posts: 48
Objectset1.1 - an alternative to autopop
« on: August 10, 2018, 01:12:58 PM »

A while ago i posted in a wip map thread an alternative and easier to use prog to the autopop.exe i called objectset.exe. This doesn't need a mapsize.txt and is much less error-prone. It also allows higher population resolutions as the usual 200 meters as it populates areas of 20, 25, 50 and 100 square meters. This works of course only if the specific part of the buildings template is also populated. But it doesn't work properly with the usual 200 meter resolution. So i reworked it now to fix this and now it also works with the 200 meter properly.

There where some downloads but no commends, so i don't know if anyone used ist. Nevertheless i post the fixed version 1.1 as there seem to be some problems to use the autopop and this prog is much more comfortable.

You may download the new version of the tool here:

http://www.mediafire.com/file/7wdhpfmg8y6dp3n/Objectset1.1.7z/file

Firstly you have to rename your map_t.tga as map_tBIG.tga (not case sensitive).

When using the 200 meter resolution just paint your townes and villages as usual. Name your buildings template corresponding to the colour you painted the area to populate with. So if you painted a city or a part of it in colour 16, name the template 16.txt and so on.

Run the prog and type in the colour to populate, thats "16" as an example, and press enter. To prog than creates an inBuildings(colour).txt. This would be an "inBuildings16.txt" here. You may use any greyscale colour to paint the towns but of course the colour should not appear otherwise in the map_t.

To use a smaller resolution enlarge the map_t depending to the resolution (20, 25, 50, 100 meter) you want to use. Thats why i chose the name "map_tBIG.tga". Enlargement factor = 200/resolution. If the chosen resolution is 25 meter: 200/25 = 8, you have to enlarge a 1200 * 800 map_t 8 times to a 9600 * 6400 greyscale with "no" interpolation. This may be a problem with big maps, i don't know the limits in picture sizes. Name the picture also map_tBIG.tga. Paint over your towns as you want. Pin size is always: 1 Pixel = resolution in meter. Paint over also streets and rails in towns in normal paint mode.

Open the objectset.ini and change the resolution to the chosen value and save. Run the prog, insert the colour to populate, press enter and ready.

When using a higher resolution the main problem is that the texture tile size of 200 * 200 meter is much to big and the texture will be only partly populated. So this feature may be best when no specific buildings texture is used at all.

Nowekat
Logged

max_thehitman

  • SAS~Area51
  • Modder
  • member
  • Offline Offline
  • Posts: 8487
  • Beer...Girls...IL2+Mods!
Re: Objectset1.1 - an alternative to autopop
« Reply #1 on: August 12, 2018, 11:24:56 AM »



Sounds very interesting! Thank you so much!  8)
I will test it!
Logged
Everything I like is either illegal, immoral or fattening ! Welcome to SAS1946
Pages: [1]   Go Up
 

Page created in 0.471 seconds with 26 queries.