tenentecardoso
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Community Reputation
16 GoodAbout tenentecardoso
-
Rank
Private
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
No entry - bin\config.bin
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
So where should I define them? -
Hello there! I've published my first mod on Steam today, but some users ran into some problems while spawning units. It's not breaking the game, but it's boring. It didn't use to happen before, so I have no idea what's going on. Most of the script was written in 2019, so I guess something changed in an update. OMEGA_PV_UNIF is an uniform class. All uniforms used this class. I've changed them to different names (PV_UNIF 1, 2...), but the error still shows up. Any ideas on how to fix it? Here's a copy of the script:
-
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hello, guys. The mod is actually live right now. Thank you all for the help! https://steamcommunity.com/sharedfiles/filedetails/?id=2056222211 -
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Thank you guys for the help. I decided to start from scratch, and this time it actually worked. Im also beginning to understand the logic of the config.cpp, so things are getting easier. Ill post a link for the mod when its ready. -
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
It didn't work. The entire code looks like this now. I've inserted a comment at the lines of classes that I am not using, since you said I had to call them all. If that's not what you meant with having to call them all, sorry. I really have no programming experience. -
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Here's the entire config.cpp I am going to test your script now. -
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
-
Something wrong with my config
tenentecardoso replied to tenentecardoso's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
It's odd, but inserting that line actually generates another error, saying that the value had already been defined -
tenentecardoso started following Something wrong with my config
-
Something wrong with my config
tenentecardoso posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hello! This is the first time I create an actual addon for Arma 3, and I've came across a few problems. The tutorial I watched was quite out of date, so the config was completely wrong. I had to do my own config based on the BI's wiki on the config file. The main problem started with the ballistic protection for my custom vest, which was out of date and didn't work. I've rewritten the entire section for the vest, and it worked (ish). The game starts, shows the vest, the virtual arsenal shows the ammount of ballistic protection in the vest (which is quite high, I'd say 80% of the bar is filled, enough to stop a 7.62 round), but in reality the vest won't even stop a 9mm round shot at a distance, which means the vest has no real ballistic protection. What should I do? Here's my code. // class ItemCore; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class Custom_Vest1: Vest_Camo_Base { author = "Ventspils1944"; scope = 2; displayName = "OMEGA Platecarrier Heavy"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_Vest01.p3d"; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_vest_co.paa"}; hiddenSelectionsMaterials[] = {"Custom_Uniform\Data\custom_vest.rvmat"}; class ItemInfo: ItemInfo { uniformModel = "A3\Characters_F\BLUFOR\equip_b_Vest01.p3d"; containerClass = Supply140; mass = 70; class HitpointsProtectionInfo //more info at: https://community.bistudio.com/wiki/Arma_3_Soldier_Protection { class Chest { hitPointName = "HitChest"; armor = 30; passThrough = 0.3; }; }; }; }; }; The second problem is this: It happens when I enable a second part of the code, related to my custom helmet. Here's the code for the headgear. //class cfgWeapons //************************************************************************************************************************************************************************************************ //***** Headgear ********************************************************************************************************************************************************* //************************************************************************************************************************************************************************************************ { class H_HelmetB; class HeadgearItem; class Custom_Helmet1: H_HelmetB { author = "Ventspils1944"; scope= 2; weaponPoolAvailable = 1; scopeCurator=2 displayName= "OMEGA ECH"; picture = "-"; model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\Custom_Uniform\Data\custom_helmet_co.paa"}; hiddenSelectionsMaterials[] = {"Custom_Uniform\Data\custom_helmet.rvmat"}; //editorCategory="EdCat_Equipment"; //editorSubcategory="EdSubcat_Hats"; class ItemInfo: HeadgearItem { mass = 50; uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic.p3d"; //hiddenSelections[] = {"Camo"}; //hiddenSelectionsTextures[] = {"\Custom_Uniform\Data\custom_helmet_co.paa"}; //hiddenSelectionsMaterials[] = {"Custom_Uniform\Data\custom_helmet.rvmat"}; class HitpointsProtectionInfo // more info at: https://community.bistudio.com/wiki/Arma_3_Soldier_Protection { class Head { hitPointName = "HitHead"; armor = 8; passThrough = 0.5; }; }; }; }; };