ggrotor
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Everything posted by ggrotor
-
Editing, Expanding and Modifying Domination
ggrotor replied to Tankbuster's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Mouse, I changed per the post you linked to. Still I have the issue where players die and respawn dead with a timer. The amount of time is not the issue. I'm prefectly fine with the 3 minutes. The problem is when players have to back out to the slot selection screen and load back in to respawn and continue playing. Ive tried changing the options with revive but without wounds, with wounds and revive, and without revive with wounds. All of these result in the players respawning at base dead and its a vicious cycle. Maybe I'm missing something, I'm not sure. The only edits I have done to the map are add units, vehicles, and custom crate scripts Ohh and a generic vehicle respawn I found on armaholic. Not sure if that information helps at all? Mousetrap, I followed the instruction regarding spawn times in the post you linked me. I am fine with the time. The issue occurs when people continuously respawn at base dead with a timer. The players must go back to the slot selection screen and select the slot and continue playing that way. I have tried it with wounds and without wounds and in combination with revive. No luck. Any idea what I'm missing? -
Editing, Expanding and Modifying Domination
ggrotor replied to Tankbuster's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I am in the need of some help regarding respawn for Domination. I have added a number of units to the game in order to have a 60 player ACE/ACRE map. When players are killed they have the timer appear. IF you wait until the timer runs out or you hit "Esc" and try to respawn, you respawn at base dead with a timer. Could anyone point me in the right direction to fix this issue? -
Thanks for the heads up Fireball. I will quickly pick that up and try to figure it out. Sucks to see Insurgency fall to the way side. Of course real life takes precedence and wish you the best with your family. This community has a lot of talented designers/programmers. I'm sure someone will pick it up. Thanks
-
Khaki I just learned something else. The spaces you were refering to were due to formatting indents recognized by wordpad. For some reason the formatting puts half the word on another line with no spaces. I see what you mean that spaces appear to be there but in wordpad they are not. So what I've done is switch to notepad and i think it does a much better job as far as viewing. As far as hitman 110,120,130,etc. I do not recall seeing them being labelled as such when i viewed the mission in editor. I just tried to mirror what was originally there for my setup. Should I change the lead elements to that naming convention? This is how the scripting appears in notepad: // how far opfors should move away if they're under attack // set this to 200-300, when using the script in open areas (rural surroundings) #define SAFEDIST 75 // how close unit has to be to target to generate a new one #define CLOSEENOUGH 10 // how close units have to be to each other to share information #define SHAREDIST 100 // how long AI units should be in alert mode after initially spotting an enemy #define ALERTTIME 180 #define westPlayerStrings ["Hitman111","Hitman112","Hitman113","Hitman114","Hitman115",\ "Hitman121","Hitman122","Hitman123","Hitman124","Hitman125",\ "Hitman131","Hitman132","Hitman133","Hitman134","Hitman135","Hitman136","Hitman137","Hitman138","Hitman139",\ "Hitman141","Hitman142","Hitman143","Hitman144","Hitman145","Hitman146","Hitman147","Hitman148","Hitman149",\ "Hitman151","Hitman152","Hitman153","Hitman154","Hitman155","Hitman156",\ "Hitman161","Hitman162","Hitman163","Hitman164","Hitman165","Hitman166","Hitman167","Hitman168","Hitman169",\ "Hitman171","Hitman172","Hitman173","Hitman174","Hitman175","Hitman176","Hitman177"] // bugfix value #define CENTERPOS getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition") nearestPlayers = { private ["_result","_pos","_range","_type","_alive"]; _pos = _this select 0; _range = _this select 1; _alive = _this select 2; _type = _this select 3; if (_type == "count") then { _result = 0; } else { _result = []; }; { if (!isNil _x) then { _plr = call compile _x; if (!isNull _plr) then { if (_plr distance _pos <= _range && (alive _plr || !_alive)) then { if (_type == "count") then { _result = _result + 1; } else { _result = _result + [_plr]; }; }; }; }; } forEach westPlayerStrings; _result }; #define nearestPlayers(W,X,Y,Z) ([W,X,Y,Z] call nearestPlayers) Thanks again.
-
This is the player string of the script from the UPS file: #define ALERTTIME 180 #define westPlayerStrings ["Hitman111","Hitman112","Hitman113","Hitman114","Hitman115",\ "Hitman121","Hitman122","Hitman123","Hitman124","Hitman125",\ "Hitman131","Hitman132","Hitman133","Hitman134","Hitman135","Hitman136","Hitman137","Hitman138","Hitman139",\ "Hitman141","Hitman142","Hitman143","Hitman144","Hitman145","Hitman146","Hitman147","Hitman148","Hitman149",\ "Hitman151","Hitman152","Hitman153","Hitman154","Hitman155","Hitman156",\ "Hitman161","Hitman162","Hitman163","Hitman164","Hitman165","Hitman166","Hitman167","Hitman168","Hitman169",\ "Hitman171","Hitman172","Hitman173","Hitman174","Hitman175","Hitman176","Hitman177"] // bugfix value #define CENTERPOS getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition") nearestPlayers = { private ["_result","_pos","_range","_type","_alive"]; _pos = _this select 0; _range = _this select 1; _alive = _this select 2; _type = _this select 3; if (_type == "count") then { _result = 0; } else { _result = []; }; { if (!isNil _x) then { _plr = call compile _x; if (!isNull _plr) then { if (_plr distance _pos <= _range && (alive _plr || !_alive)) then { if (_type == "count") then { _result = _result + 1; } else { _result = _result + [_plr]; }; }; }; }; } forEach westPlayerStrings; _result }; #define nearestPlayers(W,X,Y,Z) ([W,X,Y,Z] call nearestPlayers) If you need the whole file I will gladly post it. I'm not to sure of what all to provide so I appreciate the help you guys are giving me.
-
I am stuck trying to figure out this code. I am relatively new to this and this large thread has been a big help in trying to fix things. I am attempting to make a version of ace insurgency that will allow for 50 players on takistan utilizing all US Army Personnel. I have edited my defines script to allow for 10 man squads per the instructions I found here. I have also changed the #define westPlayerStrings to allow for the extra positions and I just kept the hitman111, 112, 113, etc. to avoid further scripting problems. I also made sure to put the player classes into #define westSoldierClasses. I made the changes to the variables.sqf file to allow for 50 players. When I launch the map, Insurgent AI will not spawn. After checking the server report file I find this: 2012/10/17, 19:21:15 Error position: <M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error Missing ; 2012/10/17, 19:21:15 Error in expression < from 0 to (208 - 1) do { _wep = ([["M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error position: <M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error Missing ; 2012/10/17, 19:21:15 Error in expression < from 0 to (208 - 1) do { _wep = ([["M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error position: <M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error Missing ; 2012/10/17, 19:21:15 Error in expression < from 0 to (208 - 1) do { _wep = ([["M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error position: <M9","M9SD","M16A2","M16A2GL","M4A1","Col> 2012/10/17, 19:21:15 Error Missing ; 2012/10/17, 19:21:25 Error in expression <" from 0 to (66 - 1) do { _wep = ([["ACE_M249_AIM","M249",""M249_EP1"","M249_> 2012/10/17, 19:21:25 Error position: <ACE_M249_AIM","M249",""M249_EP1"","M249_> 2012/10/17, 19:21:25 Error Missing ; 2012/10/18, 20:30:49 Error position: <] nearestPlayers = { private ["_resu> 2012/10/18, 20:30:49 Error Missing ; 2012/10/18, 20:30:49 File mpmissions\__cur_mp.Takistan\common\server\AI\UPS.sqf, line 44 2012/10/18, 20:30:49 Error in expression <174","Hitman175","Hitman176","Hitman177"] nearestPlayers = { private ["_resu> Any help and direction with this would be grealty appreciated.