Jump to content
Sign in to follow this  
3rd-mef

no Entry .model

Recommended Posts

heya guys,

 

i've hit a snag in trying to code my faction for my unit. when ever i try to preview a game i get the error : no entry .model

 

does any1 of you have an idea what this might be?

 

below is the code for the model which is causing this.

 

 

class CfgVehicles
{
    class B_Soldier_base_F;
    
    class Mar_TL_W: B_Soldier_base_F
    {
        side = 1;
        faction = "3rd_MEF";
        backpack = "B_mas_m_Bergen_acr_c";
        vehicleclass = "Marines_wood";
        author = "3mef";
        _generalMacro = "MS_TL_W";
        scope = 2;
        displayName = "Team Leader";
        weapons[] = {""};
        respawnWeapons[] = {""};
        magazines[] = {""};
        respawnMagazines[] = {""};
        cost = 3000000;
        threat[] = {1,0.7,0.3};
        linkedItems[] = {""};
        respawnLinkeditems[] = {""};
        model = "\A3\Characters_F\Common\basicbody";
        uniformClass = "U_mas_mar_B_CombatUniform_wood";
        camouflage = 1.6;
    };
};

 

if you want more info please feel free to slap me in the face and i will deliver the files needed if i have them haha

Share this post


Link to post
Share on other sites

It probably wont fix your error, but change

        weapons[] = {""};
        respawnWeapons[] = {""};
        magazines[] = {""};
        respawnMagazines[] = {""};
        linkedItems[] = {""};
        respawnLinkeditems[] = {""}; 

to

        weapons[] = {};
        respawnWeapons[] = {};
        magazines[] = {};
        respawnMagazines[] = {};
        linkedItems[] = {};
        respawnLinkeditems[] = {}; 

As heaving quotations without content (i.e. "") looks for an empty classname and messes things up.

Share this post


Link to post
Share on other sites

heej jackal,

 

this fixed it .. thank you ... feeling stupid now for not noticing this xD

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  

×