AMXX Spawnangle Bug Fixer (jghg)
1 Attachment(s)
Thanks to EKS for do the Port to AMXX
/* 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 */ Have Fun - Little Chang |
Anyway to make the T spawn facing the walls? For right now I'm using your previous cvar for awp_map which makes thes CT's face towards the T's which just make its more chaos.. (Sorry I don't know my angles)
|
Very interesting...
Nice plugin. :D |
Wow, long time no sea. I forgot about all plugins I made...
Anyway, you should probably edit the info because Custom Map Cfg plugins isn't used/needed. To set angles for a map just place the command(s) in amxmodx/configs/maps/mapname.cfg like amxmodx/configs/maps/he_arena.cfg XxKpAznGuyxX: You can just try the cmd until it works. Try 0, 90, 180, 270. Maps are usually made in straight angles. |
It was amx_spawnangle t = 180 thanks
Edit - This Plugin rocks.. not that many ppl are now spawning.. instead of using spawn protection plugin this plugin is easier to use and better! awp_map - spawn kill fy_pool_day - nades spawn / spawn kill fy_snow - nade spawn cs_deagle5 - players can see there opponents respawn point aim_map - spawn kill I suggest you all should make all this map face towards the wall to prevent spawn killing.. |
L 07/19/2005 - 19:49:27: [AMXX] Native error in "entity_set_vector" on line 123 (file "amxx_spawnangle_bug_fixer.sma").
L 07/19/2005 - 19:49:27: [ENGINE] Invalid player 0 (not in-game) this spam alot in my logs.. can anyone fix this? |
Quick guess. :) :)
Code:
|
I'm going to try it out right now
|
waring 209: function "spawnangle_cmd" should return a value
1 Warning. Done. Just wondering if I should still replace the previous file with the new compiled version.. I don't want to mess up my server |
this plugins
//AMXXPC compile.exe
// by the AMX Mod X Dev Team //// AMXX_Spawnangle_Bug_Fixer.sma // C:\Documents and Settings\HP_Eier\Skrivebord\AMXX_Spawnangle_B ug_Fixer.sma(0) : fatal error 101: cannot write to file: "C:\Documents and Settings\HP_Eier\Skr ivebord\compiled\AMXX_Spawnangle_Bug_Fixer.am x" // // Compilation aborted. // 1 Error. // Could not locate output file C:\Documents and Settings\HP_Eier\Skrivebord\com piled\AMXX_Spawnangle_Bug_Fixer.amx (compile failed). // // Compilation Time: 0,06 sec Bug or something I had done wrong??? dunno please help me |
All times are GMT -4. The time now is 21:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.