Flat!!! 0 Posted July 7, 2007 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
RN Malboeuf 12 Posted July 7, 2007 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
Flat!!! 0 Posted July 7, 2007 Should I add that to every single one or just the man? Share this post Link to post Share on other sites
RN Malboeuf 12 Posted July 7, 2007 you have to search and try to understand what i wrote Share this post Link to post Share on other sites
Flat!!! 0 Posted July 7, 2007 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
[aps]gnat 28 Posted July 8, 2007 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
Flat!!! 0 Posted July 8, 2007 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
RN Malboeuf 12 Posted July 8, 2007 }; mising at the very end Share this post Link to post Share on other sites
Flat!!! 0 Posted July 8, 2007 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
Planck 1 Posted July 8, 2007 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
Flat!!! 0 Posted July 8, 2007 Planck why am I stupid ? THX DUDE!!! and thanks to all that posted in this thread... you have been of big help... Share this post Link to post Share on other sites