der bastler 0 Posted January 6, 2003 1.) How to make the medic-armband working? All my soldiers wear it -even the non-medics! 2.) Look what I've got after moving one of my U.S.C.Marines in cargo of a sopwith biplane: Screenshot Is this a limitation of the old demo's soldier models? (well, at least you only see few U.S.C.Marines flying around in WWI planes... ) Share this post Link to post Share on other sites
VXR 9 Posted January 6, 2003 try deleting the glasses from the pilot view lod and adding cfg models to your cpp Share this post Link to post Share on other sites
der bastler 0 Posted January 6, 2003 There are no glasses in "view pilot" lod, the soldier model in this lod doesn't even have a head! And yes, there is a cfgModels class, but I have to update it to my new model filename (forgot version numbers ). Hang on, I'll check this... Share this post Link to post Share on other sites
aLoneWolf 0 Posted January 6, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (der bastler @ Jan. 06 2003,19:51)</td></tr><tr><td id="QUOTE">1.) How to make the medic-armband working? All my soldiers wear it -even the non-medics! <span id='postcolor'> BIStudio is using "hiddenSelections" - please, check P3D files & configs... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class SoldierWB: Soldier { model="MC vojakW2"; hiddenSelections[]={"medic"}; }; class SoldierWMedic: SoldierWB { attendant=1; hiddenSelections[]={}; }; <span id='postcolor'> Share this post Link to post Share on other sites
der bastler 0 Posted January 6, 2003 @Vixer, aLoneWolf: Thanks! There was only a "5" missing in class cfgModels. Now the corps can enjoy a nostalgic flight... And for the hidden selections: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class All {}; class AllVehicles : All {}; class Land : AllVehicles {}; class Man : Land {}; class Soldier : Man {}; class SoldierWB : Soldier {}; class OffizierUSCM: SoldierWB { Â Â [...] }; <span id='postcolor'> My OffizierUSCM should have inherited the values from SoldierWB including hiddenSelections. Perhaps I've to re-define it because of the new model? Back to the testing grounds... (guess it's getting late tonight) Share this post Link to post Share on other sites
PicVert 0 Posted January 6, 2003 If you have the old demo models of Soldiers, make one medic and other model (save one models for one soldier), like that you can make your own evry soldier like medic, spec ops etc.. in your CPP you have to define it like that : class CfgModels { class Default{}; class Head: Default{}; class Man: Default{}; class hlavaw: Head{}; class YourP3d: Man{}; class YourP3d2: Man{}; class YourP3d3: Man{}; } class CfgPatches { class YourClass { units[] = {YourClass}; weapons[] = {}; requiredVersion = 1.75; }; class YourClass2 { units[] = {YourClass2}; weapons[] = {}; requiredVersion = 1.75; }; class YourClass3 { units[] = {YourClass3}; weapons[] = {}; requiredVersion = 1.75; }; } class CfgVehicles { class All{}; class AllVehicles: All{}; class Land: AllVehicles{}; class Man: Land{}; class Soldier: Man{}; class SoldierWB: Soldier{}; class SoldierWG:SoldierWB{}; class SoldierWLAW: SoldierWB{} class SoldierWAA: SoldierWLAW{}; class OfficerW: SoldierWB{}; class SoldierWMedic: SoldierWB{}; class SoldierWSniper: SoldierWB{}; class SoldierWSaboteur : SoldierWB {}; class SoldierWSaboteurPipe: SoldierWSaboteur{}; class Your Medic: SoldierWMedic { displayName="Name in Editor"; model="\Path to your p3d\"; // ex : "\YourMedic\medic.p3d" side = 1; modelspecial = ""; canHideBodies=1; attendant = 1; sensitivity=1.50; accuracy=2.500000; nightVision=1; camouflage=0.950000; weaponSlots="1 + 16 + 2 * 4096 + 10 * 256"; weapons[]={"M16","Binocular","NVGoggles","Throw","Put&q uot;}; magazines[]={"M16","M16","M16","M16"}; }; Sure you can make modif in that Class. Make one Class for one Soldier. That's all. I hope that is what you need ?! Share this post Link to post Share on other sites
der bastler 0 Posted January 6, 2003 Armband's now functioning perfectly! HiddenSelections works ...after re-definition... Share this post Link to post Share on other sites
jojimbo_No_1 0 Posted January 7, 2003 hidden selections rule... make sure to check all the lods, to find the glasses, and also add the glasses to the hidden selections i think its "breije" or something. also it may be you can see from the inside of the head cause the model is stuck between normal mode and the proxy,this sometimes happens inside vehicles with default ofp models,so it might be a bug. Share this post Link to post Share on other sites
der bastler 0 Posted January 7, 2003 @jojimbo_No_1: As mentioned above it was my fault. In class cfgModels I forgot a number (filename is "colmarine5.p3d", class name was "colmarine" -> error). Seems to be a kind of muzzle flash bug (but for soldiers, not weapons)... Share this post Link to post Share on other sites