splitting mdldyna.inc into multiple files problem.

09/29/2016 16:07 raventh1984#1
Hi elitepvpers,

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.

Btw if i put the weapons inside mdlArmor.inc then i can spawn the weapons.

UPDATE... Problem solved. I messed something else up that prevented further loading of the files.