samp.directory
← Skripte und Bibliotheken

Knogle/omp-sa-traffic-lab

Keine Beschreibung auf GitHub.

Sonstiges★ 2aktualisiert März 2026Keine LizenzPawn
Auf GitHub öffnen

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

README.md

omp-sa-traffic-lab

omp-sa-traffic-lab is a standalone experiment repo for GTA SA-like ambient traffic on a generic open.mp server.

The current state focuses on a local Angel Pine cluster:

  • 20 NPC-driven traffic vehicles
  • a spawn pool built from the open.mp NPC node files
  • radius-based simulation around the Angel Pine town center
  • respawn when vehicles leave the cluster or finish a node run
  • a server log heartbeat for position and jump analysis

Layout

  • server/ Open open.mp server workspace for the experiment.
  • server/gamemodes/traffic_mvp.pwn Current Pawn gamemode.
  • build.sh Compiles the gamemode to server/gamemodes/traffic_mvp.amx.
  • run.sh Starts the server from the local repo layout.
  • docs/ Analysis and architecture notes from the earlier design work.

Requirements

This repo expects a local open.mp server installation with components and qawno includes. In the current workspace these are linked into server/ via symlinks.

Important paths:

  • server/omp-server
  • server/components
  • server/qawno

Those symlinks are intentionally not part of the repo. They are created locally.

Local setup

./setup_local_server.sh /path/to/open.mp/Server

Build

./build.sh

Run

./run.sh

Default port:

  • 7780

Current scope

This repo does not yet reproduce the original SA CCarCtrl behavior exactly. It is a practical testbed for:

  • NPC-only traffic on open.mp
  • spawn and despawn heuristics
  • local node clusters
  • observing movement deltas and node transitions

Next steps

  • local segment and lane models instead of raw node playback
  • better curated spawn pools for Angel Pine
  • simple rules for right of way, intersections, and traffic flow

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden