Hallo ich habe ein Mod fahrzeug bei mir auf dem server eingefügtt leider wird er nach dem kauf nicht gespawnt , daran sitze ich nun seid einigen stunden bekomme es leider nicht auf die ketten hoffe hier kann mir einer Helfen .
folgende Sachen habe ich eingetragen
In dem Mission Hauptordner habe ich die pbo auch drin
Tanoa_Life.Tanoa\@lambo\Addons\Tal_Murci.pbo
Config_Vehicles.hpp
Spoiler anzeigen
Code
class civ_car {
side = "civ";
conditions = "";
vehicles[] = {
{ "B_Quadbike_01_F", "" },
{ "C_Hatchback_01_F", "" },
{ "C_Offroad_01_F", "" },
{ "C_SUV_01_F", "" },
{ "C_Hatchback_01_sport_F", "" },
{ "C_Van_01_transport_F", "" },
{ "tal_murci_black", "" }
};
};
class C_Kart_01_Fuel_F : C_Kart_01_Blu_F{}; // Get all information of C_Kart_01_Blu_F
class C_Kart_01_Red_F : C_Kart_01_Blu_F{};
class C_Kart_01_Vrana_F : C_Kart_01_Blu_F{};
class tal_murci_black {
vItemSpace = 100;
conditions = "license_civ_driver";
price = 1000;
textures[] = {
{ "Black", "civ", {
"\@lambo\Addons\tal_murci\Textures\black.paa"
}, "" },
};
};
Alles anzeigen
fn_colorVehicle.sqf
Spoiler anzeigen
Code
#include "..\..\script_macros.hpp"
/*
File: fn_colorVehicle.sqf
Author: Bryan "Tonic" Boardwine
Description:
Reskins the vehicle.
*/
private ["_textures","_className","_classNameLife"];
params [
["_vehicle",objNull,[objNull]],
["_index",-1,[0]]
];
_className = typeOf _vehicle;
_classNameLife = _className;
if (isNull _vehicle || !alive _vehicle || _index isEqualTo -1) exitWith {};
//Does the vehicle already have random styles? Halt till it's set.
if (local _vehicle) then {
switch _className do {
case "C_Offroad_01_F": {[_vehicle,"color",3,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
case "C_Hatchback_01_F": {[_vehicle,"color",1,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
case "C_Hatchback_01_sport_F": {[_vehicle,"color",1,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
case "C_SUV_01_F": {[_vehicle,"color",1,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
case "C_Van_01_box_F": {[_vehicle,"color",1,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
case "C_Van_01_transport_F": {[_vehicle,"color",1,true] remoteExecCall ["TON_fnc_setObjVar",RSERV];};
};
};
case "tal_murci_black": /Lambo
{
_ret =
[
["\@lambo\Addons\tal_murci\Textures\black.paa","civ"]
];
};
if (!isClass (missionConfigFile >> "LifeCfgVehicles" >> _classNameLife)) then {
_classNameLife = "Default"; //Use Default class if it doesn't exist
diag_log format ["%1: LifeCfgVehicles class doesn't exist",_className];
};
_textures = ((M_CONFIG(getArray,"LifeCfgVehicles",_classNameLife,"textures") select _index) select 2);
if (isNil "_textures" || {count _textures isEqualTo 0}) exitWith {};
_vehicle setVariable ["Life_VEH_color",_index,true];
{_vehicle setObjectTextureGlobal [_forEachIndex,_x];} forEach _textures;
Alles anzeigen
Des weiteren habe ich auf dem Server
in dem Hauptverzeichnis die @lambo/Addons/ Tal_Murci.pbo und die Tal_Murci.pbo.FOX.bisign
Die config für die mod habe ich so eingetragen
Spoiler anzeigen
Code
## ARMA 3 Modules
# Add mods with relative paths:
# mods/@cba_a3
# To load the "Community Base Addons v3" module found in the
# directory serverfiles/mods/@cba_a3. Load several mods as:
# mods="mods/@ace\;mods/@acex\;mods/@cba_a3\;mods/@lambo"
mods=""
## Server-side Mods
servermods="@extDB2\;@life_server;@lambo"
Eventuell kann mir da jemand Helfen , danke schonmal Gruß Groby