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
KoTЕ

Ретекстур авто в DayZ

Народ,подскажите как наложить картинку на все авто.Как не пробую,у меня одна модель авто ,без дверей и капотов.Перештудировал весь интернет,ничего не нашел.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Авто в дейзе ретекстурятся тяжелее, там не просто paa
Вот например кузов гюнтера 

class Hatchback_02_White: Hatchback_02
	{
		hiddenSelectionsMaterials[]=
		{
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
			"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
				class Health: Health
				{
					healthLevels[]=
					{

						{
							1,
							{}
						},

						{
							0.69999999,
							{}
						},

						{
							0.5,
							{}
						},

						{
							0.30000001,
							{}
						},

						{
							0,
							{}
						}
					};
				};
			};
			class DamageZones: DamageZones
			{
				class Chassis: Chassis
				{
					class Health: Health
					{
					};
				};
				class Front: Front
				{
					class Health: Health
					{
					};
				};
				class Back: Back
				{
					class Health: Health
					{
					};
				};
				class Reflector_1_1: Reflector_1_1
				{
					class Health: Health
					{
					};
				};
				class Reflector_2_1: Reflector_2_1
				{
					class Health: Health
					{
					};
				};
				class WindowFront: WindowFront
				{
					class Health: Health
					{
					};
				};
				class Engine: Engine
				{
					class Health: Health
					{
					};
				};
				class FuelTank: FuelTank
				{
					class Health: Health
					{
					};
				};
				class Roof: Roof
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_body.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_destruct.rvmat"
								}
							}
						};
					};
				};
				class Fender_1_1: Fender_1_1
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_body.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_destruct.rvmat"
								}
							}
						};
					};
				};
				class Fender_1_2: Fender_1_2
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_body.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_destruct.rvmat"
								}
							}
						};
					};
				};
				class Fender_2_1: Fender_2_1
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_body.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Body_destruct.rvmat"
								}
							}
						};
					};
				};
				class Fender_2_2: Fender_2_2
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_body.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_Body.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_Body.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_Body_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_Body_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};

Вот его двери и прочее

class Hatchback_02_Door_1_1_White: Hatchback_02_Door_1_1
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
			};
			class DamageZones: DamageZones
			{
				class Window: Window
				{
					class Health: Health
					{
					};
				};
				class Doors: Doors
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};
	class Hatchback_02_Door_2_1_White: Hatchback_02_Door_2_1
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
			};
			class DamageZones: DamageZones
			{
				class Window: Window
				{
					class Health: Health
					{
					};
				};
				class Doors: Doors
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_frontdoor_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};
	class Hatchback_02_Door_1_2_White: Hatchback_02_Door_1_2
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
			};
			class DamageZones: DamageZones
			{
				class Window: Window
				{
					class Health: Health
					{
					};
				};
				class Doors: Doors
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};
	class Hatchback_02_Door_2_2_White: Hatchback_02_Door_2_2
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
			};
			class DamageZones: DamageZones
			{
				class Window: Window
				{
					class Health: Health
					{
					};
				};
				class Doors: Doors
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_backdoor_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};
	class Hatchback_02_Hood_White: Hatchback_02_Hood
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Hood.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
				class Health: Health
				{
					RefTexsMats[]=
					{
						"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood.rvmat"
					};
					healthLevels[]=
					{

						{
							1,

							{
								"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood.rvmat"
							}
						},

						{
							0.69999999,

							{
								"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood.rvmat"
							}
						},

						{
							0.5,

							{
								"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood_damage.rvmat"
							}
						},

						{
							0.30000001,

							{
								"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood_damage.rvmat"
							}
						},

						{
							0,

							{
								"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_hood_destruct.rvmat"
							}
						}
					};
				};
			};
		};
	};
	class Hatchback_02_Trunk_White: Hatchback_02_Trunk
	{
		hiddenSelectionsMaterials[]=
		{
			"SOVItems\Retextures\!Cars\Hatchback_02\White\Hatchback_02_Trunk.rvmat"
		};
		class DamageSystem: DamageSystem
		{
			class GlobalHealth: GlobalHealth
			{
			};
			class DamageZones: DamageZones
			{
				class Window: Window
				{
					class Health: Health
					{
					};
				};
				class Doors: Doors
				{
					class Health: Health
					{
						RefTexsMats[]=
						{
							"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk.rvmat"
						};
						healthLevels[]=
						{

							{
								1,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk.rvmat"
								}
							},

							{
								0.69999999,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk.rvmat"
								}
							},

							{
								0.5,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk_damage.rvmat"
								}
							},

							{
								0.30000001,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk_damage.rvmat"
								}
							},

							{
								0,

								{
									"SOVItems\Retextures\!Cars\Hatchback_02\White\hatchback_02_trunk_destruct.rvmat"
								}
							}
						};
					};
				};
			};
		};
	};

Это вставляется в class CfgVehicles в config.cpp
Ретекстур происходит не через paa, а через rvmat который дергает paa причем в дейзе этот белый гюнтер есть, просто его не добавляли.
Все что SOVItems - мой мод, остальное - база, ее можно не трогать. 
В rvmat можешь менять строки что с моего мода начинаются, остальное лучше не трогать, но можешь и поэксперементировать

Все это - базовые файлы и они также есть в файлах движка, надо просто покопаться
Я приложу архив файликов на которые идут скрипты. Можешь посмотреть разобрать.
Остальные тачки по аналогии)

https://disk.yandex.ru/d/tB2y_yC7N1aD3w

Share this post


Link to post
Share on other sites
MagicByte MagicByte MagicByte

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

×
×
  • 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.

Поддержка