Jump to content
Sign in to follow this  
acoustic

GAHH! Backpack problems.

Recommended Posts

Ok. Binowskis new US Marine units came out and they are freaking fantastic. Well, the only problem I have is that I like backpacks on my units. So I decided to add a backpack to my unit through addbackpack. For some reason it will work and sometimes it wont. It really is the most bi-polar coding I have ever seen in my life. Does anyone know how to fix this?

Share this post


Link to post
Share on other sites

_unit addBackpack "US_Assault_Pack_Ammo_EP1";

If that doesn't work I'd say they are incompatible with backpacks (like the vanilla USMC which can't be upgraded by config work alone as they come with fixed backpacks and no points in the model).

Share this post


Link to post
Share on other sites

Ask Binkowski if he could make his units compatible? :D

Share this post


Link to post
Share on other sites
Ask Binkowski if he could make his units compatible? :D

I'd rather not bother the guys who just spend months on units and is going to annual training on Monday. I think it's quite frowned upon to do that actually.

Share this post


Link to post
Share on other sites

if yuou open his pbo and derapify his config.bin you can search for the term "backpack" and under each unit you will see and element to allow backpacks

here's an example from the PRACS troops

class PRACS_Fusilier_ENG: PRACS_Fusilier

{

displayName = "Engineer";

enableGPS = 1;

canDeactivateMines = 1;

model = "\PRACS_Troops\PRACS_Fusilier_MG";

weapons[] = {"PRACS_GalilAR","ItemGPS","NVGoggles","Binocular","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};

magazines[] = {"PRACS_35Rnd_556x45","PRACS_35Rnd_556x45","PRACS_35Rnd_556x45","PRACS_35Rnd_556x45","PRACS_35Rnd_556x45","PRACS_35Rnd_556x45","HandGrenade_West","HandGrenade_West","SmokeShell","SmokeShell","PipeBomb","PipeBomb","PipeBomb"};

engineer = 1;

canCarryBackPack = 1;

backpack = "PRACS_F_CBK_BP";

class EventHandlers;

};

canCarryBackPack = 1;

allows the unit to carry a backpack

backpack = "PRACS_F_CBK_BP";

sets the default backpack they spawn with

Share this post


Link to post
Share on other sites

the US Marines are backpack compatible. utilizing the US_Bag proxy. it's a problem on his end. if you're trying to add a backpack to a unit that already has one you need to first remove it, and then i use

this addBackpack "bink_usmc_ilbe";

just an example.

Share this post


Link to post
Share on other sites

removebackpack this;this addBackpack "bink_usmc_ilbe";

My USMC Desert rifleman init. No backpack shows up. Am I doing something wrong? Using other backpacks doesn't work either.

Share this post


Link to post
Share on other sites

edit:

Didn't realize "bink_usmc_ilbe" was a backpack included with the addon.

Edited by Riouken

Share this post


Link to post
Share on other sites
Looks like same and correct syntax to me...

@OP: Are you on OA or A2?

Combined ops. Yeah, I have the same exact code as the wiki.

Share this post


Link to post
Share on other sites

Yeah I tried the addon. Seems to me some units have problems using backpacks while others work fine. The Scout(boonie) doesn't show up with a tripod, the RTO doesn't show up with the "radio pack". While others works just perfectly. Since setObjectTexture was supported, with working blood and TI textures, this looked like a good candidate for an event we're trying to put together.

The backpack is in their inventory, but doesn't show up on the model.

Share this post


Link to post
Share on other sites

Yeah, might be a missing proxy in a model. :rage:

Ah well, no addon release survives first contact! I'm sure he'll sort it on his return.

Share this post


Link to post
Share on other sites

Solution? For now probably only use the units you verify work. Place one of each, remove backpack, add backpack, and see on which units they appear. Again, it's only on the visual model, backpacks are added and works in the inventory.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×