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
Streys

Переворачивается машина

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

В файлах игры лежала моделька некрытого v3s`a. Решил добавить, все работает, но когда я в него сажусь, он сразу падает набок. Как пофиксить?

class Truck_01 : Truck_01_Base {
		scope = 2;
		displayName = "$STR_v3s_covered0";
		model = "dz\vehicles\wheeled\truck_01\Truck_01_Cargo.p3d";
		attachments[] = { "TruckBattery", "Reflector_1_1", "Reflector_2_1", "Truck_01_Door_1_1", "Truck_01_Door_2_1", "Truck_01_Hood", "Truck_01_Wheel_1_1", "Truck_01_Wheel_1_2", "Truck_01_Wheel_1_3", "Truck_01_Wheel_2_1", "Truck_01_Wheel_2_2", "Truck_01_Wheel_2_3", "Truck_01_Wheel_Spare_1", "Truck_01_Wheel_Spare_2", "Truck_01_WoodenLogs", "Truck_01_WoodenPlanks", "Truck_01_MetalSheets", "Truck_01_Barrel1", "Truck_01_Barrel2", "Truck_01_Barrel3", "Truck_01_Barrel4", "Truck_01_WoodenCrate1", "Truck_01_WoodenCrate2", "Truck_01_WoodenCrate3", "Truck_01_WoodenCrate4" };

		class Cargo {
			itemsCargoSize[] = { 10, 60 };
			allowOwnedCargoManipulation = 1;
			openable = 0;
		};

		class GUIInventoryAttachmentsProps {
			class Engine {
				name = "$STR_attachment_Engine0";
				description = "";
				icon = "set:dayz_inventory image:cat_vehicle_engine";
				attachmentSlots[] = { "TruckBattery" };
			};

			class Body {
				name = "$STR_attachment_Body0";
				description = "";
				icon = "set:dayz_inventory image:cat_vehicle_body";
				attachmentSlots[] = { "Reflector_1_1", "Reflector_2_1", "Truck_01_Door_1_1", "Truck_01_Door_2_1", "Truck_01_Hood" };
			};

			class Chassis {
				name = "$STR_attachment_Chassis0";
				description = "";
				icon = "set:dayz_inventory image:cat_vehicle_chassis";
				attachmentSlots[] = { "Truck_01_Wheel_1_1", "Truck_01_Wheel_1_2", "Truck_01_Wheel_1_3", "Truck_01_Wheel_2_1", "Truck_01_Wheel_2_2", "Truck_01_Wheel_2_3", "Truck_01_Wheel_Spare_1", "Truck_01_Wheel_Spare_2" };
			};

			class BaseBuildingAttachments {
				name = "$STR_cfgvehicles_fence_att_category_materials";
				description = "";
				icon = "set:dayz_inventory image:cat_common_cargo";
				attachmentSlots[] = { "Truck_01_WoodenLogs", "Truck_01_WoodenPlanks", "Truck_01_MetalSheets" };
			};

			class BaseBuildingContainers {
				name = "$STR_attachment_containers0";
				description = "";
				icon = "set:dayz_inventory image:cat_common_cargo";
				attachmentSlots[] = { "Truck_01_Barrel1", "Truck_01_Barrel2", "Truck_01_Barrel3", "Truck_01_Barrel4", "Truck_01_WoodenCrate1", "Truck_01_WoodenCrate2", "Truck_01_WoodenCrate3", "Truck_01_WoodenCrate4" };
			};
		};
	};

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Без открытия п3д хрен чего починить.Проблема там может быть элементарна от геометрии до конфига подвески...Но вообще нет смысла данный v3s восстанавливать ибо лучше это сделают разрабы и со всеми анимациями.

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

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