Jump to content
5 minutes ago, Acmetexo said:

Thank you very much. But how do I do that? Maybe you showed that in the image, but that image is not showing.

noimage.PNG

Sorry, the URL was invalid. You should see it now. 

  • Thanks 1

Share this post


Link to post
Share on other sites
4 minutes ago, Acmetexo said:

It works on Asset viewer, but on Location editor, textures for objects still doesn't render.

blacktextureassetviewer.PNG

For the Location Editor you have to make sure you have a level.blk for your specific map. You can't use one from another location, unlike the Asset Viewer.

Share this post


Link to post
Share on other sites
9 minutes ago, LordMustang said:

For the Location Editor you have to make sure you have a level.blk for your specific map. You can't use one from another location, unlike the Asset Viewer.

Well, I guess I have to redo all of my map progress on that iwo jima sample map, or work with the older version of CDK.

My custom map is based on that empty_location_map and I tested on it, that objects have no texture, so that empty_location_map does not have that level.blk file.

notexonemptymap.PNG

medal medal medal medal medal medal

Share this post


Link to post
Share on other sites
1 hour ago, Acmetexo said:

Well, I guess I have to redo all of my map progress on that iwo jima sample map, or work with the older version of CDK.

My custom map is based on that empty_location_map and I tested on it, that objects have no texture, so that empty_location_map does not have that level.blk file.

notexonemptymap.PNG

empty_location does have a .blk file. It's in War Thunder\content\pkg_local\levels.

Share this post


Link to post
Share on other sites
  • 2 months later...

hi, I am really new to the location editor, and I have a couple of questions:

 

1. How can I change the location of the map that I want to modify? It always gives me an island with a runway...

 

2. Where can I download Heightmaps? Can you please provide me with a link?

 

That is all, Thank you very much.

 

Please replay soon!

 

 

medal medal medal

Share this post


Link to post
Share on other sites

Hi Cartoon, the default map (Iwo Jima) can be used to create your ownmap. You can follow the video tutorial published by gaijin there :

http://wiki.warthunder.com/index.php?title=War_Thunder_CDK

 

But that's quite hard to understand. They explain how start a new map from the default, where to find or create heighmap, and many other stuff. It tooks me ages to understand it. You can also find the LordMustang tutos in this forum.

 

medal medal

Share this post


Link to post
Share on other sites

LordMustang, I have a problem trying to open my maps made last year. I downloaded the las CDK version but when I try to load my maps I have a problem with my custom landclasses that can't be found (but they still are in the same place that before, and I also exported them from the assetviewer. I have this error message (here name of landclasse is "beton" :

 

1.jpg.ea242f689104f31aec35a0d53b37c517.j

medal medal

Share this post


Link to post
Share on other sites

@LordMustang I finally opened my old map deleting my scripts, the problem probably comes from the code of the landclasses that have changed since my last CDK works, or the textures.

 

But I still have the @Acmetexo problem with black object in the locationeditor. I do have the level.blk but I don't know where to load it as in the assetviewer, I can't find in environment setting "Level blk (for microdetail texture)"

medal medal

Share this post


Link to post
Share on other sites

@Petranera I know how to fix the black assets in location editor. You just need to add this to your YOURMAPNAME.blk in the WarThunder/content/pkg_local/levels directory.

https://wiki.warthunder.com/index.php?title=Creating_locations  scroll down a bit to see the info.

Quote

micro_details{
 micro_detail:t=microdetail_stone_a_tex_n
 micro_detail:t=microdetail_sand_c_tex_n
 micro_detail:t=microdetail_sand_a_tex_n
 micro_detail:t=microdetail_soil_a_tex_n
 micro_detail:t=microdetail_generic_granules_a_tex_n
 micro_detail:t=microdetail_grass_a_tex_n
 micro_detail:t=microdetail_forest_floor_a_tex_n
 micro_detail:t=microdetail_fabric_a_tex_n
 micro_detail:t=microdetail_wood_b_tex_n
 micro_detail:t=microdetail_metal_a_tex_n
 micro_detail:t=microdetail_snow_a_tex_n
 micro_detail:t=microdetail_generic_granules_a_tex_n

 

land_micro_details_uv_scale:r=0.73
}

 

