help with model loading multiple files

Joined
May 13, 2011
Messages
1,463
Reaction score
155
Hi ragezoners,

Well instead of always helping others i now run into a problem my self.

What i have done is devided mdlDyna.inc into multiple files Example

All weapons are now located inside mdlWeapon.inc
Armor mdlArmor.inc
Etc....

Now in masqurade.prj i have this

model "ModelFileLoad\mdlArmor"
model "ModelFileLoad\mdlWeapon"
Etc....

now when i go ingame and spawn an armor its working fine.
Weapon it doesnt and every thing that is below mdlArmor i cant spawn.

Do i need to alter the source cause in the source is loading like this

else if( scanner.Token == "model" )
{
scanner.GetToken();
m_modelMng.LoadScript( scanner.token );
}

So i thought i will load multiple files with the Token model. But it doesn't.

Any help will be appriciated.
 
Back