View Full Version : Modify file outside addon?
Oct 18 2007, 18:17
I read somewhere on the wiki... looked all over and can't find it... that there was a way to have the game server load your pbo and then you can tweak a text file to change values for the model?? Does anyone know how to do this?
It would be nice to tweak a plane by not having to change values in config.cpp, repack, restart Arma each time a change is made.
Oct 18 2007, 19:15
For configs you have to restart the game / server. http://forums.bistudio.com/oldsmileys/confused_o.gif
You can make the config reside outside a pbo though.
By this you don't have to repack the addon again and again.
See @<hidden> or PROPER_Sara how that is done.
Oct 18 2007, 19:18
You can do it for scripts, since ArmA only loads them when they are executed. But configs are only loaded on startup so you need to restart ArmA.
Oct 18 2007, 20:38
If I do call a script, I suppose I'll have to put it in a subfolder to call it?
Like mymod.pbo calls goofy.sqf so I have:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">/AddOns/mymod.pbo
? Or can I put it in root (AddOns)? I am asking because I am at work but will try it out tomorrow..
Not sure if this is what you mean but I have a scripts folder in ...blah\arma\scripts
I can called these like
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> player execvm "scripts\myscript.sqf";[/QUOTE]
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.