-
Content Count
85 -
Joined
-
Last visited
-
Medals
Everything posted by Frenki
-
Script for spawning wounded AI not working on Dedicatet
Frenki posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am working on new Baisic Training for my community and we were looking for interesting way to learn people how to treat wounded soliders with ACE medical system. I was searching over internet and found script created by Tiberius. Its consisted of two .sqf files: TiB_Medical.sqf if (isServer) then { _spawnpos = _this select 0; _distance = _this select 1; _mode = _this select 2; _dir = (getDir _spawnpos) - 180; _counter = 0; _woundcount = 0; _Grp = createGroup civilian; "rhssaf_army_m10_digital_officer" createUnit [_spawnpos, _Grp,"victim0 = this"]; victim0 setDir _dir; victim0 disableai "move"; null = [victim0, _spawnpos, _distance, _mode] execVM "Tib_practicePatient\Tib_Check.sqf"; }; and TiB_Check.sqf if (isServer) then { _victim = _this select 0; _spawnpos = _this select 1; _distance = _this select 2; _mode = _this select 3; _counter = 0; _woundcount = 0; _victim disableai "move"; if (_mode == 1) then {_woundcount = 1 + round random 1;}; if (_mode == 2) then {_woundcount = 1 + round random 4;}; if (_mode <3) then { while {_counter <= _woundcount} do { _bodypart = ["head", "body", "hand_l", "hand_l", "hand_r", "leg_l", "leg_r"] call BIS_fnc_selectRandom; _Size = 0.2 + random 0.6; //_amount = 1 + round random 4; _WoundType = ["bullet", "grenade", "explosive", "shell", "vehiclecrash", "backblast", "stab", "punch", "falling", "unknown"] call BIS_fnc_selectRandom; [_victim, _Size, _bodypart, _WoundType] call ace_medical_fnc_addDamageToUnit; [_victim] call ace_medical_fnc_setCardiacArrest; _counter = _counter + 1; }; } else { [_victim] call ace_medical_fnc_setCardiacArrest; }; waituntil {(_victim distance _spawnpos > _distance || !alive _victim)}; waituntil {(getPos _victim select 2 <= 0.3 && speed (vehicle _victim) == 0)}; sleep 5; deletevehicle _victim; }; I am calling this to execute trough addAction on laptop with this addAction ["Постави Пацијента", "Pacijent.sqf"]; and Pacijent.sqf is null = [spawnPos, 10, 1] execVM "Tib_practicePatient\Tib_medical.sqf"; Wich is basicly spawning wounded AI on helipad named "spawnPos" and in SP in editor it worksh as it should but when i put it on my dedicated nothing happens, does anyone know why? -
Server FPS droping when firefighting with AI
Frenki posted a topic in ARMA 3 - SERVERS & ADMINISTRATION
Hello everyone, here i come with a problem my community ended up with nowdays. So basicly we reached some 55-65 players per mission and we have a problem with COOP. We played some TvT with 60+ players on our server with no problems, but when we tried to play COOP our server started loosing FPS and droping all the way down to 0. We make simple COOP missions, we have slots, few vehicles, markers, and 0 to 5-10 groups of enemy AI, HC is running, and we dont use any AI scripts or loops, etc. When the mission starts server has 40+ FPS, it acts normaly, but as soon as the shooting with AI starts, just after few moments server FPS starts droping, it goes all the way down to 0 and its not comming back, or it just keeps acting strange. When that drop happens all the players get yellow chain. Also we played a lot of COOP on that same server with 40-45 players and had no problems, but whenever we have 50+ it goes down. I have checked RTPs and we get a thousands of these 2 messages: Server: Network message 2ad5c1b is pending Server: Object 64:123 not found (message Type_92) Server: Object 76:3 not found (message Type_120) Our server is running on I7-4770 with 32gb RAM, we rented it at Hetzner and we have a very good bandwith. Its 900/900Mbps and our server settings are: Max Msg Send 1024 Max Size Guaranteed 696 Mas Size Nonguaranteed 232 Min Bandwith 512000 kbit/s Max Bandwith 2047 mbit/s Min Error to Send 0.001 Min Error to Send Near 0.01 Max Custom File Size 160 Max Packet Size 1400 And its on Windows 10 Pro -
Hi guys, i have next problem. In my mission template each squad (group) has its name defined trough group init field like this "this setGroupId ["someName"]", and when squad leader (group leader) joins firs, group initialize its name properly, but if any of squad members joins before him, they will have generic arma group name. Is there any way to set it, that if any player from squad joins, group will acuire name from initialization?
-
@pierremgi Thanks for response. Yes, i am sure that i am setting it in composition init. I didnt try trough call sing field, will do right now, and was hoping for some solution trough script or init. Yes, AI in lobby is disabiled.
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
@da12thMonkey thank you good mister! I was trying it out today, and i saw that bombs followed my laser wich i was designating from ground, but they were not droping right on target, possibly becouse i didnt droped them from far enough so they dont have enough time to aim.- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Guys i have question about SU-25 and KAB-250 and KAB-500 bombs and how they should be used with this plane? Is there a way to lock them to someone other's laser or they can just follow laser from Klen PS?- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
How to use night vision for PNVS monocular?- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
Hello guys, i am trying to make a coop mission wich will be armor vs armor, what i to achive is to my players tanks survive longer. I was searching on web and i found this: unit_or_vehicle addEventHandler ["HandleDamage", {((_this select 2)/2.9)}]; It works, it reduces damage but sometimes it fixes my tank, with firs shot it gives me red damage on turret and with second it removes it. Does anyone have anything smarter?
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
@reyhard@reyhard thanks for answer! Is there any guides or documentation how to use them at this point (tv guided for mig 29)?- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
@reyhard thanks for answer! Is there any guides or documentation how to use them at this point?- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
RHS Escalation (AFRF and USAF)
Frenki replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Whats progres on TV guided missles for Mig-29, they are still not operational?- 16574 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
How to create addAction wich is usable limited number of times?
Frenki posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Guys has anyone got idea how i can create addAction button wich i can use for example 10 times and than it delete itself. I am making mission and i want to rearm my RHS M2 Static from backpack, but becouse there is no magazines for it in game i need to improvise with add action on my backpack from wich i will rearm it but i want to make it limited number of times. -
How to create addAction wich is usable limited number of times?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Looks intresting but where did you defined wich weapon and with wich ammo to reload it, i am using: mitraljez addMagazineTurret ["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0]]; mitraljez addMagazineTurret ["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0]]; I am not so good with code, but if i get it properly i can put an animation for reload also so it looks like something is happening. -
Script for spawning wounded AI not working on Dedicatet
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@pierremgi This one worked just fine, thanks for help! -
Script for spawning wounded AI not working on Dedicatet
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@HazJ Here you go mate, this is example mission wich i downloaded i just copied into my mission. https://www.sendspace.com/file/1gjx5u -
Script for spawning wounded AI not working on Dedicatet
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When i call it trough console on server with code null = [spawnPos, 3, 2] execVM "Tib_practicePatient\Tib_medical.sqf"; and it works with both global and server exec. -
Help with making triggers executing globaly?
Frenki posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello guys, i am curently making some PvP scenario wich we tested tonight but its not working properly becouse of triggers. Idea of scenario is to have "Object" wich needs to be secured spawning on different location, player of certain faction needs to be in "precondition" trigger around it and activate addAction "Secure Object", after it i will activate second trigger, called "condition" wich should initialize hint wich says "Object is secure, keep it for 30 minutes!" but it only appears for the guy who activated the action. "Condition" trigger is condition for next trigger called "present_x" (i have one for blufor and another for opfor) wich will activate with coundown of 30 minutes and in its init it will call for "end6" call BIS_fnc_endMission; wich in the end again is only executing for the guy whom activated first trigger, and it makes him go to lobby while we dont get any end. Does anyone has idea where i am going wrong and why my triggers not run globaly on my dedicatet server? -
Help with making triggers executing globaly?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I did, but it didnt worked again, this time for anyone, but when i did remoteExec it worked without problems. -
Help with making triggers executing globaly?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@gokitty1199 Yeah, pretty simple, and if i put for example -2 and i execute endMission command it will end it for players but aint for server? -
Help with making triggers executing globaly?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@gokitty1199 @HazJ @Schatten Thank you all guys, in the end i needed to use remoteExec for both hints and missionEnd for everything to wokr properly, and everything works just fine! One more question, what those two mean and what do i get from them? -
Help with making triggers executing globaly?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks i will try this one! Its placed in editor, conditions are that blufor or opfor are present in area and that previous triggers are activated. -
Help with making triggers executing globaly?
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This one will for sure help! Its a solution how to properly end the mission, but i still dont have solution for hints, i want them globaly for everyone, any clue on that? -
Hiding objects wich dont have classname
Frenki posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi guys i got into the problem wich i cant solve. We are using CrazyMike's Chernarus 2035(aka South Zagoria) terrain in my community, its great but its postapocalyptic map wich means a lot of garbage, vechile wrecks and similar stuff wich do not fit in our scenarios. We were hiding them with new hide terrain module wich came with TacOps, but it dont works anymore, it hides them in editor but when we run mission on server they are still there and we cant explain why. We wanted to hide them with nearestTerrainObjects command but they dont fit into Garbage, Wrecks and other types, and they also dont have classnames, when you check for them, game just returns you name of .p3d model. Does anyone have a clue how we can figure out this? -
Hiding objects wich dont have classname
Frenki replied to Frenki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When on local host it works with ifServer it works but when i put it on server its not working, i thought server have problem so i puted if isDedicated but still its not working..