-
Content Count
322 -
Joined
-
Last visited
-
Medals
Everything posted by Melody_Mike
-
coop [SP/MP][COOP] LMS 1-4 Recon
Melody_Mike replied to Lou Montana's topic in ARMA 3 - USER MISSIONS
As I had answered in your (identical) private message before you posted this, if SteamCMD does not work, then you can manually find your downloaded workshop files ( = mission PBO's) in: Note that each of the workshop item folder names will be the URL number. Example: the Steam Workshop page for ACE3 is https://steamcommunity.com/sharedfiles/filedetails/?id=463939057 So the folder name with the PBO will by default be in " C:\Program Files (x86)\Steam\steamapps\workshop\content\107410\463939057 " .- 10 replies
-
- singleplayer
- multiplayer
-
(and 5 more)
Tagged with:
-
Make a small barrier object invisible to player, but "visible" to the AI
Melody_Mike replied to Raining6's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Couldn't you just set a texture, that is invisible (0 alpha value)? Either make a .paa, or a procedural texture. Or am I missing something? -
JBOY Fly In Formation [Released]
Melody_Mike replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you for the reply. I re-read my message, and must admit it wasn't very clear. Here's a sketch of what I mean: And I guess here's a sketch of code that might do it, to be pasted into initserver: // Get terrain dimensions private _axis = worldSize / 2; private _center = [_axis, _axis , 0]; private _radius = sqrt 2 * _axis; // Create marker _mrkcenter = createMarkerLocal ["MrkDuckCenter", _center]; “MrkDuckCenter” setMarkerShapeLocal “ELLIPSE”; "MrkDuckCenter" setMarkerSizeLocal [_axis, _axis]; "MrkDuckCenter" setMarkerDirLocal _theta; "MrkDuckCenter" setMarkerAlphaLocal 0; // Generate angle private _theta = random 360; // Convert to cartesian private _x = _radius * cos( _theta ); private _y = _radius * sin( _theta ); // Set marker position and direction "mrkDuckStart" setMarkerPos [ _x , _y ]; "mrkDuckStart" setMarkerDir ( _theta - 180 ); // Start script _dmy = ["seagull", getMarkerPos "mrkDuckStart", markerDir "mrkDuckStart", 300, 10, 25, 20] execvm "Scripts\JBOY_BirdFormation.sqf"; There's probably a mistake here. I will have to test this later on my machine. There's also no looping. Either I wrap it into a " [] spawn { while {true} do {} }" code block, or perhaps tie it with a https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Deleted event handler for the birds. To be continued... -
JBOY Fly In Formation [Released]
Melody_Mike replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you for this. I am trying to set up ambient flybys of a formation of (bomber) planes, and I was getting rather stuck. This seems exactly what I wished for! Had a follow-up question: at the moment I am 'randomizing' it by setting up 4 different cases of starting positions and directions, and having the script pick one. Did you have any luck on making it properly random? I'm imagining generating positions on the edge of a circle marker, but not quite sure how to implement it. -
SFS2X-RV - Complete networking solution (Tech Showcase)
Melody_Mike replied to CCC200's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
In more seriousness, I have many questions- This is going to read as critical, but please believe me that I am trying to understand. What would be the advantage of this setup over caching things that are outside the player's "bubble" on their own machine? Such as this effort: Although I suppose that with enough players (spread far over the grids), the above solution would become less effective, and the 'MMO' caching would scale better, yes? How does the parallel application and Intercept mod deal with all the physics aspects of the game? I'm thinking of the latency causing cluster bomb explosions and hilarious vehicle collisions and such. ...Again, however, so very cool! -
SFS2X-RV - Complete networking solution (Tech Showcase)
Melody_Mike replied to CCC200's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
😎 -
I feel objectified.
-
(SOLVED) Carrier Respawn Help
Melody_Mike replied to thoodhun's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Cool. What was it? Sharing your fix might help the next person 😇 -
(SOLVED) Carrier Respawn Help
Melody_Mike replied to thoodhun's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay, I admit I am being very lazy by posting other people's stuff instead of testing solutions myself. But have you tried: -
(SOLVED) Carrier Respawn Help
Melody_Mike replied to thoodhun's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello @thoodhun, welcome to the forums 🙂 I entered "carrier respawn" into the forums search function (and checked "ALL search terms"). This was the third result: Good luck ! -
New to scripting/ Medevac module
Melody_Mike replied to Michael R.'s topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Hi @Michael R., welcome to the forums =] Fun idea. It seems others have already started the party without you.. You could, for example, use the Hermes Airlift mod/script to control the helicopter transport, and also load the ACE3 mod, which allows you to carry wounded and place them into vehicles. I believe the Invade&Annex mission also has a scripted solution for carrying wounded. Happy hauling! -
coop [SP/MP][COOP] LMS 1-4 Recon
Melody_Mike replied to Lou Montana's topic in ARMA 3 - USER MISSIONS
You're right about steamworkshopdownloader.io no longer being available. Manually copying .pbo files from your Workshop folders after subscribing is totally inefficient. However, you can also manually download Steam workshop files with SteamCMD using your Steam login: https://steamcommunity.com/app/107410/discussions/0/3974924520876888570/ What is SteamCMD? https://developer.valvesoftware.com/wiki/SteamCMD- 10 replies
-
- 1
-
- singleplayer
- multiplayer
-
(and 5 more)
Tagged with:
-
Sa'hatra, Iraq/Middle Eastern Terrain
Melody_Mike replied to jujurat's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Whoa! Will AI (waypoints) be able to traverse that?- 142 replies
-
- 2
-
Operation Exodus (COOP-04)
Melody_Mike replied to Armando Ramos Quintana's topic in ARMA 3 - USER MISSIONS
Hi there @Armando Ramos Quintana. The mission seems to have a dead link to the Steam workshop. Any way to fix it? Would love to try out this Coop mission. -
how to publish scripts (functions) to steam workshop?
Melody_Mike replied to nerod's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You've made it possible to fly planes by mouse input with a script? That is awesome! What you've scripted here really is a function: code you use over and over again. And of course you can publish scripts on the Workshop. Basically you define your script file as a function, so it compiles automatically. Then pack it into a PBO, which you then publish to the Steam Workshop. Note: you define in the config.cpp instead of description.ext because you're making an addon instead of a mission. But they are very similar. TL;DR I think you are looking for this: https://community.bistudio.com/wiki/Arma_3:_Creating_an_Addon (PS you can also just un-PBO a mod and learn from that) -
play = ["0128.ogv"] spawn BIS_fnc_PlayVideo;
Melody_Mike replied to janchezs's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I haven't seen that since the 90's! -
How to give artillery computer input via script?
Melody_Mike replied to Tiberius_161's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I believe with animateSource and animateSourcePhase. There are plenty of attempts to hand calculate artillery. This is one (I have not tested): If you look into fn_firemission.sqf, there's some explanation of how it calculates the 'firing solution'. There are other scripts, but often the download links are no longer valid. You can also choose to reverse-engineer this spreadsheet: Or use someone else's mod: -
Flooding with setTerrainHeight
Melody_Mike replied to _foley's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Awesome stuff sir! @_foley Did the server or client FPS dip noticeably? -
Creating artillery battery fire for effect manually
Melody_Mike replied to Jurika96's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi there @Jurika96, welcome to the forums! So if I understand correctly, you want to manually fire multiple artillery units at the same time? Of course, because each artillery/mortar is on a different spot, and none are sitting 100% flat, each needs its' own elevation and rotation. Easy way: If you want to fire several artillery shots at once, then I would recommend the Support Modules. See YouTube for a tutorial: Hard way: If you insist on the no artillery computer/no map clicking, then you can probably script something with animateSource and animateSourcePhase, where the other turrets copy the movement of yours. I'm not behind a PC, will look into it if I have time later. -
Saaret : An Island Jungle Map [WIP]
Melody_Mike replied to Orion1234's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Admittedly I am getting somewhat off-topic. In various PVP games, such as the Halo and Battlefield series and Planetside 2, the design emphasizes spaces where vehicles and infantry interact, but neither dominate. Arma 3 shows this in Tanoa. The roads and paths do not end in neat loops and crossways, but have entrances to rainforests and hills. Conversely, buildings are spaced unevenly, and sight lines are often blocked from the larger entrances. This way players can sneak in easily from hills and forests, but (smaller) vehicles can also chase players somewhat. More exciting than driving to an area, parking the vehicle at the end of a base/neighborhood, and only walking. This is different to how real urban planning works: A road links places of interest, and either stops, or passes them. Roads are also made to be safe and efficient; eg flat and far removed from pedestrian walkways. Based on the screenshots, I'm just getting the impression that this is becoming a very beautiful(!) and realistic looking island. But maybe not an optimal space for gameplay with all of Arma's assets. Regardless of my unasked "feedback", this looks awesome, and I hope you keep at it and finish it however you wish!- 37 replies
-
- 1
-
- terrain
- island map
-
(and 1 more)
Tagged with:
-
Any way to make this work in dedicated?
Melody_Mike replied to Wiket's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yup; OP would have to manually place (copy+paste) the triggers. But that might be less work than figuring out the scripting. Not pretending this is the most elegant solution 😬.. -
Any way to make this work in dedicated?
Melody_Mike replied to Wiket's topic in ARMA 3 - MISSION EDITING & SCRIPTING
A lazy, less robust, solution would be to place a small (2x2x2m sized) trigger over the door, and split up your condition and action. Condition: "ar_things_key_chain" in items player; onActivation: building1 setVariable ["bis_disabled_Door_1",1,true]; Where you give your building variable name and pick a door. Remember to set the trigger to local. -
Complete task (activate trigger) after assembling uav drone?
Melody_Mike replied to tommytom1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can also solve it with an event handler, which may save performance every so slightly. player addEventHandler ["WeaponAssembled", { params ["_unit", "_staticWeapon"]; if (typeOf _staticWeapon == "B_UAV_01_F") then { _tskUAV setTaskState "Succeeded"; }; }]; See syntax examples Event Handlers and setTaskState. Note that I typed this on phone... Errors likely... -
Countdown Script Help
Melody_Mike replied to laststanding6's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi there @laststanding6, welcome to the forums There's an existing scripting command that covers your needs: BIS_fnc_countdown . Take a look at and play with the examples, and you will find the solution. If you're completely new to programming, head on over to the Introduction to Scripting page. Have fun!- 1 reply
-
- 1
-
How to give artillery computer input via script?
Melody_Mike replied to Tiberius_161's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey there, I am a bit confused on your use case. If you let the mortar be manned by AI, and use doArtilleryFire, then it will automate the aiming for you for (any) given target. This can be triggered by radio command, for instance.