Jump to content
Sign in to follow this  
jdhaines

Multiple Vehicle Classes in the Config.paa

Recommended Posts

Hey Guys. I'm somewhat new to modding and am working on some skins. I have them working, but I'd like to have two pilots. One for fixed wing and the other for Rotary Wing. I'v tried countless things in the config file but I haven't gotten it right yet. I basically want two pilot class guys. I'll make their display names different, and have them refrencing different models and textures. But I can't get the game to let me use the pilot class twice.

Anyone have an idea on how to do that? Thanks in advance.

Share this post


Link to post
Share on other sites

I don't know the classnames offhand, but you can't use the same classname twice. So rather than having something like this<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class pilot : parentClass

{

displayName = "Airplane Pilot";

model = "airplane_pilot.p3d";

};

class pilot : parentClass

{

displayName = "Helicopter Pilot";

model = "helo_pilot.p3d";

};

you need something more like this<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class pilot : parentClass {};

class pilot_airplane : pilot

{

displayName = "Airplane Pilot";

model = "airplane_pilot.p3d";

};

class pilot_helo : pilot

{

displayName = "Helicopter Pilot";

model = "helo_pilot.p3d";

};

Hope that helps. smile_o.gif

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  

×