ChickenBandit
Member-
Content Count
11 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout ChickenBandit
-
Rank
Private First Class
-
Why do we have CPU heavy games when GPUs are much more powerful?
ChickenBandit replied to scaramoosh's topic in ARMA 3 - GENERAL
No, not really. I have an AMD FX8350 and even when I launch an editor mission on Stratis with nothing but myself my CPU is still bottlenecking the game (and it's only my first core, the other 7 cores are all at less than a quarter utilization). -
See, I told you the modding community will be active
ChickenBandit replied to rehtus777's topic in ARMA 3 - GENERAL
Yes, and as far as I can tell there is no mod on there that lets you change a unit's loadout in the editor without having to script it manually. If you could point me to one that does, that would be fantastic. Virtual ammo box doesn't let me change an AI unit's loadout, I have to use scripting to add and remove items. Also telling everyone to just go grab gear from a box is hardly an ideal solution. -
See, I told you the modding community will be active
ChickenBandit replied to rehtus777's topic in ARMA 3 - GENERAL
Some rather important features that BI said they were working on still haven't materialized, and there haven't been any updates on their status from BI in a while. In particular the lack of a gear/loadout gui in the editor is a huge deterrent for people who want to get into mission editing and the like. Also if they had simply included some kind of cargo plane like the C130 that would have been enough to make me pretty happy. -
Spawning units in all buildings of a certain type in a radius from the player
ChickenBandit posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to spawn a civilian in every church within 2000m distance of the player's starting position. I've written a script for it, and it doesn't throw any errors when I launch the mission but the units do not spawn. I've included my code below, any idea as to what I'm doing wrong? house_positions = []; buildings = nearestObjects [player, ["House"], 2000]; { if((typeOf _x) in ["Land_Chapel_Small_V2_ruins_F", "Land_Chapel_Small_V1_ruins_F", "Land_Chapel_Small_V2_F", "Land_Chapel_Small_V2_ruins_F", "Land_Chapel_V1_F", "Land_Chapel_V1_ruins_F", "Land_Chapel_V2_F", "Land_Chapel_V2_ruins_F"]) then { _pos = getPosATL _x; house_positions = house_positions + [_pos]; }; } foreach buildings; { _x spawn { if ((count buildings) > 0) then { _church = buildings select 0; if ((typeOf _church) in ["Land_Chapel_Small_V2_ruins_F","Land_Chapel_Small_V1_ruins_F","Land_Chapel_Small_V2_F","Land_Chapel_Small_V2_ruins_F","Land_Chapel_V1_F","Land_Chapel_V1_ruins_F","Land_Chapel_V2_F","Land_Chapel_V2_ruins_F"]) then { _group = createGroup west; _char = "C_man_hunter_1_F" createUnit [_x, _group]; }; }; }; } forEach house_positions; -
Scripts work for myself and for AIs, but not for other players
ChickenBandit replied to ChickenBandit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Bumpity bump -
Ammo not loading at launch
ChickenBandit replied to kocrachon's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Same basic issue for me in this thread: http://forums.bistudio.com/showthread.php?150478-Scripts-work-for-myself-and-for-AIs-but-not-for-other-players Stuff works fine for the host and AI, but not for players -
Scripts work for myself and for AIs, but not for other players
ChickenBandit replied to ChickenBandit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Bump for justice -
Simple Respawn Issue... Need help please
ChickenBandit replied to beatdank's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Or just run it as LAN, no need to lock -
Scripts work for myself and for AIs, but not for other players
ChickenBandit posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello everyone. I've been running into an issue with my missions where everything seems to work perfectly when I run it by myself or with AIs, but has major issues in multiplayer. As an example, look at my init.sqf: if(isServer) then{{_x unassignItem "NVGoggles"; _x removeItem "NVGoggles"; _x removeItemFromPrimaryWeapon "acc_pointer_IR"; _x addPrimaryWeaponItem "acc_flashlight";} forEach allUnits}; AIs get their NVGs removed, but human players (other than myself) do not. If I stick those exact same commands into each squadmember's unit's init, it works even in multiplayer. Another example is this script I have for completely stripping someone of gear, which I call using _nul = this execVM "stripAllGearWeaponsEtc.sqf"; in the unit's init: removeAllAssignedItems _this; removeAllAssignedItems _this; removeVest _this; removeUniform _this; removeAllWeapons _this; removeBackpack _this; Once again this one works on myself and on AIs, but not on human players. I'm pretty new to Arma scripting, is there just some fundamental aspect of how scripting works for multiplayer that I'm not aware of? EDIT: Also, if anyone could point me to a basic guide on how variables and scope work in Arma scripting, that would be a huge help -
Question on how to self reference AI in a script that runs in their init
ChickenBandit replied to ChickenBandit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works! Thank you! -
Question on how to self reference AI in a script that runs in their init
ChickenBandit posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So based on some things I saw in another thread I made a quick script that strips all of the gear off of a unit. It goes like this: removeAllAssignedItems player; removeAllAssignedItems player; removeVest player; removeUniform player; removeAllWeapons player; removeBackpack player; I put it in the init of my character with this: nul = [this] execVM "NakedTime.sqf"; It worked, but when I tried to put it in the init of my AI squadmates it failed, I'm assuming because the "player" object does not work for AIs. The problem is, replacing "player" with "this" does not work, and it also makes it even stop working on my character. Is there any way to get this script to work universally on any unit whose init I call it from? Thanks in advance!