upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/mod-menu.md
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-30 01:14:53 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-30 01:14:53 -0500
commitbbd45f5cc1929ec01817863680535c182da1e9c8 (patch)
tree0ece2c7f42bcbab7b4daadcf0664d7355e165a4e /docs/mod-menu.md
parent24ccd36c2ea96350f39a5bfc51aa4b7051290982 (diff)
Game actions: teleports by the title's own teleport (SET_ENTITY_COORDS), and a wanted clear the HUD sees
- Request::Teleport ( eleport <x> <y> <z>): SET_ENTITY_COORDS on PLAYER_PED_ID's reference, the place as four packed floats in two slots, the three axis flags off and the area cleared, the last float 0 (nine slots, as the native database has the native take). warp(), which the menu's Teleport page and leonida.teleport call, asks for it whenever both natives were found, in place of the experiment that writes the ped's position (LEONIDA_GAME_ACTIONS_WARP=1, still there without the natives). - Request::Wanted(0) also calls CLEAR_PLAYER_WANTED_LEVEL on the player's reference: run d179 had the HUD keep two red stars after the title's own function cleared the level. Hashes from modpapi/scripthook-vi's native database (CC BY 4.0). Tests: the game_actions tests pass (teleport read in script_commands_read). Not yet seen in the running title. AI-assisted (Claude). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/mod-menu.md')
-rw-r--r--docs/mod-menu.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/mod-menu.md b/docs/mod-menu.md
index 59b1691e3..9887171a5 100644
--- a/docs/mod-menu.md
+++ b/docs/mod-menu.md
@@ -241,13 +241,19 @@ cheat run; `spawn sanchez` and `spawn airbus` asked of the spawn the cheats call
241function El1xr's trainer calls): a motorbike on the minimap beside the player, and the airport bus (a model none of 241function El1xr's trainer calls): a motorbike on the minimap beside the player, and the airport bus (a model none of
242the nine cheats holds) in the air just ahead of the player on the deck, falling. All of it ran on the title's thread 242the nine cheats holds) in the air just ahead of the player on the deck, falling. All of it ran on the title's thread
243at the queue's point of rest, not in the hook's own call. The HUD kept two red stars after the wanted level was 243at the queue's point of rest, not in the hook's own call. The HUD kept two red stars after the wanted level was
244cleared by the title's function (its state read 0): clearing it through the wanted-level natives is to try. 244cleared by the title's function (its state read 0): a clear now also calls CLEAR_PLAYER_WANTED_LEVEL on the
245player's reference.
246
247Teleports go through the title's own teleport now when its natives are found: `teleport <x> <y> <z>`, and the
248menu's Teleport page, call SET_ENTITY_COORDS on PLAYER_PED_ID's reference (the place as four packed floats, the
249axis flags off and the area cleared), in place of the write of the ped's position below. Not yet seen in the
250running title.
245 251
246## What is not there yet, and why 252## What is not there yet, and why
247 253
248Stamina, fast run and swim, super jump, invisibility, ragdoll, every weapon item, moon gravity, traffic, 254Stamina, fast run and swim, super jump, invisibility, ragdoll, every weapon item, moon gravity, traffic,
249pedestrians, police, blackout, strong wind, moving the player (teleports), HUD and radio, and the menu's own items 255pedestrians, police, blackout, strong wind, HUD and radio, and the menu's own item for any vehicle (the run script
250for god mode and any vehicle (the run script has them). These items go through `GameActions` (`actions.rs`); for 256has it). These items go through `GameActions` (`actions.rs`); for
251them the backend answers with the reason, and the menu shows them dimmed with that reason in the help box. Most of 257them the backend answers with the reason, and the menu shows them dimmed with that reason in the help box. Most of
252them are natives now within reach (above); each needs its hash and its arguments checked. 258them are natives now within reach (above); each needs its hash and its arguments checked.
253 259