samp.directory
← Scripts e bibliotecas

Knogle/omp-sa-traffic-lab

Sem descrição no GitHub.

Outro★ 2atualizado mar. de 2026Sem licençaPawn
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

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

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página