Raised This Month: $ Target: $400
 0% 

Player Spawn Points Fixer v0.3.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 01-31-2007 , 05:39   Player Spawn Points Fixer v0.3.2
Reply With Quote #1

Preamble:
This plugin is intended to replace AMXX Spawnangle Bug Fixer (jghg) plugin because it's fully automatic and you do not need to change map config files and calculate the right view direction at all.

Info (RUS):
This plugin allows to fix improperly set yaw angle of spawn points,
e.g. when you're spawned facing a wall or other obstacle too
close to you.

Plugin has extra features for CS/CZ mod also:
* dump spawn points into CSDM 2.x config file
* rebalance spawn points (for CT team only) on non-CS maps, e.g.
you can play deathmatch maps with both teams

Requirements:
* AMX/X 1.7x or higher
* Engine module
* some cvars are supported under CS only (see history for details)

New commands:
* psp_fixer_delta <angle> (default=45.0)
delta angle (in degrees) which is used to detect the best
spawn point angle with the furthest visible distance;
allowed values are: 360, 180, 90, 45, 22.5
* psp_fixer_dump [<flags>|?] (default=cth)
dump spawn point data of specified class into CSDM file;
valid flags are:
c, m - CT or single player monster entry (info_player_start class)
t, d - T or deathmatch entry (info_player_deathmatch class)
h, v - hostage entry (info_vip_start class)
To print console help please type 'psp_fixer_dump ?' (without
quotes)

New cvars:
* amx_psp_fixer <0|1> (default=1)
enable/disable plugin; requires restart a map to take effect
* psp_fixer_threshold <num> (default=150.0)
minimum visible distance at default spawn point angle which
satisfies you (i.e. spawn point angle remains original);
if the distance is less then the spawn point will be fixed
* psp_fixer_rebalance_mode <-1|0|1> (default=-1)
CT/T spawn points balance mode:
-1 - autodetect: balance feature is activated only if CSDM is on
0 - always off
1 - always on (do not recommend for CS maps)
* psp_fixer_rebalance_threshold <num> (default=1)
the maximum allowed difference between quantity of CT/T spawn points to skip rebalancing (e.g. usually CS map has 16CT and 16T, T - CT = 0 => skip; DM map has 19T and 1CT, 19 - 1 = 18 => execute spawn point rebalancing)
* psp_fixer_rebalance_flags <flags> (default=a)
setup rebalance algorithm behaviour:
a - clean-up original CT points on rebalancing

Known issues:
* psp_fixer_delta is reset after each map restart because it's a command actually, so you need to put it into amxx.cfg for customization

History:
0.3.2 [2007-01-27]
* fixed dumping of CSDM spawn point files; view angel & model angle
triplets where mixed up
* fixed improper getting of trace_line() result
* pcvar usage (optimization)
0.3.1 [2006-12-21]
* ported from AMX Mod 0.9.9 to AMX Mod X
... (see .sma file for full changelog)
Attached Files
File Type: sma Get Plugin or Get Source (psp_fixer.sma - 2560 views - 24.6 KB)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 05-18-2007 at 07:28. Reason: changelog is reduced
Simon Logic is offline
Send a message via Skype™ to Simon Logic
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 01-31-2007 , 09:38   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #2

Nice job, sounds VERY helpful. Thanks!
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-31-2007 , 13:03   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #3

Next step is adding an ML system ;)
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
John6000
Junior Member
Join Date: Nov 2006
Old 01-31-2007 , 15:52   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #4

This looks exactly like unleashzero's plugin.
John6000 is offline
s p l i t
Senior Member
Join Date: May 2006
Location: US, NC
Old 01-31-2007 , 23:08   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #5

Other plugins already exist that accomplish this. Unapproved.
s p l i t is offline
Send a message via AIM to s p l i t Send a message via MSN to s p l i t
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 02-01-2007 , 06:05   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #6

John6000, i did not find this plugin. Can you post a link, please?

s p l i t, can you tell their names? I'd like to compare.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 02-01-2007 , 09:02   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #7

Added a preamble to make clear for all you guys how this plugin actually works.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
ToT | V!PER
Senior Member
Join Date: Jun 2004
Location: Germany
Old 02-01-2007 , 13:53   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #8

Is it completely console driven or is there a comfortable spawn editor menu like in CSDM ?
ToT | V!PER is offline
Send a message via ICQ to ToT | V!PER
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 02-01-2007 , 13:56   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #9

There is no menu. It has an option to dump existent spawn points (per class) into CSDM file with appropriate name and path. See psp_fixer_dump command.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 02-13-2007 , 13:02   Re: Player Spawn Points Fixer v0.3.2
Reply With Quote #10

Sorry for bumping this topic but my Approver has disappear and/or don't answer PMs.

Can some other Approver revise this plugin again? There are no plugins which fixes yaw angles automatically. This is a completely new idea. Also it's (imho) qualitative plugin.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode