samp.directory
← Scripts y librerías

Knogle/omp-sa-traffic-lab

Sin descripción en GitHub.

Otro★ 2actualizado mar 2026Sin licenciaPawn
Abrir en GitHub

Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.

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 se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

Knogle/omp-sa-traffic-lab: Otro de SA-MP | samp.directory