武装突袭3

武装突袭3

Spectrum analyser script demo
60 条留言
Brian Calvo 1 月 30 日 下午 6:10 
Estoy tratando de ponerle sonidos a tu script pero sin exito
class CfgSounds {
// Sonido para volumen del headset
class headset_volume {
name = "headset_volume"; // Nombre interno del sonido
sound[] = {"\sounds\251565__waveadventurer__headset-volume.ogg", db+0, 1}; // Ruta al archivo .ogg, volumen y pitch
titles[] = {}; // No se requiere título
};

// Sonido de beep
class beep_signal {
name = "beep_signal"; // Nombre interno del sonido
sound[] = {"\sounds\33783__jobro__3-beep-c.ogg", db+0, 1}; // Ruta al archivo .ogg, volumen y pitch
titles[] = {}; // No se requiere título
};
};
Kiwi_Twitches 2023 年 9 月 7 日 上午 10:29 
Curious, I'm not sure if I've done something incorrectly, but it doesn't stop the drones engaging targets. It stops the last order given, but if the drone then sees a player it engages them and functions autonomously, including initiating new movements

Seperately, can you include a document about how to use the jammers properly with your mod, and all the features and how to implement them.
wersal™ 2023 年 8 月 23 日 上午 8:06 
Привет BENDEP ! Я хочу восстановить функционал анализатора спектра(ту часть которая позволяет глушить дроны) в моде Antistasi и наткнулся на твой мод(скрипт). Можешь сконтактироваться со мной?
Z1ks 2022 年 1 月 30 日 上午 5:42 
хм, да, спасибо большое, буду стараться что-то еще додумать
BENDEP  [作者] 2022 年 1 月 30 日 上午 3:38 
но в целом можно соорудить мелкий костыль: сделать объект-пустышку (типа helipad например) и на него повесить сигнал, а при респе техники атачить к ней
BENDEP  [作者] 2022 年 1 月 30 日 上午 3:37 
ммм... увы тут уже надо переписывать. все же скрипт я писал с расчетом на твт и ему подобные режимы где "одна жизнь"
Z1ks 2022 年 1 月 30 日 上午 3:15 
а нельзя в таком виде: [класс объекта(то, что пишется под полным названием объекта), частота, сила сигнала]? Просто в моем случае, техника спавнится одна, но после её уничтожения, через время, создаётся еще одна, но в другом месте.
BENDEP  [作者] 2022 年 1 月 29 日 下午 11:54 
ну вот именно туда в виде массива из элементов вида [имея переменной, частота,сила сигнала]. пример для 2х юнитов: sa_beacons=[[i_ko1, 111.2,31],[i_ko2,118.1,15]];
главное со скобками и запятыми не напутать)
Z1ks 2022 年 1 月 29 日 下午 2:09 
Понял, а можете пожалуйста подсказать куда можно вписать это? Я пытался в sa_beacons, как и с объектами, которые имели переменные, но получал ошибку :(
BENDEP  [作者] 2022 年 1 月 29 日 下午 1:52 
Z1ks, для беспилотников увы данную фичу не делал-частота выбирается рандомно из диапазона. А вот на свои сигналы (в т.ч. повешенные на объект типа технике)-легко
Z1ks 2022 年 1 月 29 日 下午 12:40 
Долго искал похожий скрипт, но я бы хотел уточнить: в данном скрипте можно установить фиксированную частоту классу техники(не как переменной, а именно чтоб при спавне техники, у неё уже была предустановленная частота, независимо от переменной объекта). Заранее благодарю!
BENDEP  [作者] 2021 年 11 月 7 日 上午 2:06 
place both files spectrum_device.sqf and sa_ewar.sqf in mission dir and call it from mission init.sqf:
[] execVM "spectrum_device.sqf";[] execVM "sa_ewar.sqf";
Bear 2021 年 11 月 6 日 下午 3:13 
Hey how exactly must my init folder looks like? i'm sure i'm doing something wrong, because the script isn't loaded by default and when i try to exec it through the debug console it behaves weirdly, the frequencies from the drones keep changing and going 0**# every time, they go up and down so fast i can't even try to jam it
Marki 2021 年 6 月 1 日 上午 4:37 
Is it possible to add sound to some signals?
Boingo 2021 年 5 月 24 日 上午 6:02 
Thank you BENDEP. This is a great script, which finally gives me an effect of "Hacking" drones without having to be next to them. I will use your advice for the chance of jamm. Thank you!!!!
BENDEP  [作者] 2021 年 5 月 24 日 上午 12:02 
u can change chance of jamm to a fixed number or u own formula in sa_ewar.sqf on string 119 (variable _chance). and yes-if target is jammed (roll got in this "70%") it will get autonomous state
Boingo 2021 年 5 月 22 日 下午 3:33 
I see that UAV's turn autonomous when you jam them. But it even when I'm standing next to the UAV to jam, it maxes out at 70 percent or so. Is it possible to achieve 100 percent on a jam? Or even if the percent chance is 70 does it still go autonomous? *I am attempting to trigger the UAV to change sides to the players faction when it becomes autonomous.
Lastick 2021 年 2 月 26 日 上午 2:18 
Отлично, все работает. Ну это заслуженный лайк
BENDEP  [作者] 2021 年 2 月 26 日 上午 2:10 
каждый в своей паре скобок. вот кусок из моей миссии:
//Mission settings
sa_beacons=[[i_ko1, -1,-1],[i_ko2,-1,-1],[i_ko3,-1,-1],[radio1,-1,45],[radio2,-1,40],[radio3,-1,37],[radio4,-1,45],[radio5,-1,37],[radio6,-1,40],[radio7,-1,37],[radio8,-1,37],[box1,-1]];

тут i_ko* это випы, radio* это пустые тригеры отмечающие радиовышки на карте. ну те можно привязаться к любому объекту которому можно задать имя переменной
Lastick 2021 年 2 月 26 日 上午 1:39 
А если 2 и более?
BENDEP  [作者] 2021 年 2 月 26 日 上午 1:08 
дать ящику "имя переменной" в свойствах и в файле spectrum_device.sqf в начале в строчке //Mission settings
sa_beacons=[];
написать нечто типа:
sa_beacons=[[имя ящика, -1,-1]]. вместо первого -1 можно указать нужную частоту, вместо второго-базовую силу сигнала. если указаны -1 то каждый раз они будут генерироваться случайно
Lastick 2021 年 2 月 26 日 上午 12:59 
Все работает, но 1 вопрос - как сделать, чтобы сигнал был у ящика?
Marki 2021 年 2 月 13 日 上午 5:24 
How does jamming work? Does it disable AI? Do I need to do it once or aim and keep pressing the button?
BENDEP  [作者] 2020 年 10 月 20 日 上午 7:12 
Just edit variable sa_beacons in spectrum_divice.sqf. It is an array of signals. Each signal format is [object, frequency, signal base strength]. signal strength is optional (if missed will be used default strength defined in sa_base_signal_str variable in spectrum_device.sqf).. if frequency or strength is -1 it generated randomly when mission starts (variables for tuning random is sa_min_random_str, sa_max_random_str)
Ellman 2020 年 10 月 20 日 上午 6:04 
How do you set a custom signal source? You seem to have left that information out.
Decoy 2020 年 9 月 17 日 下午 9:45 
Still no love. Even with the new script, and remoteexec exceptions to allow it through, I can't get this script to work together with exile mod.
BENDEP  [作者] 2020 年 9 月 8 日 上午 2:12 
script updated to v1.6, scenario updated
BENDEP  [作者] 2020 年 9 月 8 日 上午 12:11 
Decoy, in mission folder u should use description.ext instead of cfgremoteexec.hpp
And function fnc_sa_add_spike_signal dont throw same error when scanning uav friendly-foe for?
Decoy 2020 年 9 月 7 日 下午 11:17 
I'm not a great coder, so this is just me spitballing, but the part of the script that removes waypoints seems to work completely fine in exile. What if there was a check added to that part of the sa_jamm function (it seems like that part does the work of deleting waypoints) that ran UAVControl to get the player connected to the uav, and then does a remoteexec on the target player to force them to disconnect from the uav?
Decoy 2020 年 9 月 7 日 下午 9:29 
so I added an exception in exile's cfgremoteexec.hpp in the mission file, to allow that function to be remotely executed, but it made no difference. I don't have anyone around to help me test it right now, but I haven't been able to force myself to disconnect from the uav by jamming, only remove its waypoints.
Decoy 2020 年 9 月 7 日 下午 9:08 
Okay, that helped. I still haven't been able to force anyone (even myself) to disconnect from a drone, or prevent them from connecting (and I lost the variable ammo counter that shows the %chance of success) with that change, but I was able to find what I think is the problem, in my server's rpt file.

0:05:27 Scripting function 'fnc_sa_local_add_to_jamm_list' is not allowed to be remotely executed

I'm not sure how to get around that within exile, but it's a start.
BENDEP  [作者] 2020 年 9 月 7 日 上午 9:57 
Decoy, quick look into the script made me think than string in sa_ewar.sqf "[_unit] remoteExec ["fnc_sa_local_add_to_jamm_list",[0,-2] select isDedicated];" call this bug. try to change it for "[_unit] remoteExec ["fnc_sa_local_add_to_jamm_list",-2]; It should temporary fix issue on dedicated server (no player-hosted one)
Full fix is a bit tricky and i will release it after test in few days
BENDEP  [作者] 2020 年 9 月 6 日 下午 11:34 
The user should be disconnected. I will make test&fixes when get time for (generaly in few days). Now u can simply check variable sa_local_jamm_list content on operator's client. If it is empty-somthing went wrong with passing info about jammed uav between users
Decoy 2020 年 9 月 6 日 下午 9:59 
Played with it some more, and the jammer seems to only remove waypoints from a drone, but doesn't do anything else. I thought it would forcibly disconnect the user? Or is that as intended?
Decoy 2020 年 9 月 6 日 下午 9:15 
@BENDEP I have the scripts and stringtable enabled per instructions on my exile server, but so far haven't been able to force anyone to disconnect from the UAV or prevent people from connecting to it. Do you have access to an exile server to test it on? I can't give you server side access to mine, but I can give you the info to connect to it, and the server side rpt afterward if that'll help.
Swug 2020 年 9 月 6 日 下午 12:34 
A'ighty, thanks for the help!
BENDEP  [作者] 2020 年 9 月 6 日 上午 11:59 
Retarded FoX, just replicated it. will fix it few days. Now just copy stringtable.xml file in your mission folder to fix it.
Swug 2020 年 9 月 6 日 上午 10:43 
The messages created by line 30 and 31 in sa_ewar.sqf. Unloaded all mods, yet still having the same problem.
BENDEP  [作者] 2020 年 9 月 6 日 上午 10:38 
Retarded FoX,left or right message display bugged?
Swug 2020 年 9 月 6 日 上午 10:06 
Ah roger, thank you for such a quick response!
BENDEP  [作者] 2020 年 9 月 6 日 上午 9:35 
Retarded FoX,1)yes. AI components still works, we jamm only comms-onboard drone computer still function
2) may be addon conflict? script was used yesterday on 140ppl game. nobody complains on such bug. but i will check stringtables in this scenario
Swug 2020 年 9 月 6 日 上午 8:25 
I noticed that when jamming a drone, you cannot stop them from targeting and shooting as it seems. The hints from when you use the antennas are also broken, as they just display the code for the text, and not the actual text.
BENDEP  [作者] 2020 年 9 月 6 日 上午 12:16 
Docoy, on my video above i jammed drone of same side, as a player. Ok, i hope i will make more tests on dedicated server. Thanks for bug report

