Sign in to follow this  

eigene fahrzeugskins in spawnzone

5 posts in this topic

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 :P 

Edited by Affe

Share this post

Link to post
Share on other sites
 * ExileServer_object_vehicle_createNonPersistentVehicle
 * Exile Mod
 * © 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
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"] };


10 hours ago, Affe said:

Keiner ne lösung :(?


Share this post

Link to post
Share on other sites

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

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>";


        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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.