medal medal medal medal medal medal

Share this post


Link to post
Share on other sites
10 hours ago, Petranera said:

@LordMustang I finally opened my old map deleting my scripts, the problem probably comes from the code of the landclasses that have changed since my last CDK works, or the textures.

 

But I still have the @Acmetexo problem with black object in the locationeditor. I do have the level.blk but I don't know where to load it as in the assetviewer, I can't find in environment setting "Level blk (for microdetail texture)"

As long as you have specified the microdetails in the level blk, you can just put it in content/pkg_local/levels, as you would normally do. The editor should load it automatically from there, given that it is properly named.

 

And yes, landclasses have changed a little. You now also have to assign displacement mappings. I think you can find the information on the wiki, it's only a small change.

Share this post


Link to post
Share on other sites

Thanks for the answer mate. Another question, do you know why some vegetation objects are rotating at some distance and other objects don't ? It's a problem I already had last year when I did my jungle hangar...

 

EDIT : We found the solution with GallonMate, just need to add this code in the level.blk for every used vegetation :

 

overrideRiLodRange{

  desert_dry_tree_a{
    lod0:r=100000.0
    lod1:r=250000.0
  }

}

Edited by Petranera
fixed
medal medal

Share this post


Link to post
Share on other sites
Guest o0_TRON_0o

Hello everyone ! I am new with location editor and i want to try to create mission based on Pilotage Custom map for ATC roleplay . I have an idea how to do the stuff i need there , but i can't find pilotage custom mission file to start edit it . Could someone help me with that ? Thank you 

Share this post


Link to post
Share on other sites
On 18/07/2018 at 02:53, Petranera said:

Thanks for the answer mate. Another question, do you know why some vegetation objects are rotating at some distance and other objects don't ? It's a problem I already had last year when I did my jungle hangar...

 

EDIT : We found the solution with GallonMate, just need to add this code in the level.blk for every used vegetation :

 

overrideRiLodRange{

  desert_dry_tree_a{
    lod0:r=100000.0
    lod1:r=250000.0
  }

}

It's indeed because of the lods. Some lods are 2d textures that turn towards the player, these are usually lods for quite far distances. You can override the distance to display a better lod at greater distances, like you did, to solve it. Gaijin does it quite a lot as well.

Share this post


Link to post
Share on other sites
  • 4 months later...

Howdy fellas! I'm new to editing and wanting to modify some of the current maps in the game but can't seem to find out how to open them in the CDK :crying:..,. Anyone know how I go about opening current maps? Also once I open the map, how do I go about adding structures and whatnot? Thanks for your help! :good:

medal

Share this post


Link to post
Share on other sites
On 04/12/2018 at 23:43, Otto396 said:

Howdy fellas! I'm new to editing and wanting to modify some of the current maps in the game but can't seem to find out how to open them in the CDK :crying:..,. Anyone know how I go about opening current maps? Also once I open the map, how do I go about adding structures and whatnot? Thanks for your help! :good:

 

