Jump to content
Sign in to follow this  
itax

Issue with model

Recommended Posts

Hello everyone :)

I have a strange issue when placing my soldiers in editor.

If i place a rifleman which uses soldier.p3d model everything works fine, but if i place medic which uses medic.p3d, game crashes.

Medic.p3d is a copy of soldier.p3d only with changed textures.

Config.cpp seems fine because if i add bis made model instead of mine, everything works fine.

Thank you for your replies :)

P.S I'm pretty new in all this modding stuff :D

Share this post


Link to post
Share on other sites

hmm, sounds (although without more info I can't be sure) like you need to add the medic.p3d to your model.cfg file. In your model.cfg there will be a bit that says something like:

class soldier: ArmaMan {};

To cut a long story short that tells the game that your model "soldier.p3d" uses the sections (such as rightarm and spine1) listed in the rest of the model.cfg.

You will need to add one for the medic so:

class soldier: ArmaMan {};

class medic: ArmaMan {};

the classname needs to be exactly the same as your P3D file's name.

Share this post


Link to post
Share on other sites

It's working! :) Thank you

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  

×