Affe 4 Report post Posted December 16, 2017 (edited) Hi, meine frage ist, wie füge ich Fahrzeuge (selbst erstelle Skins =.paa) als spawnfahrzeuge ein zbsp in einer Bambi Zone.. dort haben wir es jetzt grade das 1. mal das wir ein eigenen "Bambi-Skin" erstellt haben, dieser soll in den spawn Zonen stehen also als bsp 5 quads pro spawnpunkt mit dem selbst erstelltem skin andere selbst erstellte Skins beim Trader einfügt haben wir... geht soweit alles Edited December 16, 2017 by Affe Share this post Link to post Share on other sites
Affe 4 Report post Posted December 27, 2017 Keiner ne lösung :(? Share this post Link to post Share on other sites
WURSTKETTE 212 Report post Posted December 27, 2017 /** * ExileServer_object_vehicle_createNonPersistentVehicle * * Exile Mod * exile.majormittens.co.uk * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_className", "_position", "_direction", "_usePositionATL", "_vehicleObject"]; _className = _this select 0; _position = _this select 1; _direction = _this select 2; _usePositionATL = _this select 3; _vehicleObject = [_className, _position, _direction, _usePositionATL] call ExileServer_object_vehicle_carefulCreateVehicle; _vehicleObject setVariable ["ExileIsPersistent", false]; _vehicleObject addEventHandler ["GetIn", {_this call ExileServer_object_vehicle_event_onGetIn}]; _vehicleObject addMPEventHandler ["MPKilled", { if !(isServer) exitWith {}; _this call ExileServer_object_vehicle_event_onMPKilled;}]; _vehicleObject call ExileServer_system_simulationMonitor_addVehicle; switch _className do { case "Exile_Bike_QuadBike_Black": { _vehicleObject setObjectTextureglobal [0,"mpmissions\__CUR_MP.MAPNAME\Skins\bambiquad.paa"] }; }; _vehicleObject 10 hours ago, Affe said: Keiner ne lösung :(? Share this post Link to post Share on other sites
Affe 4 Report post Posted January 5, 2018 muss ich das als sqf Datei in die mpmission einfügen und diese als "customcode" starten lassen? sorry, nurnoch wochenends zuhause!! Share this post Link to post Share on other sites
WURSTKETTE 212 Report post Posted January 6, 2018 Nein, im Missionfile in der config.cpp nen Overwrite erstellen: class CfgExileCustomCode { /* You can overwrite every single file of our code without touching it. To do that, add the function name you want to overwrite plus the path to your custom file here. If you wonder how this works, have a look at our bootstrap/fn_preInit.sqf function. Simply add the following scheme here: <Function Name of Exile> = "<New File Name>"; Example: ExileClient_util_fusRoDah = "myaddon\myfunction.sqf"; */ ExileServer_object_vehicle_createNonPersistentVehicle = "deinpfad\ExileServer_object_vehicle_createNonPersistentVehicle.sqf"; }; Share this post Link to post Share on other sites