When I started with the Editor, I also wanted to do this. And seeing modified maps beeing used as hangars on live.wt, I wanted to do it even more. There is almost no info anywhere on this, but after asking the maker of the hangar maps, I figured out its sadly not possible... He is dev so he has access to all maps, but normal players do not :(

medal medal medal medal medal medal medal medal medal medal medal medal medal medal medal medal

Share this post


Link to post
Share on other sites

I encountered wierd issue when I was trying to import heightmap. Although the RAW file works in World Machine and http://olegkikin.com/heightmap2raw/ (which I use for convert) the terain in CDK is nothing like what I have heightmap. 

Can someone help?

  • Heghtmaps detailed and simplified:
    Spoiler

    QreyVlv.png

    Q5dHiga.png

     

  • Screen from World Machine. I can´t use it directly because I have free version which only allows for 513x513. But it works with the raw filles from http://olegkikin.com/heightmap2raw/
    Spoiler

    1374984896_Snmekobrazovky(67).thumb.png.1840928178_Snmekobrazovky(68).thumb.png.

    1918364824_Snmekobrazovky(65).thumb.png.1121523585_Snmekobrazovky(66).thumb.png.

  • Screen from CDK:
    Spoiler

    1417600694_Snmekobrazovky(64).thumb.png.

     

medal medal

Share this post


Link to post
Share on other sites
On 04/12/2018 at 23:43, OttoTech said:

Howdy fellas! I'm new to editing and wanting to modify some of the current maps in the game but can't seem to find out how to open them in the CDK :crying:..,. Anyone know how I go about opening current maps?

This is not possible, but you can edit the sample maps, including Iwo Jima, or create a new map from scratch.

 

On 04/12/2018 at 23:43, OttoTech said:

Also once I open the map, how do I go about adding structures and whatnot? Thanks for your help! :good:

Use the entity button Landscape20.png.

 

On 09/12/2018 at 18:54, ShadowRangerCZ said:

I encountered wierd issue when I was trying to import heightmap. Although the RAW file works in World Machine and http://olegkikin.com/heightmap2raw/ (which I use for convert) the terain in CDK is nothing like what I have heightmap. 

Can someone help?

  • Heghtmaps detailed and simplified:
      Reveal hidden contents

    QreyVlv.png

    Q5dHiga.png

     

  • Screen from World Machine. I can´t use it directly because I have free version which only allows for 513x513. But it works with the raw filles from http://olegkikin.com/heightmap2raw/
      Reveal hidden contents

    1374984896_Snmekobrazovky(67).thumb.png.1840928178_Snmekobrazovky(68).thumb.png.

    1918364824_Snmekobrazovky(65).thumb.png.1121523585_Snmekobrazovky(66).thumb.png.

  • Screen from CDK:
      Reveal hidden contents

    1417600694_Snmekobrazovky(64).thumb.png.

     

Make sure to export the .raw file as 16-bit IBM PC encoding.

Share this post


Link to post
Share on other sites
16 hours ago, LordMustang said:

Make sure to export the .raw file as 16-bit IBM PC encoding.

Is there any program where I could convert the the grayscale images to 6-bit IBM PC encoding?

medal medal

Share this post


Link to post
Share on other sites
7 minutes ago, ShadowRangerCZ said:

Is there any program where I could convert the the grayscale images to 6-bit IBM PC encoding?

Photoshop

Share this post


Link to post
Share on other sites

@LordMustang Now I have other problem when I try to import .r16 which is supported format and I actually tried to use file which was previosly exported from CDK the CDK freeze. What can I do with it?

EDIT:

Although it is a bit buggy it works when I scale the map down to one cell and height scale of 800m.

Edited by ShadowRangerCZ
medal medal

Share this post


Link to post
Share on other sites
  • 3 weeks later...

Hi,

 

Is there a way to use two heightmaps for my location? I would like to use one for the actual map center for GF battles with a low cell size, and another one for the backdrop scenery for the air battles. I wouldn't want to overlay them in photoshop, as I would like for the center one to possibly go below 1 with the cell size and use an 8k heightmap for that.

 

Thanks

medal

Share this post


Link to post
Share on other sites
On 02/01/2019 at 23:30, ShadowRangerCZ said:

@LordMustang I have question:

How do I enable grass to show in location editor becase even on location_sample and empty_location it doesn´t show up?

Grass cannot be drawn in the editor. You can only see it in-game.

On 03/01/2019 at 09:27, Mercitron said:

Hi,

 

Is there a way to use two heightmaps for my location? I would like to use one for the actual map center for GF battles with a low cell size, and another one for the backdrop scenery for the air battles. I wouldn't want to overlay them in photoshop, as I would like for the center one to possibly go below 1 with the cell size and use an 8k heightmap for that.

 

Thanks

Yes, with detailed heightmap. Check the wiki for information on this. All mixed battles maps use it.

Share this post


Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...