Jump to content

Skymaster2015

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Skymaster2015

  1. Hi, If someone needs the Origins Cars at the Vehicle-Traders based on the original files from Zupa:

    Step 1:
    Create "OriginsCars.hpp" (Use the Text Editor or Notepad++) under "\ZSC\config\Category\"

     

    Insert:

    class Category_2000 {
    	class ori_vil_lada_2105_rust			{type = "trade_any_vehicle";buy[] ={5000,"Coins"};sell[] ={2500,"Coins"};};
    	class ori_poldek				{type = "trade_any_vehicle";buy[] ={8000,"Coins"};sell[] ={4000,"Coins"};};
    	class ori_poldek_black				{type = "trade_any_vehicle";buy[] ={9000,"Coins"};sell[] ={4500,"Coins"};};
    	class ori_ScrapBuggy				{type = "trade_any_vehicle";buy[] ={5000,"Coins"};sell[] ={2500,"Coins"};};
    	class ori_scrapTank				{type = "trade_any_vehicle";buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
    	class ori_rth_originsmod_bathmobile		{type = "trade_any_vehicle";buy[] ={15000,"Coins"};sell[] ={7500,"Coins"};};
    	class ori_originsmod_pickupoldfuel		{type = "trade_any_vehicle";buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
    	class ori_originsmod_pickupold			{type = "trade_any_vehicle";buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
    	class ori_p85_originsmod_CUCV			{type = "trade_any_vehicle";buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
    	class ori_p85_originsmod_cucv_pickup	        {type = "trade_any_vehicle";buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
    	class ori_vil_originsmod_lublin_truck	        {type = "trade_any_vehicle";buy[] ={16000,"Coins"};sell[] ={8000,"Coins"};};
    	class ori_transit				{type = "trade_any_vehicle";buy[] ={30000,"Coins"};sell[] ={15000,"Coins"};};
    	class ori_excavator				{type = "trade_any_vehicle";buy[] ={50000,"Coins"};sell[] ={25000,"Coins"};};
    	class ori_vil_originsmod_volvo_fl290	        {type = "trade_any_vehicle";buy[] ={20000,"Coins"};sell[] ={10000,"Coins"};};
    	class ori_vil_originsmod_truck_civ		{type = "trade_any_vehicle";buy[] ={20000,"Coins"};sell[] ={10000,"Coins"};};
    	class ori_survivorBus				{type = "trade_any_vehicle";buy[] ={40000,"Coins"};sell[] ={20000,"Coins"};};
    	class ori_titanic				{type = "trade_any_vehicle";buy[] ={20000,"Coins"};sell[] ={10000,"Coins"};};	
    };
    

    Step 2:
    Add in "ZSC\config\cfgServerTrader.hpp"
     

    	#include "Category\OriginsCars.hpp"
    

    Step 3:
    Add in "server_traders_tavi_13.sqf" under NEZTRAL VEHICLE VENDORS "["Origins-Car",2000]" at the end at. Should look like this


     

    /*---------------------------------------------------------------------------
    			NEUTRAL VEHICLE VENDORS
    ---------------------------------------------------------------------------*/
    
    menu_GUE_Soldier_3 = [
    	[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591],["Overwatch SP-Car",1015],["Overwatch S-Car",1016],["Origins-Car",2000]],
    	[],
    	"neutral"
    ];
    menu_RU_Woodlander4 = [
    	[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591],["Overwatch SP-Car",1015],["Overwatch S-Car",1016],["Origins-Car",2000]],
    	[],
    	"neutral"
    ];
    

    Hope it helps someone. It works for me on my Server.

  2. Hi, thx for sharing but somethimes it happens when checking wallets of DZMS AI's:

    You took <NULL>  coins, ID says <NULL>!

    All coins on screen are gone only solution -> relog

    Anyone a solution for this?

     

    I use this code in my DZMSAISpawn.sqf:
        //Zupa Currency
         _cash = round(random 20) * 100; // number between 0 and 20 00
        _unit setVariable["cashMoney",_cash,true];

  3. Hello, i use this script on my Origin Overpoch Server and need a lil bit of help:

     

    StaticLootSecB.sqf

    if (isServer) then {
            _vehicle_1 = objNull;
            if (true) then
            {
              _this = createVehicle ["RUBasicWeaponsBox", [22487.1,20034.4,4.768e-07], [], 0, "CAN_COLLIDE"];
              _vehicle_1 = _this;
              _this setDir 20;
                      _vehicle_1 setVariable ["ObjectID","1",true];
                      _vehicle_1 setVariable ["permaLoot",true];
    
              clearWeaponCargoGlobal _this;
              clearMagazineCargoGlobal _this;
    
              // Guns
              _this addWeaponCargoGlobal ["BAF_AS50_scoped",2];
              _this addWeaponCargoGlobal ["M107_DZ",2];
              _this addWeaponCargoGlobal ["BAF_LRR_scoped",2];
              _this addWeaponCargoGlobal ["USSR_cheytacM200",2];
              _this addWeaponCargoGlobal ["USSR_cheytacM200_sd",2];
              _this addWeaponCargoGlobal ["vil_M110",2];
              _this addWeaponCargoGlobal ["vil_M110sd",2];
              _this addWeaponCargoGlobal ["M110_NVG_EP1",2];
              _this addWeaponCargoGlobal ["M110_TWS_EP1",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_DESERT",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_SD_DESERT",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_NV_DESERT",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_NV_SD_DESERT",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_TWS_DESERT",2];
              _this addWeaponCargoGlobal ["FHQ_XM2010_TWS_SD_DESERT",2];
    
              // Ammo
              _this addMagazineCargoGlobal ["5Rnd_127x99_AS50",20];
              _this addMagazineCargoGlobal ["10Rnd_127x99_m107",20];
              _this addMagazineCargoGlobal ["5Rnd_86x70_L115A1",20];
              _this addMagazineCargoGlobal ["USSR_5Rnd_408",20];
              _this addMagazineCargoGlobal ["20Rnd_762x51_DMR",20];
              _this addMagazineCargoGlobal ["FHQ_rem_5Rnd_300Win_XM2010_NT",20];
              _this addMagazineCargoGlobal ["FHQ_rem_5Rnd_300Win_XM2010_NT_SD",20];
            };
    
            _vehicle_2 = objNull;
            
            if (true) then
            {
              _this = createVehicle ["RUBasicWeaponsBox", [22465.3,19487.3,4.768e-07], [], 0, "CAN_COLLIDE"];
              _vehicle_2 = _this;
              _this setDir 20;
                      _vehicle_2 setVariable ["ObjectID","1",true];
                      _vehicle_2 setVariable ["permaLoot",true];
    
              clearWeaponCargoGlobal _this;
              clearMagazineCargoGlobal _this;
    
              // Guns
              _this addWeaponCargoGlobal ["ItemToolbox",5];
              _this addWeaponCargoGlobal ["ItemCrowbar",5];
              _this addWeaponCargoGlobal ["ItemEtool",5];
              _this addWeaponCargoGlobal ["ChainSawR",1];
              _this addWeaponCargoGlobal ["ChainSawP",1];
              _this addWeaponCargoGlobal ["ChainSawG",1];
              _this addWeaponCargoGlobal ["ChainSawB",1];
    
              // Ammo
              _this addMagazineCargoGlobal ["ItemMixOil",2];
              _this addMagazineCargoGlobal ["ItemLockbox",2];
              _this addMagazineCargoGlobal ["ItemComboLock",2];
              _this addMagazineCargoGlobal ["ItemGenerator",3];
              _this addMagazineCargoGlobal ["ItemVault",2];
              _this addMagazineCargoGlobal ["ItemCorrugated",20];
              _this addMagazineCargoGlobal ["30m_plot_kit",2];
              _this addMagazineCargoGlobal ["ItemWire",10];
              _this addMagazineCargoGlobal ["ItemTankTrap",10];
              _this addMagazineCargoGlobal ["ItemSandbag",10];
              _this addMagazineCargoGlobal ["CinderBlocks",40];
              _this addMagazineCargoGlobal ["MortarBucket",20];
            };
    
            _vehicle_3 = objNull;
            
            if (true) then
            {
              _this = createVehicle ["RUBasicWeaponsBox", [22167.8,19851.6,0], [], 0, "CAN_COLLIDE"];
              _vehicle_3 = _this;
              _this setDir 20;
                      _vehicle_3 setVariable ["ObjectID","1",true];
                      _vehicle_3 setVariable ["permaLoot",true];
    
              clearWeaponCargoGlobal _this;
              clearMagazineCargoGlobal _this;
    
              // Guns
              _this addWeaponCargoGlobal ["ItemToolbox",5];
              _this addWeaponCargoGlobal ["ItemCrowbar",5];
              _this addWeaponCargoGlobal ["ItemEtool",5];
              _this addWeaponCargoGlobal ["ChainSawR",1];
              _this addWeaponCargoGlobal ["ChainSawP",1];
              _this addWeaponCargoGlobal ["ChainSawG",1];
              _this addWeaponCargoGlobal ["ChainSawB",1];          
    
              // Ammo
              _this addMagazineCargoGlobal ["ItemBloodbag",5];
              _this addMagazineCargoGlobal ["ItemEpinephrine",5];
              _this addMagazineCargoGlobal ["ItemMorphine",5];
              _this addMagazineCargoGlobal ["ItemPainkiller",5];
              _this addMagazineCargoGlobal ["ItemAntibiotic",5];
              _this addMagazineCargoGlobal ["ItemBandage",5];
              _this addMagazineCargoGlobal ["ItemSeaBassCooked",10];
              _this addMagazineCargoGlobal ["ItemTunaCooked",10];
              _this addMagazineCargoGlobal ["ItemSodaR4z0r",5];
              _this addMagazineCargoGlobal ["ItemSodaMdew",5];
              _this addMagazineCargoGlobal ["ItemSodaOrangeSherbet",5];
              _this addMagazineCargoGlobal ["ItemSodaRbull",5];
              _this addMagazineCargoGlobal ["PartEngine",5];
              _this addMagazineCargoGlobal ["PartVRotor",5];
              _this addMagazineCargoGlobal ["PartGlass",5];
              _this addMagazineCargoGlobal ["PartWheel",5];
              _this addMagazineCargoGlobal ["PartGeneric",5];
              _this addMagazineCargoGlobal ["ItemJerrycan",5];
              
            };
    
            _vehicle_4 = objNull;
            
            if (true) then
            {
              _this = createVehicle ["RUBasicWeaponsBox", [11923.5,21101,4.768e-07], [], 0, "CAN_COLLIDE"];
              _vehicle_4 = _this;
              _this setDir 20;
                      _vehicle_4 setVariable ["ObjectID","1",true];
                      _vehicle_4 setVariable ["permaLoot",true];
    
              clearWeaponCargoGlobal _this;
              clearMagazineCargoGlobal _this;
    
              // Guns
              _this addWeaponCargoGlobal ["ItemToolbox",5];
              _this addWeaponCargoGlobal ["ItemCrowbar",5];
              _this addWeaponCargoGlobal ["ItemEtool",5];
              _this addWeaponCargoGlobal ["ChainSawR",1];
              _this addWeaponCargoGlobal ["ChainSawP",1];
              _this addWeaponCargoGlobal ["ChainSawG",1];
              _this addWeaponCargoGlobal ["ChainSawB",1];
    
              // Ammo
              _this addMagazineCargoGlobal ["ItemMixOil",5];
              _this addMagazineCargoGlobal ["ItemLockbox",2];
              _this addMagazineCargoGlobal ["ItemComboLock",1];
              _this addMagazineCargoGlobal ["ItemGenerator",1];
              _this addMagazineCargoGlobal ["ItemVault",1];
              _this addMagazineCargoGlobal ["ItemCorrugated",10];
              _this addMagazineCargoGlobal ["30m_plot_kit",1];
              _this addMagazineCargoGlobal ["ItemWire",5];
              _this addMagazineCargoGlobal ["ItemTankTrap",5];
              _this addMagazineCargoGlobal ["ItemSandbag",5];
              _this addMagazineCargoGlobal ["CinderBlocks",20];
              _this addMagazineCargoGlobal ["MortarBucket",10];
              _this addMagazineCargoGlobal ["PartPlywoodPack",20];
              _this addMagazineCargoGlobal ["PartPlankPack",20];
            };
    };
    

    Init.sqf --> [] execVM "custom\StaticLootSecB.sqf";

    But there are no Boxes on the server, so what did i wrong ???
    thanks for any help

  4. If any one need the array for Overpoch Origins, here's mine.

    MF_Tow_Towable_Array =
    {
        private ["_array","_towTruck"];
        _towTruck = _this select 0;
        _array = [];
        
        switch (typeOf _towTruck) do
        {
            case "TowingTractor":                     {_array = ["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];};
            case "ATV_CZ_EP1":                         {_array = ["Motorcycle"];};
            case "ATV_US_EP1":                        {_array = ["Motorcycle"];};
            case "Old_bike_TK_INS_EP1":                {_array = ["Motorcycle"];};
            case "Old_moto_TK_Civ_EP1":                {_array = ["Motorcycle"];};
            case "TT650_Civ":                        {_array = ["Motorcycle"];};
            case "TT650_Ins":                        {_array = ["Motorcycle"];};
            case "TT650_TK_CIV_EP1":                {_array = ["Motorcycle"];};
            case "car_hatchback":                    {_array = ["Motorcycle","Car"];};
            case "car_sedan":                        {_array = ["Motorcycle","Car"];};
            case "GLT_M300_LT":                        {_array = ["Motorcycle","Car"];};
            case "GLT_M300_ST":                        {_array = ["Motorcycle","Car"];};
            case "S1203_ambulance_EP1":                {_array = ["Motorcycle","Car"];};
            case "S1203_TK_CIV_EP1":                {_array = ["Motorcycle","Car"];};
            case "Skoda":                            {_array = ["Motorcycle","Car"];};
            case "SkodaBlue":                        {_array = ["Motorcycle","Car"];};
            case "SkodaGreen":                        {_array = ["Motorcycle","Car"];};
            case "SkodaRed":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Blue":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Camo":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Charcoal":                    {_array = ["Motorcycle","Car"];};
            case "SUV_Green":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Orange":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Pink":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Red":                            {_array = ["Motorcycle","Car"];};
            case "SUV_Silver":                        {_array = ["Motorcycle","Car"];};
            case "SUV_TK_CIV_EP1":                    {_array = ["Motorcycle","Car"];};
            case "SUV_White":                        {_array = ["Motorcycle","Car"];};
            case "SUV_Yellow":                        {_array = ["Motorcycle","Car"];};
            case "Lada1":                            {_array = ["Motorcycle","Car"];};
            case "Lada1_TK_CIV_EP1":                {_array = ["Motorcycle","Car"];};
            case "Lada2":                            {_array = ["Motorcycle","Car"];};
            case "Lada2_TK_CIV_EP1":                {_array = ["Motorcycle","Car"];};
            case "LadaLM":                            {_array = ["Motorcycle","Car"];};
            case "UAZ_CDF":                            {_array = ["Motorcycle","Car"];};
            case "UAZ_INS":                            {_array = ["Motorcycle","Car"];};
            case "UAZ_MG_TK_EP1_DZE":                {_array = ["Motorcycle","Car"];};
            case "UAZ_RU":                            {_array = ["Motorcycle","Car"];};
            case "UAZ_Unarmed_TK_CIV_EP1":            {_array = ["Motorcycle","Car"];};
            case "UAZ_Unarmed_TK_EP1":                {_array = ["Motorcycle","Car"];};
            case "UAZ_Unarmed_UN_EP1":                {_array = ["Motorcycle","Car"];};
            case "VolhaLimo_TK_CIV_EP1":            {_array = ["Motorcycle","Car"];};
            case "Volha_1_TK_CIV_EP1":                {_array = ["Motorcycle","Car"];};
            case "Volha_2_TK_CIV_EP1":                {_array = ["Motorcycle","Car"];};
            case "VWGolf":                            {_array = ["Motorcycle","Car"];};
            case "ori_vil_lada_2105_rust":            {_array = ["Motorcycle","Car"];};
            case "ori_poldek":                        {_array = ["Motorcycle","Car"];};
            case "ori_poldek_black":                {_array = ["Motorcycle","Car"];};
            case "ori_ScrapBuggy":                    {_array = ["Motorcycle","Car"];};
            case "ori_scrapTank":                    {_array = ["Motorcycle","Car"];};
            case "ori_rth_originsmod_bathmobile":    {_array = ["Motorcycle","Car"];};
            case "datsun1_civil_1_open":            {_array = ["Motorcycle","Car","Truck"];};
            case "datsun1_civil_2_covered":            {_array = ["Motorcycle","Car","Truck"];};
            case "datsun1_civil_3_open":            {_array = ["Motorcycle","Car","Truck"];};
            case "hilux1_civil_1_open":                {_array = ["Motorcycle","Car","Truck"];};
            case "hilux1_civil_2_covered":            {_array = ["Motorcycle","Car","Truck"];};
            case "hilux1_civil_3_open_EP1":            {_array = ["Motorcycle","Car","Truck"];};
            case "Offroad_DSHKM_Gue_DZE":            {_array = ["Motorcycle","Car","Truck"];};
            case "Pickup_PK_GUE_DZE":                {_array = ["Motorcycle","Car","Truck"];};
            case "Pickup_PK_INS_DZE":                {_array = ["Motorcycle","Car","Truck"];};
            case "Pickup_PK_TK_GUE_EP1_DZE":        {_array = ["Motorcycle","Car","Truck"];};
            case "ori_originsmod_pickupoldfuel":    {_array = ["Motorcycle","Car","Truck"];};
            case "ori_originsmod_pickupold":        {_array = ["Motorcycle","Car","Truck"];};
            case "ori_p85_originsmod_CUCV":            {_array = ["Motorcycle","Car","Truck"];};
            case "ori_p85_originsmod_cucv_pickup":    {_array = ["Motorcycle","Car","Truck"];};
            case "ArmoredSUV_PMC":                    {_array = ["Motorcycle","Car"];};
            case "ArmoredSUV_PMC_DZ":                 {_array = ["Motorcycle","Car"];};
            case "ArmoredSUV_PMC_DZE":                 {_array = ["Motorcycle","Car"];};
            case "HMMWV_Ambulance":                    {_array = ["Motorcycle","Car","Truck"];};
            case "HMMWV_Ambulance_CZ_DES_EP1":        {_array = ["Motorcycle","Car","Truck"];};
            case "HMMWV_DES_EP1":                    {_array = ["Motorcycle","Car","Truck"];};
            case "HMMWV_DZ":                        {_array = ["Motorcycle","Car","Truck"];};
            case "LandRover_CZ_EP1":                {_array = ["Motorcycle","Car","Truck"];};
            case "LandRover_MG_TK_EP1_DZE":            {_array = ["Motorcycle","Car","Truck"];};
            case "LandRover_Special_CZ_EP1_DZE":    {_array = ["Motorcycle","Car","Truck"];};
            case "LandRover_TK_CIV_EP1":            {_array = ["Motorcycle","Car","Truck"];};
            case "Ikarus":                            {_array = ["Motorcycle","Car","Truck"];};
            case "Ikarus_TK_CIV_EP1":                {_array = ["Motorcycle","Car","Truck"];};
            case "Kamaz":                            {_array = ["Motorcycle","Car","Truck"];};
            case "KamazRefuel_DZ":                    {_array = ["Motorcycle","Car","Truck"];};
            case "MMT_Civ":                            {_array = ["Motorcycle","Car","Truck"];};
            case "MtvrRefuel_DES_EP1_DZ":            {_array = ["Motorcycle","Car","Truck"];};
            case "MTVR_DES_EP1":                    {_array = ["Motorcycle","Car","Truck"];};
            case "UralRefuel_TK_EP1_DZ":            {_array = ["Motorcycle","Car","Truck"];};
            case "Ural_CDF":                        {_array = ["Motorcycle","Car","Truck"];};
            case "Ural_TK_CIV_EP1":                    {_array = ["Motorcycle","Car","Truck"];};
            case "Ural_UN_EP1":                        {_array = ["Motorcycle","Car","Truck"];};
            case "V3S_Open_TK_CIV_EP1":                {_array = ["Motorcycle","Car","Truck"];};
            case "V3S_Open_TK_EP1":                    {_array = ["Motorcycle","Car","Truck"];};
            case "V3S_Refuel_TK_GUE_EP1_DZ":        {_array = ["Motorcycle","Car","Truck"];};
            case "ori_vil_originsmod_lublin_truck":    {_array = ["Motorcycle","Car","Truck"];};
            case "ori_transit":                        {_array = ["Motorcycle","Car","Truck"];};
            case "ori_excavator":                    {_array = ["Motorcycle","Car","Truck"];};
            case "ori_vil_originsmod_volvo_fl290":    {_array = ["Motorcycle","Car","Truck"];};
            case "ori_vil_originsmod_truck_civ":    {_array = ["Motorcycle","Car","Truck"];};
            case "ori_survivorBus":                    {_array = ["Motorcycle","Car","Truck"];};
            case "tractor":                            {_array = ["Motorcycle","Car","Truck"];};
            case "ori_titanic":                        {_array = ["Motorcycle","Car","Truck"];};        
        };
        
        _array
    };

×
×
  • Create New...