Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
slyfoxcrew

Картостроение

Всем привет! Делаю карту с нуля. В редакторе возникли проблемы с MapLegend. MapLegend создавал в фотошопе, цвета брал из  gtt_export.

При генерировании слоя выдаёт ошибку Layers generation - Bad texel mapping for surface mask image (379.453x379.453).

gtt_export

[## Export settings ##]
scaling enabled = True
tiling enabled = 0
tile resolution = 4096
real terrain size (m) = 12700

[## Terrain Details ##]
grid size = 4096 x 4096
cell size (m) = 3.076171875
terrain size (m) = 12600
satmap size (px) = 12600 x 12600
resolution (m/px) = 1.0

[## Surface entries ##]
road = (193, 114, 170)  #c172aa
concrete = (249, 44, 212)  #f92cd4
water = (91, 137, 223)  #5b89df
grass = (80, 148, 55)  #509437
field = (128, 197, 46)  #80c52e
forest = (0, 94, 26)  #005e1a
dirt = (126, 62, 6)  #7e3e06
sand = (203, 190, 0)  #cbbe00

Layers.cfg

class Layers
{
	class cp_grass
	{
	   texture = "I:\DZ\surfaces\data\terrain\cp_grass_ca.paa";
	   material = "I:\DZ\surfaces\data\terrain\cp_grass.rvmat";
	};
	
	class cp_dirt
	{
		texture = "I:\DZ\surfaces\data\terrain\cp_dirt_ca.paa";
		material = "I:\DZ\surfaces\data\terrain\cp_dirt.rvmat";
	};
	
	class cp_road
	{
		texture = "I:\DZ\surfaces\data\terrain\cp_rock_ca.paa"
		material = "I:\DZ\surfaces\data\terrain\cp_rock.rvmat";
	};
	
	class cp_concrete
	{
		texture = "I:\DZ\surfaces\data\terrain\cp_concrete_ca.paa";
		material = "I:\DZ\surfaces\data\terrain\cp_concrete.rvmat";
	};
	
	
};

class Legend 
{
  picture = "I:\B\source\MapLegend.png";
  class Colors
  {
	cp_grass[] = {{80, 148, 55}};
	cp_road[] = {{193, 114, 170}};
	cp_dirt[] = {{126, 62, 6}};
	cp_concrete[] = {{249, 44, 212}};
  };
};

 

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by slyfoxcrew (see edit history)

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Извините сам тупанул, размер не тот поставил и редактор его не воспринимает. Все разобрался

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.