Mapping
From OpenArena
This article describes some general mapping techniques. They are not necessarily Open Arena specific but might be it.
Contents |
[edit] How to make a curved platform
- First make a brush and curve->cylinder
- hit Q (QE, resize) and V (vertices), start to form the curve as you like by dragging the points
- When you're done, hit v again (to deselect vertices) and curve->cap selection, choose cylinder.
[edit] Limiting items to certain gametypes
Sometimes you don't want certain items to appear in certain gametypes (ie. the white flag in standard ctf). To prevent this you can use the 'gametype' key like in the following picture:
You can use this property to place items differently in different gametypes. It works on most entities including: flags, obelisks, weapons, ammo and spawnpoints. It does not work on location entities or worldspawn. Note: You should always have at least one spawnpoint (info_player_deathmatch) without a gametype key in a map or the map might crash when new gametypes are added.
This is useful in entity-based gametypes like CTF, CTF Elimination, Double Domination, One Flag CTF, Harvester, and Overload. For example, team flags (red & blue flag) should be used in CTF, CTF Elimination, One Flag CTF, and Double Domination (where are replaced by A & B DD points); neutral flags in One Flag CTF; team obelisks in Harvester and Overload gametypes; the neutral obelisk in Harvester; and info_domination_point in Domination.
[edit] Gametypes
Free for all: ffa
Tournament: tourney
Single-Player: single
Team Deathmatch: tdm
Capture The Flag: ctf
One Flag CTF (1FCTF): oneflag
Overload: obelisk
Harvester: harvester
Elimination: elimination
CTF Elimination: ctfelimination (Will be covered by ctf in 0.8.2+)
Last Man Standing: lms
Double Domination: dd
Domination: dom
[edit] Limiting items to certain teams
This is primarily meant for Persistent Power-usp (sometimes referred to as runes).
To limit the item to the red team use: spawnflags 2
To limit the item to the blue team use: spawnflags 4

