smutton
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Everything posted by smutton
-
config.cpp help. uniform icon does not appear.
smutton replied to m4rk3tin6's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm not seeing Aziro being defined anywhere as a string (aside as it being a class definition), so I'm guessing you forgot to put this into quotations? class cfgFactionClasses { class Aziro_Mod { displayName = "Aziro"; // right chea priority = 2; side = TWest; icon = "\Aziro\Data\Aziro_icon.paa"; }; }; -
cfgRecoil, still confused with the mechanism
smutton replied to dragon zen's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm not too keen on recoil configuration; however, I found this that may help you: http://tactical.nekromantix.com/wiki/doku.php?id=arma:config:cfgrecoil -
need help for FireMissile script
smutton replied to firewill's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Doh, you're right. -_- My apologies, I've been debugging code (in PHP and your syntax highlighting may have confused me ... let's just say it did :p) since noon CST today. *facepalm* He could have meant to check if they're not nil, as well. Honestly, that entire block is contradictory. It could be one of two things, then: if (!isNil "_msslcount" and !isNil "_mraamcount" and !isNil "_gbucount") then { // Init _msslcount = _plane getVariable "Msslcount"; _mraamcount = _plane getVariable "MraamCount"; _gbucount = _plane getVariable "GBUCount"; _mcount = 0; _m2count = 0; }; Or if (isNil "_msslcount" and isNil "_mraamcount" and isNil "_gbucount") then { // Init _msslcount = 62; _mraamcount = 24; _gbucount = 20; _mcount = 0; _m2count = 0; // Set _plane setVariable ["Msslcount", _msslcount, true]; _plane setVariable ["MraamCount", _mraamcount, true]; _plane setVariable ["GBUCount", _gbucount, true]; }; So, firewill, what exactly are you trying to do at that code block? -
AddonBuilder - Config.cpp error.
smutton replied to Johno89's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Removed. -
need help for FireMissile script
smutton replied to firewill's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm sure he meant to use getVariable since setVariable returns nothing and he's checking for them not being initialized. As for your problem, firewill, I believe the synchronization problem is because of the case of MSSLCount vs Msslcount whenever you're updating the counts after the missiles have been fired. -
@A3CS - ArmA 3 Combat System
smutton replied to alduric's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Nice, can't wait!