Jump to content

Necropaulo

Member
  • Content Count

    34
  • Joined

  • Last visited

  • Medals

Everything posted by Necropaulo

  1. As Gunter says, proposals can help. If you really want to keep your waypoint system (which is understandable) then I advise you to look at the attributes of the driving AI (and not the others on board). Play with the values to find an acceptable and realistic compromise (reaction time, general skills -> AI_Skill). In the same way, make sure you put them in Safe mode (setBehaviour) when they're on the move, and keep your fingers crossed that after contact they'll return to it ^^. By playing with these values, I manage to get 90% civilian traffic and 75% enemy traffic. The remaining 10% and 25% are due to the basic AI, which is still not very good at driving. Good luck with your edition!
  2. Necropaulo

    [SP/Co05] Escape Chernarus - By P.Milkman

    Hi @neofit, indeed saves are disabled. It was necessary for everything to work as I thought it would, but the mission takes an average of 40/50 minutes, so I figured it wasn't too long. I've added it to the description, thanks for making me think of it. 😊
  3. [SP/Co05] Escape Chernarus - by P.Milkman - BACKGROUND Your unit, Grognon-6, was deployed during the 2005 civil war in northern Chernarus, but not everything goes according to plan ... INFORMATION Difficulty: Medium Playing time: 30-60min Suitable for SP and Coop-05 Revive: Vanilla system with respawn point (medikit required in co-op) TYPE Escape mission, you'll need to successfully exit the country by one of the following means : Random starting point Random extraction locations Save disabled Random and generally aggressive opponents Traffic and civilian life around the player No NVG, no GPS and you don't appear on the map! Compass use recommended STEAM WORKSHOP LINK Mission [SP/Co05] Escape Chernarus https://steamcommunity.com/sharedfiles/filedetails/?id=3235991946 Requirements CBA_A3 CUP Terrains - Core CUP Terrains - Maps CUP Terrains - Maps 2.0 CUP Units CUP Vehicles CUP Weapons S.C.A.R -- Enemy Spawner Good luck! Translation: EN, FR, DE __________________________________________________ This is the first time I've dared to publish one of my missions here. The advice and all the information provided are incredibly rich, and I'd like to thank all the contributors to this forum who make it possible to create missions. It's an honor for me to share it with the Arma community!
  4. Hey @tinter ,I wanted to thank you for this script, event 2 years later! You did an amazing job! I'd like to take this opportunity to tell you about my job today, which is a composition for civilian use on the Chernarus 2.0 CUP map. If it's of any use to you, so much the better! chernarus_2020_CUP.sqf For the record, I'm not sure I've got 100% of the buildings, but I did a good bit! Edit: using my composition and livonia_nonmodern by Lelop is a great think ! 😎
  5. Necropaulo

    Spawning randomly playable units

    With each player in a random place, you can use InitServer.sqf and name your playables units : _spawn_pos = ["marker1", "marker2", "marker3", "marker4", "marker5", "marker6", "marker7", "marker8", "marker9", "marker10"] call BIS_fnc_selectRandom; waitUntil {!isnull player}; unit1name setPos (getMarkerPos _spawn_pos); unit3name setPos (getMarkerPos _spawn_pos); unit2name setPos (getMarkerPos _spawn_pos); ... Not really elegant but functional i think. But you maybe spawn at the same marker as another unit. You can also use empty markers on the editor and link them to your unit as right click -> Link -> random position Every linked marker could be a spawn position to the unit.
  6. Necropaulo

    Spawning randomly playable units

    Hey @Victor G Vilar and welcome 🤚! If your playables unit are in the same group as you, you can set random spawn using the group leader init in the editor : this setPos (selectRandom [getMarkerPos namemarker1,getMarkerPos namemarker2,...etc...]); {vehicle _x setpos formationposition _x} foreach units this; This code make your group stay in formation and stay in following the leader, so if your group leader is spawning somewhere, others would be here too. To do something more specific, you can check this topic and as @Harzach said, you need to place this kind of script in initPlayerLocal.sqf in your mission's folder. Hope this help ! 😊
  7. Not much news here since last September, but I really wanted to thank you, @Von Quest. Your module is functional, intuitive and easy to configure. I'm using it on my latest assignment, and it's great to have this tool! Well done!
  8. Hey @Poupoko, i've wrote a little incognito script a few months ago. I don't use setCaptive, but joinSilent to civilian side : //Undercover by P.Milkman - 2023 //bob is your player //1. Place a trigger on the map of any size. //2. Set type and activation to "NONE" //3. Set it to trigger "Repeatedly" //4. In the condition field place the following: currentWeapon bob == "" && secondaryWeapon bob == "" // you can add a lot of condition about gears too with : && vest bob == "" && headgear bob == "" or headgear bob == "H_Booniehat_oli" etc... //to select autorized gears //5. In the "On Act." field place: [bob] joinSilent createGroup civilian; hint "You're undercover !"; //6. In the "On Dea." field : [bob] joinSilent createGroup west; hint "You're hostile !"; I hope it will help you 😁
  9. Hi everyone, today I've got a nice "conversion" problem. I'm using a script to allow me to chat with civilians, and everything's working perfectly, but for the purposes of a mission, I'd like to manage to convert the first part by removing the randomness. The first 5 conversations should only be played once each. I've tried playing with Select instead of SelectRandom but I haven't managed to change the syntax to make it work. Does anyone have any ideas on how I can do this? Below is the script I'm using: intero.sqf : The part in blue is the one I want to transform, the variable allows me to switch to the two random conversations once the first 5 have been triggered. Thanks in advance for your advice! EDIT: After a lot of tests and a lot of mistakes, I finally found a track. I've run out of errors but nothing happens (the script for the conversation and the variable and marker changes). I'll keep looking tomorrow! _text1 = { line1 = [name player, "Hey vous, je cherche des informations sur des sites militaires, ça vous dit quelque chose ?", player]; line2 = ["Civil", "Je ne suis pas certains mais il me semble que l'US Army avait un avant poste au Château du Diable."]; line3 = [name player, "Merci pour l'information!",player]; [[line1,line2,line3],"Direct",0.06,false] execVM "fn_simpleConv.sqf"; playSound ["intero4", true]; sleep 7; playSound ["intero51", true]; sleep 7; playSound ["intero6", true]; sleep 1; missionNamespace setVariable ["US",true,true]; {_x setMarkerAlpha 1} foreach ["US"]; }; _text2 = { line1 = [name player, "Hey vous, je cherche des informations sur des sites militaires, ça vous dit quelque chose ?", player]; line2 = ["Civil", "Je me rappelle que durant la guerre civile des mercenaires s'étaient installés par ici, ION je crois bien."]; line3 = [name player, "Merci pour l'information!",player]; [[line1,line2,line3],"Direct",0.06,false] execVM "fn_simpleConv.sqf"; playSound ["intero4", true]; sleep 7; playSound ["intero52", true]; sleep 7; playSound ["intero6", true]; sleep 1; missionNamespace setVariable ["ION",true,true]; {_x setMarkerAlpha 1} foreach ["ion"]; }; _text3 = { line1 = [name player, "Hey vous, je cherche des informations sur des sites militaires, ça vous dit quelque chose ?", player]; line2 = ["Civil", "Je sais que la guerre est finie mais la base des forces chernarusse est encore bien active en ce moment !"]; line3 = [name player, "Merci pour l'information!",player]; [[line1,line2,line3],"Direct",0.06,false] execVM "fn_simpleConv.sqf"; playSound ["intero4", true]; sleep 7; playSound ["intero53", true]; sleep 7; playSound ["intero6", true]; sleep 1; missionNamespace setVariable ["Cherna",true,true]; {_x setMarkerAlpha 1} foreach ["Rus"]; }; _text4 = { line1 = [name player, "4Hey vous, je cherche des informations sur des sites militaires, ça vous dit quelque chose ?", player]; line2 = ["Civil", "Je sais que la guerre est finie mais la base des forces chernarusse est encore bien active en ce moment !"]; line3 = [name player, "Merci pour l'information!",player]; [[line1,line2,line3],"Direct",0.06,false] execVM "fn_simpleConv.sqf"; playSound ["intero4", true]; sleep 7; playSound ["intero53", true]; sleep 7; playSound ["intero6", true]; sleep 1; missionNamespace setVariable ["boat",true,true]; {_x setMarkerAlpha 1} foreach ["boat2"]; }; _text5 = { line1 = [name player, "5Hey vous, je cherche des informations sur des sites militaires, ça vous dit quelque chose ?", player]; line2 = ["Civil", "Je sais que la guerre est finie mais la base des forces chernarusse est encore bien active en ce moment !"]; line3 = [name player, "Merci pour l'information!",player]; [[line1,line2,line3],"Direct",0.06,false] execVM "fn_simpleConv.sqf"; playSound ["intero4", true]; sleep 7; playSound ["intero53", true]; sleep 7; playSound ["intero6", true]; sleep 1; missionNamespace setVariable ["heli",true,true]; {_x setMarkerAlpha 1} foreach ["heli2"]; }; [_text1,_text2,_text3,_text4,_text5] select [0,1,2,3,4];
  10. Hi all COS users, since this morning I've been struggling to find a solution to what I think is a very simple problem. I work ona COOP mission, and try to do it OK with SP and MP. I'm trying to use the display of the name of the town or village without including the rest (population, parked vehicle) via the showTownLabel option. I'd like to have only the name of the place when a player enters the zone. I've tried several things by modifying the localscript.sqf file. But nothing works, does anyone have any ideas? Thanks in advance! For your information, i'm working on CHernarus 2020 (CUP) and localscipt.sqf seems to be the script who's doing the showTownLabel :
  11. Necropaulo

    How to export terrain information

    NearestTerrainObjects use a few class to specify your search, in my exemple i use : With that expression, i use [] as filter (it inclued every type of objects), you can remplace that by a specific one or an array with multiple class. The wiki explain that very weel , check the differents exemples : I've found that but you need to manually go searching file, so copy/paste is quicker i think : If there is another method, i can't see how doing it 🙂
  12. Necropaulo

    How to export terrain information

    Hello, you can try something with CopyToClipboard but i'm not sure how it work. I found some exemple in this topic. You can maybe use debug console with your code then copy/paste results according to this post. Edit : I was curious, so i've done a few test, this one seems to work proprely, i call it with a trigger : Activation : Everyone Type : Present Condtion : This On activation : nearestTerrainObjects synthax doesn't work with your code, i just use the synthax exemple on the wiki Good luck with your script 😀
  13. Necropaulo

    Add Music in the loading screen

    Hey, you should see that topic or this one. I think it's the better way to do it. I'm not sure, but onLoadIntro seems to work only with "text" in description.ext. Another way to do it should be wit Animated_Briefing but i never use it, so i can't really help with his use. Good luck !
  14. Hello, a good start would be your code. Trigger is triggering localy, that's why when you're solo it's OK and with others players it's repeating. You can try with triggering it on server or using a script .sqf with the correct synthax to be MP/dedi friendly.
  15. Necropaulo

    Problem with AI conversations

    Hi, to help you, we need to see your code in description.ext and your script to use it, like chat1.sqf. I don't know the script you link, but maybe, you can try something with this one (powerfull script, and i explain at the end of topic how to add voice)
  16. Necropaulo

    Specific time for triggers

    Hi, i'm pretty sure, there is something to do with Daytime But i d'ont know exactly how to do it, maybe you can found some advice in this topic. Have a good edition ! 😁
  17. Zagor64bz seemed to say he'd publish the script when he'd finished editing his mission, but as his various missions (in signature) seem abandoned and on his posts about his Ghost Recon missions he signals stop, I guess the script is currently not findable ^^'
  18. Hello, in 3den Enhanced, you need to go to the menu at the top -> View -> Interface -> Toggle minimap (or Adjust size if you need to) 😀
  19. Hey everyone, i've a really huge problem, i cannot understand, i use a script to add voice and subtitles on my mission but, after a few tests, i can't do that clearly... I call my script with a trigger : Onact: "Sound\brief1.sqf" remoteExec ["execVM", allUnits select { isPlayer _x }]; But everytime, it call the script multiple time, i think it's because of the remoteExec, but i don't find a way to do it correctely. Anyone had a suggestion ?
  20. Necropaulo

    Script calling MP

    Hi PierreMGI, thanks for your reply! Sorry for my previous message, I wrote it late last night ^^' I think I understand now! I suspect a conflict between remoteExec that I used to call the script and the execVM in the script itself. That would explain the problem I encountered. I use the Simple Conversation script to call my subtitles and tracks, everything works fine in SP but in MP, when the trigger is triggered, the tracks are played as many times as there are players present, so with 3 players, 3 times at the same time. So I went back to a simple execVM to call the script, so I could be sure that each player would only hear the sound once. Exemple of one my script : Brief1.sqf I use a trigger to call it: OnAct: [] execVM "Sound\brief1.sqf"; Everything seems OK, I'll do some more tests, but I'm on the right track! Have a good day !
  21. Hi everyone, I'm having a problem with the MP again. In my mission, I planned a helicopter crash, called by a script. In SP everything works perfectly, but I'm not sure how to make sure it works in MP. My chopper is called heli1, its pilots heli1D and heli1G and my group Grognon. Just before the crash, I force a change in time and weather via two triggers: for time: OnAct for weather : OnAct Then, the chopper passes a trigger to call the crash script: OnAct Maybe using remoteExec is better, but i'm affraid it didn't work well with a multiple "same script ate same time". Crash.sqf Does this seem like an appropriate way of proceeding, or am I missing something? Thanks in advance for your replies!
  22. Necropaulo

    Scripted helicrash and MP

    Thank guys, i'm still working on it ! ✅ Weather and time skip : check in SP and MP, with BIS_fnc_setDate and BIS_fnc_setOvercast ✅ Effect, landing and new respawn : check on SP (still testing in MP) I will explain the global script when i'm sure it is ready to play 😊
  23. Necropaulo

    End Mission Trigger Query

    To complete that answer, you can custom "end1" in your description.ext : When you will use : It will call your custom class end1 Good to know : you can use a simple trigger to call it, BIS_fnc_endMission do the job, no need to use trigger->endmission
  24. Hey, i think you can do that with a waypoint directly but i haven't test it. I do this in one of my script : First, you need to create a variable : _groupMembers = = units yourgroupname; //stores members of the group Second, you need to unassign vehicle and Eject group member only : { unassignVehicle (_x); (_x) action ["EJECT", vehicle _x];} foreach _groupMembers ; // where _groupmembers refer to your group variable created previously and _x is using insteed of "this" Your OnAct on the waypoint should be that : _groupMembers = units yourgroupname; (_x) action ["EJECT", vehicle _x];} foreach _groupMembers;
  25. Hey everybody, today's problem made me crazy since this morrning 🤣 I'm using Virtual Arsenal on a mission, but when i open it, the camera is behind some object, so i'm trying to change the camera position when opening virtual arsenal, but i can't find any way to do that ! I use this to open the arsenal in a NPC init : [this,"Armurerie", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "_this distance _target < 3","_caller distance _target < 3",{},{}, { ["Open", [true, player]] call BIS_fnc_arsenal; },{},[],2,0,false,false] remoteExec ["BIS_fnc_holdActionAdd", 0, this]; I've find an old topic with this kind of line : I try to insert it in my initPlayerLocal.sqf but it cause some error Same with this try : Some one have an idea to help me ? I just wanna center the view on player, not stuck behind an object 😅
×