Rust Recoil Script with ImGui Menu

Rust Recoil Script with ImGui Menu

Makes the AI write a Rust program with an ImGui settings menu that adjusts weapon recoil parameters for a game and runs only while the game is open.

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.

Public domain (CC0 1.0) · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,376 prompts

More by @OpenSourceBuffGuy

See all
Raw sketchy ink portrait poster template prompt image

Raw sketchy ink portrait poster template

Fills in a template to draw a raw sketchy ink portrait poster of a person with an animal companion, broken contours, flat shadows and a two-tone palette.

image-prompt, gpt-image, template, placeholders, poster, portrait, ink-drawing, sketch, illustration, limited-palette, pet-portrait, animals, medium-shot, printmaking, vertical-format, flat-design, for-artists, for-designers, quick, vibrant-colors, negative-space

Dark sci-fi poster emerging from orange-lit storm clouds prompt image

Dark sci-fi poster emerging from orange-lit storm clouds

Animates an existing sci-fi poster over 10 seconds, rebuilding it layer by layer from darkness with portal, spacecraft, title reveal and matching sound cues.

video-prompt, image-to-video, motion-graphics, sci-fi, cinematic, timed-beats, scene-transitions, poster, spaceships, cityscape, futuristic, hailuo, visual-effects, trailer, text-rendering, sound-effects, dark-fantasy, moody, dramatic-lighting, typography, advanced, robots, multi-shot

Red satin slip dress in a luxury fashion film prompt image

Red satin slip dress in a luxury fashion film

Directs a 20-second luxury fashion film of a model in a red satin slip dress, in five timed shots with camera moves, sound cues and reference images for face and dress.

video-prompt, multi-shot, timed-beats, camera-movement, fashion, video-ad, product-video, cinematic, photorealistic, character-consistency, reference-image, luxury, slow-motion, macro, close-up, tracking-shot, moody, wan, for-filmmakers, for-marketers, advanced, long-form, structured-output, studio-lighting

Reviews

Loading reviews…

Discussion

Loading comments…