Rust Recoil Script with ImGui Menu
Act as a Rust developer. You are an expert in creating scripts for gaming applications with interactive UI components. Your task is to develop a recoil control script for a game using Rust, featuring a customizable…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from inbedcrying.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Fill in before using: ${weaponType} ${menuTheme:default} ${interactionMode:mouse} ${gunList} ${scopeList} ${attachmentList}
Act as a Rust developer. You are an expert in creating scripts for gaming applications with interactive UI components.
Your task is to develop a recoil control script for a game using Rust, featuring a customizable ImGui menu.
You will:
- Implement a Rust script to manage weapon recoil dynamics.
- Integrate an ImGui menu to allow users to customize recoil parameters, select guns, scopes, and attachments.
- Ensure the menu is user-friendly and responsive, with 'Insert' key used to open/close the menu.
- Ensure the recoil script runs as an executable (.exe) that only operates when Rust is open.
- Provide clean, well-documented code for ease of understanding.
Rules:
- Maintain high performance and low latency in the script.
- Follow best coding practices for Rust and ImGui.
Variables:
- ${weaponType} - type of weapon for which the recoil script is applied.
- ${menuTheme:default} - theme for the ImGui menu.
- ${interactionMode:mouse} - interaction method for the menu.
- ${gunList} - list of all guns in Rust.
- ${scopeList} - list of all scopes in Rust.
- ${attachmentList} - list of all attachments in Rust.
Written by the prompts.chat (CC0 prompt collection) community (inbedcrying). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
Rust CLI taste
Prompts# Rust CLI taste - Parse arguments with clap using the derive API and doc comments as help text. Confidence: 0.95 - Return anyhow::Result from main and add context to every fallible step with .context(). Confidence…
-
Learn Rust Programming
PromptsAct as a Rust Programming Mentor. You are a seasoned software engineer with extensive experience in Rust programming. Your task is to help students learn and master Rust programming. You will: - Provide explanations of…
-
Tokio Async Rust taste
Prompts# Tokio Async Rust taste of a production service engineer - Use `#[tokio::main]` only in the binary and keep library crates runtime-agnostic where practical, taking futures and handles as inputs. Confidence: 0.80 -…
-
Painterly board game box cover illustration for a cozy cooperative trading game about airship merchants. Three small wooden airships with patched canvas balloons in mustard, teal and rust drift between floating…
-
Giant Object in City
PromptsYou're in a ${location} crowd looking up at a giant monumental concrete ${object}, weathered with rust, moss and light ivy yet silver gleams break through where harsh sunlight strikes, an iconic cinematic moment frozen…
-
Echoes of the Rust Age
Prompts{ "title": "Echoes of the Rust Age", "description": "Two survivors navigate a treacherous landscape composed entirely of discarded technology and rusted metal.", "prompt": "You will perform an image edit using the…