Forum Jump :

Author Message


Posts: 13
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2017-12-03 13:11        
     
Hi,
is it possible to get crate container models in an array, such as "Land_PlasticCase_01_medium_F" or "Box_NATO_Ammo_F" from reading cfg ?
Just like this script reading all weapons from GOM : https://forums.bistudio.com/forums/topic/169386-read-weapons-from-cfg-and-sort-them-according-to-firepower/?tab=comments#comment-2645871
So that we can get all available interactive crates.

If yes, how do you filter only cargo/container boxes since classes looks random :
"Land_PlasticCase_01_medium_F" VehicleClass = "Container"
"plp_ct_MilBoxMediumBlack" VehicleClass = "plp_containers"

Thanks


Author Message


Posts: 13
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2017-12-31 13:07        
     
Hi,
still struggling with this, however I kindOf managed to make the script work.
On my way I found that I might try to get more available assets ( veh, uniforms, etc... ) from cfg and get them kindOf sorted.

With very little intel I could find, this is what I got so far :

I'm not yet used to this mechanic and don't yet get the "scope"&"type" system, nor how you determine some filters. Yes, I don't know what i'm doing !

Working arrays : Military boats, Civilian boats, Military helis, Civilian helis, Military planes, Civilian planes, Crates, Faces, Identities.
Empty arrays : Tanks, Military wheeled, Civilian wheeled, Junks, Military uniforms, Civilian uniforms, Helmets, Hats, Vests, Glasses.

Any intel would be much appreciated.

This post was edited by BurnToAshes (2017-12-31 17:09, 202 days ago)