Decoy 2020 年 9 月 5 日 下午 3:04 
It was in Exile, so players are all on green team (IND side) regardless of if they are friendly or not, and the uav was an ar-2 darter, placed from I_UAV_01_backpack_F
I've tried looking through your script to figure out how it works, maybe disable any friend/foe detection so you can jam "friendly" drones as well, but it's far beyond my basic skills.
BENDEP  [作者] 2020 年 9 月 5 日 上午 9:31 
thank for feedback. i made several test (including real games on mp server. i was drone op) and everything worked fine. but after this report i think i will make a few more tests. plz give me information wich type of drone worked wrong
Decoy 2020 年 9 月 5 日 上午 1:47 
I tested this quickly on an Exile server, and I don't think it works in that environment currently. I built a uav drone and had another player connect to it, take controls, but it wouldn't kick him out of it no matter how many times I "jammed" the drone.
Is the jamming function faction dependent? ie: If the other player is of the same faction as me, am I unable to jam their drone? And if so, how can I change that? I think your script would be a great counter to large groups using drones for recon, and would love to have it on my server.
BENDEP  [作者] 2020 年 9 月 4 日 上午 12:59 
generally i don't know how achilles executes code-is it JIP-compatible (required for my script), is it executed unscheduled (alse required, but when u start scripts from init.sqf). so i can offer you to test it and write a result here
Marki 2020 年 9 月 3 日 下午 12:11 
So would I initialise it using execute module in Achilles just by pasting the code?
BENDEP  [作者] 2020 年 9 月 3 日 上午 8:59 
oh... so the only way to initialize script's server&client parts is to call scripts form init (or admin console while mission runing)
Marki 2020 年 9 月 3 日 上午 8:47 
I havent tried the mod yet, so I dont know if you can place modules in zeus. I am asking because my gaming group prefers doing everything in zeus rather than editing mission files