AMXX Spawnangle Bug Fixer (jghg)
Posted: Mon Nov 22, 2021 11:53 pm
plugin/*
AMXX Map Bug Fixer/Spawnangle Bug Fixer
=================
To set angles for a map just place the command(s) in amxmodx/configs/maps/mapname.cfg
like amxmodx/configs/maps/he_arena.cfg
The spawn points of the CT:s in the awp_map.bsp are rotated a little unfair, so you spawn facing the wall.
With this plugin and the Custom Map Configs plugin you can have problems like this permantently fixed on any map,
without having to change the mapfile itself.
Just add a short line (like "amx_spawnangle ct = 180") to the config file of the map you want to fix, and you're set.
You can also use the same command to turn the spawns in-game, should you ever need to. (ADMIN_CFG access required)
/jghg
USAGE
=====
amx_spawnangle <team (ct, t, or vip)> <mode (=, - or +)> <# of degrees>
Example uses:
amx_spawnangle t + 180 (this TURNS all terrorists spawns 180 degrees counter-clockwise if seen from above)
amx_spawnangle ct = 45 (this SETS all counter-terrorists spawns to exactly 45 degrees)
amx_spawnangle vip + 4 (you can TURN and SET vip's spawn too, if you want...)
Some suggested fixes for a few maps:
Face to Face
he_tennis.cfg: amx_spawnangle ct = 180
awp_map.cfg: amx_spawnangle ct = 180
3rooms.cfg: amx_spawnangle t = 180
aim_aztec.cfg: amx_spawnangle ct + 180
aim_firewall.cfg: amx_spawnangle t + 180
aim_glockrox.cfg: amx_spawnangle ct + 180
aim_headshot.cfg: amx_spawnangle t + 180
aim_paranoia.cfg: amx_spawnangle t + 180
VERSIONS
========
1.2, 040717 Ported to AMXX by EKS
name change from "AMX Map Bug Fixer" to "AMXX Spawnangle Bug Fixer"
Added extra check to entity "scan" to prevent it from going into a never ending loop
1.1, 031227 Removed use of isdigit function, which means this will probably work on older amx versions (?).
1.0, 031205 Complete change of everything.We now rely on Custom Map Configs, and use amx_spawnangle to set the angles...
0.3, 031204 Removed to only use vexd and not xtrafun.
Fixed 3rooms.bsp
Changed plugin name because of more support for more maps...
0.2, ?????? Same problem with he_tennis, added support
0.1, ?????? First version
*/