

R3dBuLL
Member-
Content Count
34 -
Joined
-
Last visited
-
Medals
Everything posted by R3dBuLL
-
random spawn position near player
R3dBuLL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi there This is my first attempt to make a script in ArmA2 and I have trouble with it. My idea was to let some enemy units spawn continuous near the players. This is what I got: While {true} do { waituntil {!isnil "bis_fnc_init"}; _pos = If (!alive Player1) Then { If (!alive Player2) Then { If (!alive Player3) Then { If (!alive Player4) Then { If (!alive Player5) Then { getPos Player6; } Else { getPos Player5; }; } Else { getPos Player4; }; } Else { getPos Player3; }; } Else { getPos Player2; }; } Else { getPos Player1; }; _skill = [0.3,0.4,0.5]; _side = East; _units = (6 + random 6); _spos = [((_pos select 0) 100 + random 100),((_pos select 1) 100 + random 100),(_pos select 2)] hint "Here they come!"; _grp = [_spos, _side, _units, [], [], _skill] call BIS_fnc_spawnGroup; Sleep 60 }; It checks if the Players are alive to avoid spawning the enemies near a dead player. It works good if I use "_grp = [_pos, _side, _units, [], [], _skill] call BIS_fnc_spawnGroup;" but then the enemies spawn on the players position. How to let them spawn around the player in a range of 100-200? I tried to make an array (_spos) based on the player position and add some random values to let them spawn nearby. -
random spawn position near player
R3dBuLL replied to R3dBuLL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Nice, thank you. It's working as expected. I knew there must be a simpler way for the nested-if. Thank you for that as well. -
Grab a cheap one? How about adding this feature with a patch? A lot of ppl require this SINCE ARMA1. Ah nvm, they didn't even manage to fix old bugs from ArmA1 and added them in ArmA2 ... it's just sad.
-
Is BIS looking after the "receiving..." issue?
R3dBuLL replied to S!fkaIaC's topic in ARMA 2 & OA - TROUBLESHOOTING
Anyone tried beta patch? -
ArmA2 != BF2 You can not compare them. They do not have anything in common but the possibility to drive/fly vehicles.
-
Is BIS looking after the "receiving..." issue?
R3dBuLL replied to S!fkaIaC's topic in ARMA 2 & OA - TROUBLESHOOTING
But it's not only one plane from a specific producer that fail. We have several machines from several producers with diffrent specs but the same pilot. And other pilots do not have a problem with these planes. You know what I want to say. I've tried a lot to fix it. Fact is that a lot of users getting it and there is a wide range of hardware. So if this problem is related to us we would have at least one thing in common but we don't even have the same OS. Imagine how we feel. We paid, we can't bring it back and we are still not able to play it. I've bought it when it was released in germany. You know how long it's been ago. -
Recieving black screen, game unplayable
R3dBuLL replied to Avgeris's topic in ARMA 2 & OA - TROUBLESHOOTING
It's funny how dev's are ignoring all those threads and posts after patch 1.02 ... :j: -
Recieving black screen, game unplayable
R3dBuLL replied to Avgeris's topic in ARMA 2 & OA - TROUBLESHOOTING
try that in none-bugged gameplay first. Like in single player. If I remember right F L U S H will be written into the left top corner after successfull input. Btw. I used - on the numpad. Don't know if it makes the diffrence. You may use the search feature and look it up. I'm pretty sure it was posted serval times in many threads :) Good Luck! Report your success/failure. -
Recieving black screen, game unplayable
R3dBuLL replied to Avgeris's topic in ARMA 2 & OA - TROUBLESHOOTING
It was (Shift)+(-) and than type flush. Or similar, I forgot it. It doesn't help anyway. Tried it over and over again in the past way before that thread was started. It didn't work in any version. -
Is BIS looking after the "receiving..." issue?
R3dBuLL replied to S!fkaIaC's topic in ARMA 2 & OA - TROUBLESHOOTING
Ye, it ain't just a Nvidia problem. I have an ATi card and getting this bug since ArmA2 is out. Even some of my friends have this bug and they have diffrent graphic cards, cpu's, ram and so on. I would be very happy to hear a little sentence like: "We're on it." It's not fair to leave us in the darkness and let us reinstall the game, os, drivers etc. w/o any diffrence. THIS CAN'T BE! -
Any Anti-Virus programms running? That may the problem.
-
It can't be Nvidia relatetd because I have an ATi and still getting it. Tried diffrent driver. :/
-
I'm getting sick of waiting :/ I payed for that game. It wasn't that cheap and it could be a really good game like ArmA was/is. At least we have error codes now, the devs can now exactly point out the problem.
-
Even after updated 1.02 Patch I'm still getting it :( But now the error message in the log file is more detailed. Client: Object 2:15631 (type Type_82) not found. Duplicate weapon ItemCompass detected for USMC_Soldier_AA Duplicate weapon ItemMap detected for USMC_Soldier_AA Duplicate weapon ItemRadio detected for USMC_Soldier_AA Duplicate weapon ItemWatch detected for USMC_Soldier_AA Client: Object 289:24 (type Type_121) not found. Cannot create video memory surface DXT1,64x64 (size 2728 B), Error 8007000e Error: Failed to create surface texture (ca\misc2\data\gunrack1_co.paa:3) *** Device reset recovery requested I got the recieving error in less then 5 minutes at this time.
-
I tried serval diffrent Settings now for example I lowered Texture Detail to low as Suma posted. No diffrence. Doesn't matter if I put Texture Detail to low and Video Memory to low, high or anything else. Even with EVERYTHING on low I'm getting it.
-
Thank you for your respond and I'm really looking forward to the next patch. Good to hear that this might be fixed in the next patch :) I already tried to raise the texture memory, unfortunatley it didn't make a diffrence. I will try to lower texture detail then, but low texture detail looks very ugly.
-
Error: Failed to create surface texture (ca\chernarus\data\layers\m_016_022_lca.paa:2) *** Device reset recovery requested WARNING: Function 'name' - Mørphine is dead Error: Failed to create surface texture (ca\structures\furniture\cases\case_d\data\case_d_nohq.paa:1) *** Device reset recovery requested Error: Failed to create surface texture (ca\tracked2\aav\data\icomap_aav_ca.paa:0) Error: Failed to create surface texture (ca\tracked\data\map_ico\icomap_m1a1_ca.paa:3) Error: Failed to create surface texture (ca\tracked\data\map_ico\icomap_m1a1_ca.paa:3) Error: Failed to create surface texture (ca\tracked\data\map_ico\icomap_m1a1_ca.paa:3) Error: Failed to create surface texture (ca\characters2\data\icon\i_special_ca.paa:2) Error: Failed to create surface texture (ca\characters2\data\icon\i_special_ca.paa:2) Error: Failed to create surface texture (ca\characters2\data\icon\i_special_ca.paa:2) Error: Failed to create surface texture (ca\wheeled\data\map_ico\icomap_hmwvtow_ca.paa:3) Error: Failed to create surface texture (ca\wheeled\data\map_ico\icomap_hmwvmk19_ca.paa:3) Error: Failed to create surface texture (ca\wheeled\data\map_ico\icomap_hmwvmk19_ca.paa:3) Error: Failed to create surface texture (ca\wheeled2\data\ui\icon_lav25_ca.paa:3) Error: Failed to create surface texture (ca\wheeled2\data\ui\icon_lav25_ca.paa:3) Error: Failed to create surface texture (ca\wheeled2\data\ui\icon_mtvr_ca.paa:3) Error: Failed to create surface texture (ca\wheeled2\data\ui\icon_mtvr_ca.paa:3) Error: Failed to create surface texture (ca\characters\data\map_ico\i_wojak_ca.paa:2) Error: Failed to create surface texture (ca\characters2\data\icon\i_soldier_ca.paa:2) Error: Failed to create surface texture (ca\characters2\data\icon\i_officer_ca.paa:2) Error: Failed to create surface texture (ca\plants2\tree\data\t_picea3f_5_non.paa:6) *** Device reset recovery requested That's the log. I only was able to play 10 minutes at this time. Sometimes it happens immediatley sometimes it happens after 45 min and sometimes it does not happen at all. So could be a dev so kind and tell me what the problem is and y arma2 is not able to load those textures?
-
Textures/Objects Change/flicker when zooming in and out
R3dBuLL replied to Motivator's topic in ARMA 2 & OA - TROUBLESHOOTING
That's not a bug that's BIS LOD System. It has been like that since OFP. -
I just opened the arma2.rpt and was like WHAT THE HECK?!? So many script errors has been reportet and that some objects wasn't found. But this should affect everyone right? Why some ppl can play w/o recieving and other like me S!fkaIaC gettin it all the time ? Just a few things out of 31k lines. Maybe you can do something with it. Client: Object 2:21 (type Type_96) not found. Client: Object 31:12 (type Type_96) not found. Client: Object 14:121 (type Type_96) not found. Client: Object 3:123 (type Type_96) not found. Client: Object 2:4276 (type Type_106) not found. Client: Object 2:1702 (type Type_144) not found. Client: Object 19:41 (type Type_121) not found. Client: Object 19:11 (type Type_213) not found. Client: Object 19:10 (type Type_213) not found. Client: Object 19:9 (type Type_213) not found. Client: Object 19:8 (type Type_213) not found. Client: Object 19:4 (type Type_213) not found. Client: Object 19:2 (type Type_213) not found. Client: Object 19:7 (type Type_213) not found. Client: Object 19:6 (type Type_213) not found. Client: Object 19:5 (type Type_213) not found. Client: Object 19:3 (type Type_213) not found. Client: Object 19:1 (type Type_213) not found. Client: Object 2:138 (type Type_86) not found. Client: Object 14:121 (type Type_121) not found. Ref to nonnetwork object 19332c00# 1061579: usspecialweapons.p3d Error in expression <while {_type < _count} do { if (((count _types == 0) || (_type in _types)) && (c> Error position: <_types == 0) || (_type in _types)) && (c> Error Nicht definierte Variable in Ausdruck: _types Error: cannot load sound 'ca\dubbing\global\radio\male02\ru\core\generic\empty.wss', header cannot be loaded. Error in expression <(((count crew _transp)>_crewAmount) && (_ejectToDest < 700))> That's just some of a lot of other errors that appear over and over again (same errors over hundreds of lines)
-
As I already mentioned I have latest XP so I have SP3 installed. If I don't find a solution this weekend I will return it on monday. I don't have the time to mess around with it every weekend. ArmA1 is still good and it's running quite well.
-
Still getting that bug even after the new patch ... :( I have installed latest XP updates, ATi Driver, Mainboard Driver etc. and still ... Can't belive it, it's getting really annoying .. I'm thinking of return the game and get my money back ...
-
Try evo, it always happened to me in evo and never on crcti. If you don't get it in evo it may be gone.
-
How to check if enemy groups are less then 30%?
R3dBuLL posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I wanna make a mission where u defend a postion and enemy is attacking u and tries to overrun u. The mission will be over if only 30 % of their mans/vehicles are left. How to do that? Is that possible with a simple trigger? And how can I check if a whole group is still alive? -
How to check if enemy groups are less then 30%?
R3dBuLL replied to R3dBuLL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The command "units group" and that thing with counting is what I was looking for ^^ I know mr murrays editing guide and I try to find the answer there first before searching in the internet. Anyway thanks a lot! -
Yep, it's definitley the bug I get everytime. It's exactly what I tried to describe earlier. But on my system it doesn't happen in every mission. For example it NEVER happened in any CTI missions where players fight against each other. Only in coop missions, so far I recongnized