Jump to content

Search the Community

Showing results for tags 'trunk'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Altis Life RPG
    • Headquarters
    • Introductions
    • RULES
  • Altis Life RPG Community
    • General Discussion
    • Helper Recruitment
    • Altis Life Server Advertising
    • Discord (join us for discuss)
  • Tools and Administration
    • Altis Life RPG (official Framework)
    • Altis Life Wiki
    • Server Setup and Configuration
    • Database
    • Security
    • Maintenance
  • Altis Life Customization
    • Server & Scripting Help Desk
    • Releases & Download
    • Misc & Tools
  • Kool Kids Klub's Oof
  • Kool Kids Klub's Secret Spot

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me



Hard Drive

Graphic Card




Description - Other Accessories

Found 2 results

  1. ------------------------------------------------------------------------------------------------------------------------- Title: Trunk content Author: Fubister Difficulty: Easy Description: This modification lets players see content of their virtual trunk in the garage menu. ------------------------------------------------------------------------------------------------------------------------- Open stringtable.xml in your main mission directory. Find: <Key ID="STR_Shop_Veh_UI_Armor"> <Original>Armor Rating:</Original> <Czech>Armor Hodnocení:</Czech> <Spanish>Clasificación de Armadura:</Spanish> <Russian></Russian> <German>Panzerungsbewertung:</German> <French>Blindage :</French> <Italian>Resistenza:</Italian> <Portuguese>Resistência:</Portuguese> <Polish>Pancerz</Polish> </Key> add after <Key ID="STR_Shop_Veh_Trunk"> <Original>Trunk content:</Original> <Czech>Obsah kufru:</Czech> <Spanish>Contenido del tronco:</Spanish> <Russian>Содержимое соединительной линии:</Russian> <German>Inhalt des Trunk:</German> <French>Contenu de la malle:</French> <Italian>Contenuto del tronco:</Italian> <Portuguese>Conteúdo do Tronco:</Portuguese> <Polish>Zawartość bagażnika:</Polish> </Key> <Key ID="STR_Shop_Veh_Trunk_Empty"> <Original>Empty</Original> <Czech>Prázdný</Czech> <Spanish>Vacío</Spanish> <Russian>пустой</Russian> <German>Leeren</German> <French>Vide</French> <Italian>Vuoto</Italian> <Portuguese>Esvaziar</Portuguese> <Polish>Pusty</Polish> </Key> Open dialog/function/fn_garageLBChange.sqf Add 2 new variables: _inventory and _inventoryShow so it looks like this: private ["_control","_index","_className","_classNameLife","_dataArr","_vehicleColor","_vehicleInfo","_trunkSpace","_sellPrice","_retrievePrice","_sellMultiplier","_price","_storageFee","_purchasePrice","_inventory","_inventoryShow"]; Find: _classNameLife = _className; Add after: _inventory = (_dataArr select 2); _inventoryShow = ""; Find: if (!(_retrievePrice isEqualType 0) || _retrievePrice < 1) then {_retrievePrice = 500;}; Add after: if(str(_inventory) in ["[]","[[],0]",'"[[],0]"','"[]"']) then { _inventoryShow = localize "STR_Shop_Veh_Trunk_Empty"; } else { _inventory = toArray(_inventory); for "_i" from 0 to (count _inventory)-1 do { _sel = _inventory select _i; if(_sel == 96) then { _inventory set[_i,39]; }; }; _inventory = toString(_inventory); _inventory = call compile format["%1", _inventory]; if(typeName _inventory == "STRING") then {_inventory = call compile format["%1", _inventory];}; if(count _inventory != 0) then {_inventory = _inventory select 0;}; { _name = M_CONFIG(getText,"VirtualItems",(_x select 0,0),"displayName"); _val = (_x select 1); if (_val > 0) then { _inventoryShow = _inventoryShow + format ["%1 x%2",localize _name,_val] + ", "; }; } forEach _inventory; }; Find: (CONTROL(2800,2803)) ctrlSetStructuredText parseText format [ Change and add: " +(localize "STR_Shop_Veh_UI_Fuel")+ " %7<br/> " +(localize "STR_Shop_Veh_Trunk")+ " %9 ", Find: _vehicleColor Replace and add: _vehicleColor, _inventoryShow Open dialog/function/fn_impoundMenu.sqf Find: _tmp = [(_x select 2),(_x select 8)]; Replace with: _tmp = [(_x select 2),(_x select 8),(_x select 9)]; Now we move to server side Open life_server/Functions/Systems/fn_getVehicles.sqf Add inventory to the _query to make it look like this: _query = format ["SELECT id, side, classname, type, pid, alive, active, plate, color, inventory FROM vehicles WHERE pid='%1' AND alive='1' AND active='0' AND side='%2' AND type='%3'",_pid,_side,_type]; That's it. Also make sure that your save_vehicle_virtualItems in Config_Master.hpp is set to true, otherwise... well this script would make no sense.
  2. Edit by Deadlesszombie: Author: Basti | John Collins for Eisenschmiede-Gaming ********************************************************************************************* Hey Guys, today i want to share my trunk with all of u and how to install it ********************************************************************************************* to start things of here are some information about it: The trunk has 2 new buttons one to take all (as much as possible) one to store all ( as much as possible) it has ha new layout, and yea, it is not the best but yea go with it, design is not my strongest It will look like this: ********************************************************************************************* Tested in versions: 5.0.0 4.4.1 ********************************************************************************************* first we need to Edit the menu so go to dialog/trunk.hpp and replace everythin with my code that done we go to our functions.hpp / functions.h in the root directory nad add unter class vehicle the following: class vehTakeAllItem {}; class vehStoreAllItem {}; so it should look like this next of we go in the directory core/vehicle and create 2 new sqf files the first one: fn_vehStoreAllItem.sqf: and fn_vehTakeAllItem.sqf: so with this done it should work, if i forgot something please let me know below
  • Create New...