Jump to content
Sign in to follow this  
SmackDaddy

2Q's: config's in a mission, and player squad texture

Recommended Posts

Hello all,

I have a couple of small scripting questions that I need a little help from the experts with.

Is it possible to put a small "config only" addon (or just the config.bin itself) directly inside a mission.pbo?

I'd like to be able to set some flag textures dynamically based on the player's squad. How can I get a reference to the player's squad.xml texture file (if they have one)?

Thanks in advance for your advice.

Share this post


Link to post
Share on other sites

No.

You can do some interesting things with the description.ext, but you are not AFAIK able to load external config classes that are not defined prior to the mission.

If you want to use different flags, why not just place all the textures in the mission folder, then use them that way?

Share this post


Link to post
Share on other sites

Hi Rommel,

Thanks for the quick answer. That's unfortunate about the configs. Regarding the textures; I already have several other static textures in use in the mission. I'm looking to make these particular changes dynamically, based on the player's squad.xml texture (if they have one).

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  

×