Jump to content
Sign in to follow this  
Flat!!!

Config Prob... Units do not appear in editor

Recommended Posts

Well as the topic states they don't show up in the editor... It worked until I pushed the pilot in... here it is

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches {

class BOS_RESKIN {

units[] = {

"UH60_RESKIN1", "UH60_RESKIN2"

};

class BOS_RESKI2 {

units[] = {

"Navypilot"

};

};

class CfgVehicleClasses {

class BOS_RESKIN {

displayName = "Air (Navy)";

};

class BOS_RESKI2 {

displayName = "Men (Navy)";

};

};

class CfgVehicles

{

/*extern*/ class UH60;

class UH60_RESKIN1: UH60

{

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60";

displayname = "UH60 FFAR (Navy)";

};

/*extern*/ class UH60mg;

class UH60_RESKIN2: UH60MG

{

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60mg";

displayName = "UH60 MG (Navy)";

};

/*extern*/ class us_soldier_pilot;

class navypilot: us_soldier_pilot

{

vehicleclass = "BOS_RESKI2";

model = "\uh60navy\us_soldier_pilot";

displayName = "Pilot (Navy)";

};

Plz help me... and tell me what I am doing wrong... Is it possible to have both vehicles and man units in the same config?

Share this post


Link to post
Share on other sites

add

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">scope=public

Share this post


Link to post
Share on other sites

Should I add that to every single one or just the man?

Share this post


Link to post
Share on other sites

Ok I have searched... and found maybe 5 topics one said if you add scope=protected it wont show ingame bla bla bla so I guess scope=public will make it appear... So I added it to all and No luck... one= no luck 3 =no luck I tried all combinations even and still no luck... BTW when I did not have the pilot it worked...

This is what I used first and it works:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches {

class BOS_RESKIN {

units[] = {

"UH60_RESKIN1", "UH60_RESKIN2"

};

};

};

class CfgVehicleClasses {

class BOS_RESKIN {

displayName = "Air (Navy)";

};

};

class CfgVehicles

{

/*extern*/ class UH60;

class UH60_RESKIN1: UH60

{

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60";

displayname = "UH60 FFAR (Navy)";

};

/*extern*/ class UH60mg;

class UH60_RESKIN2: UH60MG

{

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60mg";

displayName = "UH60 MG (Navy)";

};

};

Share this post


Link to post
Share on other sites

You might be over-writing this config with another.

Have you got this at the top of the config?

Quote[/b] ]

// type scope

#define private 0

#define protected 1

#define public 2

This should be enough to make your addon appear in the list;

Quote[/b] ]

class CfgVehicles

{

.......

class MyGreyCar : Car

{

scope = 2;

vehicleClass="My Mod";

displayName = "My Car";

.......

And yes, if done correctly you can definite any number of different addons in the same config/PBO

Share this post


Link to post
Share on other sites

Ok I tried this and it still does not work... I get no errors nothing... and before I added the pilot to the Config it worked... Any ways this is what I tried just now:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches {

class BOS_RESKIN {

units[] = {

"UH60_RESKIN1", "UH60_RESKIN2"

};

class BOS_RESKI2 {

units[] = {

"Navypilot"

};

};

class CfgVehicleClasses {

class BOS_RESKIN {

displayName = "Air (Navy)";

};

class BOS_RESKI2 {

displayName = "Men (Navy)";

};

};

class CfgVehicles

{

/*extern*/ class UH60;

class UH60_RESKIN1: UH60

{

scope = 2;

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60";

displayname = "UH60 FFAR (Navy)";

};

/*extern*/ class UH60mg;

class UH60_RESKIN2: UH60MG

{

scope = 2;

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60mg";

displayName = "UH60 MG (Navy)";

};

/*extern*/ class us_soldier_pilot;

class navypilot: us_soldier_pilot

{

scope = 2;

vehicleclass = "BOS_RESKI2";

model = "\uh60navy\us_soldier_pilot";

displayName = "Pilot (Navy)";

};

Hope somebody comes up with a solution...

Share this post


Link to post
Share on other sites

Ok can you tell me where I should add them? cuz I don't get it... If you mean at the end then I added it there too and no luck... But If you please can specify that more I would be very thankfull...

Ok I found a couple of missing }; and now it looks like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches {

class BOS_RESKIN {

units[] = {

"UH60_RESKIN1", "UH60_RESKIN2"

};

};

class BOS_RESKI2 {

units[] = {

"Navypilot"

};

};

};

class CfgVehicleClasses {

class BOS_RESKIN {

displayName = "Air (Navy)";

};

class BOS_RESKI2 {

displayName = "Men (Navy)";

};

};

class CfgVehicles

{

/*extern*/ class UH60;

class UH60_RESKIN1: UH60

{

scope = 2;

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60";

displayname = "UH60 FFAR (Navy)";

};

/*extern*/ class UH60mg;

class UH60_RESKIN2: UH60MG

{

scope = 2;

vehicleclass = "BOS_RESKIN";

model = "\uh60navy\uh_60mg";

displayName = "UH60 MG (Navy)";

};

/*extern*/ class us_soldier_pilot;

class navypilot: us_soldier_pilot

{

scope = 2;

vehicleclass = "BOS_RESKI2";

model = "\uh60navy\us_soldier_pilot";

displayName = "Pilot (Navy)";

};

};

Now the Air (Navy) work. THX dude... But I now I got another problem... I get an error message when I come to the menu and when I open the window placing units. The error is as follows:

Quote[/b] ]No entry 'bin\config.bin/CfgVehicles/us_soldier_pilot.scope'.

Any ideas on how to remove this?

Ohh yeah and the Pilot does not show up neither does Men (Navy) class

Share this post


Link to post
Share on other sites

As far as I know Arma does not have a soldier class:

class us_soldier_pilot;

Must be a third party thing from somewhere, it certainly has nothing to do with default Arma.

Wherever it comes from, and presuming the game can find its entry somewhere, it has the scope parameter, and possibly other parameters, missing.

However ArmA does have:

class SoldierWPilot

Which uses the P3D model file called:

us_soldier_pilot.p3d

This might be a case then of the class name and model files name getting confused.

Planck

Share this post


Link to post
Share on other sites

Planck why am I stupid confused_o.gif ?

THX DUDE!!! notworthy.gif and thanks to all that posted in this thread... you have been of big help... notworthy.gif

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  

×