Raised This Month: $51 Target: $400
 12% 

Predator Mode


Post New Thread Reply   
 
Thread Tools Display Modes
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 03-18-2012 , 14:23   Re: Predator Mode
Reply With Quote #341

This mod still works.
Some server in Russia running mod are:
89.223.32.156:27011
178.130.21.169:27016

But mod definately needs some important fixes. Each game portal have fixed bugs by its own, they are private, you don't find them here. I'll post some my fixes if I have time.

Last edited by isotonic; 03-28-2012 at 01:24.
isotonic is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 03-28-2012 , 02:47   Re: Predator Mode
Reply With Quote #342

I've rewrited a large amount of plugin's code to correct all important bugs, make all importand improvements and optimize it. The mod now works correctly.

Changes are:
Quote:
- ! fix: no more unlimited hp, ap and plasma for humans and predators (it were available if you used some commands)
- ! fix: player stays as predator even after 'Game Commencing!' or 'Game will restart in X seconds'
- ! fix: predator was able to fire plasma shots in enemy's spawn points right before a new round
- fix: first X rounds delay before a player will be able to become a predator, defined by #define delay
- fix: runtime error 'index out of bounds'
- new: save player's frags at the time of death being predator to set start point for collecting frags to become predator again
- new: in case if 'Predator Everyone' mode is on player just not allowed to be human: if he doesn't choose type of predator he gets predator on random
- new: bonus to human for killing predator (controlled by 'amx_kill_predator_money' cvar)
- new: 2nd info message to /predcost chat command with exact info about additional frags and $ you need to get predator
- ! change: admin_* cvars & cmds to amx_* ones
- change: info about current 'Predator View' is printed to player in chat but isn't in console
- change: cvars was converted to pcvars
- change: say /predatorhelp to say /predhelp
- change: location of predhelp.txt was changed to more appropriate one addons\amxmodx\data\
- change: more pretty MOTD window style

Notes:
- You need to put 'sv_maxspeed 900' to server.cfg to have increased predator's speed right after server start because plugin increases it after 1st map change only;
- predhelp.zip - archive with predhelp.txt (MOTD text) with keeping directory structure.
Attached Files
File Type: zip predhelp.zip (1.0 KB, 177 views)
File Type: sma Get Plugin or Get Source (predator.sma - 476 views - 55.9 KB)

Last edited by isotonic; 03-28-2012 at 02:52.
isotonic is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 03-29-2012 , 15:36   Re: Predator Mode
Reply With Quote #343

Sorry, typo correction.
Code:
//---------------[AUTO BIND SYSTEM]---------------
public func_autobind(id)
{
 client_cmd(id,"bind p pcview")
 client_cmd(id,"bind mouse3 ppfire")
 console_print(id,"The default keys are bound. ENJOY!^nPlasma shot - MOUSE3 and vire - P.")
 return PLUGIN_HANDLED
}
Or just download fixed sma ;)
Attached Files
File Type: sma Get Plugin or Get Source (predator.sma - 506 views - 55.9 KB)
isotonic is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 04-08-2012 , 01:38   Re: Predator Mode
Reply With Quote #344

New version.

Changes are:
Quote:
v.2.2
- ! fix: now predator can be killed by bomb explosion
- fix: about knife predator's kills there are no more double messages and correct weapon (knife) are always shown
- change: color chat support are handled by custom include 'ColorChat' by ConnorMcLeod http://forums.alliedmods.net/showpos...2&postcount=90
- change: now announcements about /predhelp are displayed less frequently
- new: added multilingual support (eng & rus)
- some small code optimizations
All changes are attached. Also you can use Russian version of /predhelp MOTD - download file predhelp_rus.txt and replace the original.
Attached Files
File Type: sma Get Plugin or Get Source (predator.sma - 338 views - 55.6 KB)
File Type: zip amxmodx.zip (4.2 KB, 169 views)
File Type: txt predhelp_rus.txt (1.2 KB, 165 views)
isotonic is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-17-2012 , 02:30   Re: Predator Mode
Reply With Quote #345

New version.

Changes are:
Quote:
v2.2.1
- new: CVAR amx_predator_gamename : if 1 then gamename will be changed to 'Predator Mod'
- cosmetic fix
It is little changes before coming great features.
Attached Files
File Type: sma Get Plugin or Get Source (predator.sma - 616 views - 56.3 KB)

Last edited by isotonic; 05-18-2012 at 07:28. Reason: Corrected typo in sma
isotonic is offline
deejay87
Senior Member
Join Date: Apr 2004
Location: Pays du Glaude - France
Old 05-18-2012 , 03:23   Re: Predator Mode
Reply With Quote #346

Hi, good job to correct this predator mod

Justs about the first post:

predhelp.txt is not on the good place in the archive, you have to do this :
Quote:
//Copy the file "predhelp.txt" into: addons\amxmodx\data\ //
The folder config is "configs" in amxmodx you have to open configs/plugins.ini to add predator.amxx
not this :
Quote:
//Open the file addons\amxmodx\config\plugins.ini //
//Add there the line "predator.amxx" //
I know lot of people know what can we do

For the gamename maybe you can add a cvar to choose the name
__________________

Last edited by deejay87; 05-18-2012 at 03:25.
deejay87 is offline
Send a message via MSN to deejay87 Send a message via Skype™ to deejay87
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-18-2012 , 13:49   Re: Predator Mode
Reply With Quote #347

- I've corrected first author's typo in 'configs' and uploaded updated sma. Thank you!
- directory structure in my archive as the same as inside amxmodx folder. Server operator must be familiar with its folders ;)
- I don't think it is great idea to have CVAR for gamename. An ideal is to have the same gamename for all servers running Predator mod like 'Counter-Strike', 'Zombie Plague', etc. It will be the best for players to recognize them using common gamename.
isotonic is offline
lilsaint
BANNED
Join Date: May 2012
Old 06-20-2012 , 01:23   Re: Predator Mode
Reply With Quote #348

i want .cfg of predator mode for my multimod server can u help?
lilsaint is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 06-20-2012 , 06:19   Re: Predator Mode
Reply With Quote #349

I can try if you explain ;)
__________________
isotonic is offline
MoUnTwOw
New Member
Join Date: Jun 2012
Location: Romania
Old 06-26-2012 , 05:57   Re: Predator Mode
Reply With Quote #350

Nice man...I love this mod!
__________________

Last edited by MoUnTwOw; 06-26-2012 at 05:57.
MoUnTwOw is offline
Send a message via Yahoo to MoUnTwOw Send a message via Skype™ to MoUnTwOw
Reply



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 07:41.


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