-
Content Count
597 -
Joined
-
Last visited
-
Medals
Everything posted by sorophx
-
script call in object's init field executed every time a player connects. workaround?
sorophx replied to sorophx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
can't, unfortunately. I'd have to create the trigger somehow first with a script, I guess I could create a trigger first via the object's init field, run the script via that trigger's init field and hope the game doesn't create these triggers every time somebody connects... but first I'll wait and see, maybe someone has a more elegant solution -
Who's going to make the first domination gamemode?
sorophx replied to PsychoPigeon's topic in ARMA 3 - USER MISSIONS
are you sure it's made by Xeno and not a port of his Domination for A2? -
you could choose the order from one of 3 options or have a random order
-
funny thing about these crashes related to Ifrits. yesterday, running version 1.6 on a dedi, people around me would crash all the time when somebody fired RPGs and NLAWs at Ifrits, but I never crashed for some reason. this is very odd
-
Who's going to make the first domination gamemode?
sorophx replied to PsychoPigeon's topic in ARMA 3 - USER MISSIONS
some of the concepts aren't very good anyway, it's the mission as a whole that has value. considering Xeno was working on Domination 4 at some point and wanted to change a lot of it, people shouldn't just blindly copy his old mission entirely. I'd love to see a different vision of Domi for Arma 3 from someone. or I guess Evolution will have to do -
which goes to show how good Domination really is :D there are PvP versions of Domination anyway
-
the PvP scene will be as strong as the modding scene for it. now, I know Bohemia apparently has been working on PvP modes for Arma 3, but forgive me for being rather skeptical... so, if modders can come up with good PvP scenarios, people will be playing PvP
-
this wasn't directed at me, but I still added you on Steam, I hope you don't mind. there are so few servers running your mission, and those that do have all kinds of crazy shit happening on them, I just wanted to ask for permission to join your server. but seeing as you are now also running a public dedi, I guess I should try that first :)
-
he's not trolling, it's a valid concern, because http://wasteland.arma.su/ until I see one of you admitting, you guys are as much thieves as Sa-Matra is a liar. you should get everything straightened out with Sa-Matra first, so he removes his accusative post. until that happens I suggest you keep your mouth shut and not threaten people with moderators, who you have no affiliation with
-
filter for [HC] or "havoc". it always has third person turned off.
-
Who's going to make the first domination gamemode?
sorophx replied to PsychoPigeon's topic in ARMA 3 - USER MISSIONS
this a lot of people seem to be unable to understand that Domi's greatest value lies in its replayability and scale. it's perfect for public games. It takes hours to complete, and no matter at which point a player joins, he will have something to do: if not in the current AO then surely in the next one. you may not like it, because it's not "tactical enough" or whatever. but show me another coop mission that people can just jump in and play, as dynamic as Domination. and that bullshit about "Domination destroying the Arma community"... I don't even know how sad a clown should be to blabber something like that. It's not Domination, it's lack of other decent scenarios. -
its auto-update is on, so it should be up-to-date
-
maybe someone could tell me what has to be done for this thing to work? I go to the Language tab, press Import. a new option titled "Arma 3" appears in the language menu. I open an SQF, click on "Arma 3", and nothing happens. what am I doing wrong? :(
-
never worked for me for some reason, maybe now it will *crosses fingers*
-
Respawn with last loadout/problems with commands and "kiled" eh
sorophx replied to cthulhu616's topic in ARMA 3 - MISSION EDITING & SCRIPTING
http://forums.bistudio.com/showthread.php?148439-Need-help-Q-A-needed-Custom-Multiplayer-Mission&p=2321705&viewfull=1#post2321705 check this post out, might help you -
I'm having trouble with a script, not sure why it's happening, maybe there's a person here who can help me I have a game logic in a mission that has a line [[s1,S2],this] execVM "test.sqf"; test.sqf has a part that goes like this: _units = _this select 0; logic1 setVariable ["defineUnits", _units, true]; _unitsArray = logic1 getVariable "defineUnits"; for "_i" from 1 to (count _unitsArray) step 1 do { if (player == (_unitsArray select (_i - 1))) then { null = [[("<t color=""#FF0000"">" + ("Set rally point") + "</t>"), "action.sqf"]] call CBA_fnc_addPlayerAction; }; }; action.sqf has a part: _unitsArray = logic1 getVariable "defineUnits"; for "_i" from 1 to (count _unitsArray) step 1 do { if (_caller == (_unitsArray select (_i - 1))) then { _object setPos (player modelToWorld [1,4,0]); }; now, here's the problem. I test it controlling a unit called S1 in the editor. this works fine until I hit respawn, at which point if (_caller == (_unitsArray select (_i - 1))) starts evaluating to FALSE. checking what both parts of this 'if' return, I get S1 for '_caller' and S1 for '(_unitsArray select (_i - 1))', so basically the game is telling me that S1 == S1 is FALSE. tried changing it to _unit = (_unitsArray select 0); if (_caller == _unit) ; same crap changing it to if (_caller == S1) evaluates to TRUE, funnily enough. so I'm thinking the problem lies with 'select'. somehow it stops being processed after the 'player' respawns. does anybody know why this is happening? I'm not very good at Arma 2 scripting, this thing is making me pull my hair out in frustration
-
problem with 'if () then {}', not working correctly after respawn (see the post)
sorophx replied to sorophx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
oh, never mind, figured it out. _unitsArray passes an array of predefined strings (player input) - unit names. and then, if during the mission one of these units isn't being used, its string in the array is replaced by a certain data type called "ANY". so in my case I have unit number 1 being used by a player, unit number 2 lacking from the mission, unit number 3 again a player. so for unit number 1 the script would work fine. then if unit number 3 used it, it would first check unit number 2's string against the value in the array, and since unit number 2 doesn't exist, it would return false. it would also return an error because it could never convert "ANY" to a string value, lol god, so simple, and I spent hours debugging it and looking at the code... -
here's a pic that is worth a thousand words http://img252.imageshack.us/img252/7995/2013030800001r.jpg (305 kB) could someone tell me why the view distance isn't being changed no matter what I set it to? :(
-
at first I thought it was my video card, but using setViewDistance in the editor actually changed my viewDistance, so it's definitely a problem with the game. maybe something to do with my profile...
-
problem with 'if () then {}', not working correctly after respawn (see the post)
sorophx replied to sorophx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
oh boy, I'm back with a different problem. after fixing the issue with wrong data types, it was time to test the script(s) on a dedicated server. and a new problem reared its ugly head. this code for "_i" from 1 to (count _unitsArray) step 1 do { if (player == (_unitsArray select (_i - 1))) then { null = [[("<t color=""#FF0000"">" + ("Set rally point") + "</t>"), "action.sqf"]] call CBA_fnc_addPlayerAction; }; }; creates an action for every unit in _unitsArray here's the relevant part of action.sqf: _host = _this select 0; _caller = _this select 1; for "_i" from 1 to (count _unitsArray) step 1 do { if (str _caller == str (_unitsArray select (_i - 1))) then { (_ruckArray select (_i - 1)) setPos (_caller modelToWorld [1,4,0]) }; }; where _ruckArray is an array of objects, that are supposed to be moved when the action is triggered: each object linked to a unit in _unitsArray my problem is: when I'm alone on a dedicated server occupying a slot of one of the units from _unitsArray, it works flawlessly. but, if there's at least one more player as one of the units from _unitsArray, then this action only works for the first unit in the array. any other unit/player, when trying to trigger the action, gets an error Generic Error in Expression in this line: if (str _caller == (#)str (_unitsArray select (_i - 1))) then and the script stops working. all the while for the first unit in _unitsArray it keeps working just fine. any ideas what could be causing this? -
yes, tried setting it to different values, at 0 it looks like in that pic
-
that wasn't multiplayer, took that pic in the editor
-
Who's going to make the first domination gamemode?
sorophx replied to PsychoPigeon's topic in ARMA 3 - USER MISSIONS
the reason it isn't used more on public servers is it's such a borefest. nobody enjoys spending half an hour stuffing objects into vehicles, then moving them somewhere and building a base there without actually having to fight anyone. I don't know, maybe I and my friend just don't know how to set it up properly. but we could never make MSO fun. it's always the same: drive into town, it becomes blue, wait 15 minutes, a bunch of enemies shows up, shoot them dead, repeat. *snore* -
Squint - the sqf editor and error-checker
sorophx replied to sbsmac's topic in ARMA 2 & OA : Community Made Utilities
I'm not entirely sure avast is what's causing this, since I can't even run the setup file, it just gives me an error saying it can't find the files it needs to run the installation... and avast never gives me any warnings -
Opinion: Too many opfor one shot -one kill weapons
sorophx replied to billsirkill's topic in ARMA 2 & OA - GENERAL
there are ways, all related to modding. unfortunately, mods tend to break campaign missions. if you have any mods running, that affect gameplay, turn them off before launching the game to play the SP campaign. playing on Veteran will affect their accuracy a lot, so that is probably the reason why. I don't know why it's so hard on Recruit for you, don't remember it being the case for me, but Red Harvest and Operation Arrowhead aren't very good campaigns to begin with. you'd be better off playing SP scenarios, a lot of custom made missions can be found on Armaholic.