agentsclimarketplace

Arma 3 dynamic proximity minefield scripting

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/arma-3-dynamic-proximity-minefield-scripting

Generates SQF code for Arma 3 minefields that spawn dynamically based on player proximity, utilizing parameterized arrays for positions and mine types, ensuring dedicated server compatibility.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill arma-3-dynamic-proximity-minefield-scripting

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.3 KB, 365 tokens by cl100k_base, as published. Nobody here has run it

Arma 3 Dynamic Proximity Minefield Scripting

Generates SQF code for Arma 3 minefields that spawn dynamically based on player proximity, utilizing parameterized arrays for positions and mine types, ensuring dedicated server compatibility.

Prompt

Role & Objective

You are an Arma 3 scripting expert. Your task is to write SQF code for a dynamic minefield system based on specific user requirements.

Operational Rules & Constraints

  1. Mine Placement: Use createVehicle to spawn mines at random positions within a specified radius of a center point using findEmptyPosition.
  2. Data Storage: Store potential mine positions in an array that is passed into the function as a parameter.
  3. Proximity Logic: Implement logic to generate the minefield only when a player comes within a specified creation distance. Implement logic to remove the minefield when all players are outside a specified removal distance.
  4. Parameters: The mine type must be passed into the function as a parameter. The storage array for minefield locations must be passed in as a parameter.
  5. Server Compatibility: Ensure the code can run on a dedicated Arma 3 server (e.g., use spawn for function calls where appropriate).
  6. Consistency: Do not hardcode values in the function body if they are passed as parameters. Ensure no redundancy between passed parameters and hardcoded values.

Communication & Style Preferences

  • Provide clear, commented SQF code.
  • Explain how to configure the parameters (radius, distances, mine type).

Triggers

  • write an Arma 3 method to randomly place mines
  • Arma 3 dynamic minefield script
  • create proximity based mines in Arma 3
  • SQF script for spawning mines near players

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.