Jump to content
Sign in to follow this  
infiltrator_2k

Underscore in Mod/Addons

Recommended Posts

If someone created an addon and used a space in its name instead of an underscore what problem(s) will this cause? For example: will this mean the addon will need to be enclosed with quotation marks in the start up parameters? There's obviously a good reason or reasons why people use the underscore in the naming process and I'm wondering what issues it will cause in Arma by using spaces oppose to underscores.

Share this post


Link to post
Share on other sites

There's potential problems and its best to avoid it if you want to ensure a working addon. I think it stems from platform differences in how spaces are handled

I never use space in a file name, it has become a convention

Share this post


Link to post
Share on other sites

Ive always used an underscore in any scripts or addons ive made since i started modding in OFP. Its the normal thing to do.

Share this post


Link to post
Share on other sites

After just conducting a few experiments I've found if you leave spaces ie: "-mod=@my addon" in the startup parameters the addon fails to load even though you're not prompted with an error. I've tried a number of combinations of enclosing the parameters with quotation marks and get the same results.

I've always had the understanding that underscoring spaces is good practice and prevents issues and there we have it.

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  

×