This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

SurfMod v1.4 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 09-26-2011 , 14:33   SurfMod v1.4 by m0skVi4a ;]
Reply With Quote #1

Plugin Author: m0skVi4a ;]
Plugin Name: SurfMod
Plugin Version: 1.4
Modification: Counter - Strike
Category: Gameplay



Description:

This plugin change the Counter - Strike 1.6 classic style to Surf. The plugin have help, respawn, spawn protection, semiclip system and timer.


Commands:

say /surfhelp
say_team /surfhelp
to show the Surf Mod help MOTD

say /respawn
say_team /respawn
to respawn you

say /surftimer
say_team /surftimer
to open surf timer menu


CVARS:

"surf_on" - Is the plugin on(1) or off(0). Default: 1
"surf_help" - Is the surf help on(1) or off(0). Default: 1
"surf_help_mes" - In how many seconds to display the surf help message. Default: 120.0
"surf_respawn" - Is the respawning on(1) or off(0). Default: 1
"surf_respawn_command" - Is the say /respawn command on(1) or off(0). Default: 1
"surf_respawn_time" - Time in seconds after dead to respawn. Default: 1.5
"surf_sp" - Is the spawn protection on(1) or off(0) Default: 1
"surf_sp_time" - How many seconds is the protection. Default: 5.0
"surf_semi" - Is the semiclip on(1) or off(0). Default: 1
"surf_timer" - Is the surf timer on(1) or off(0). Default: 1
"surf_timer_hud" - Time in seconds after Stop timer to stop timers hud. Default: 10.0

Alll CVARS are without quotes


Credits:

m0skVi4a ;] - for the idea and making the plugin
ConnorMcLeod - for his Semiclip plugin
SpeeD - for his Spawn Protection plugin and testing the plugin
L@m3r40 =] - for ideas and testing the plugin
SGT -for ideas for the plugin


Changelog:

August 11, 2011 - v1.0 - First Release - Never released in Alliedmodders
August 21, 2011 - v1.1 - Changed semiclip method, added Universal Timer, added code styling, small optimization. - Never released in Alliedmodders
September 26, 2011 - v1.2 - Fixed some bugs
October 1, 2011 - v1.3 - Litle optimization, added multilingual file, SurfMod Help MOTD is in CSTRIKE dir, Fixed bug that don't spawns you when connect, added "surf_respawn_command" cvar.
October 2, 2011 - v1.3 FIX 1 - Fixed bug respawn on connect when plugin is off, there are merge some features in the semiclip
October 2, 2011 - v1.3 FIX 2 - Fixed bug that don't spawns you when connect
November 8, 2011 - v1.3 FIX 3 - Fixed bug that don't spawns you when connect
November 27, 2011 - v1.4 - Changed somethings in the plugin for more functional work, Surf Timer is mainly changed, Changed respawn on connect method


Moduls:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <fun>
#include <hamsandwich> 

Libraries:
PHP Code:
#include <amxmisc> 

You don't have to add any CVARS anywhere. There is a surfmod.cfg that stands in the configs dir. You can edit it.
surfmodhelp.txt stands in cstrike dir


This plugin is tested on AmxModX 1.8.1 and it works properly!!!
Attached Files
File Type: zip SurfMod_V1.4_Files.zip (7.2 KB, 9512 views)

Last edited by m0skVi4a; 01-04-2012 at 03:11. Reason: Update
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-26-2011 , 14:43   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #2

You are not allowed to attach compiled plugins.


RegisterHam(Ham_Spawn, "player", "PlayerSpawn",1)
RegisterHam(Ham_Spawn, "player", "SpawnPost", 1)

...
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-26-2011 at 14:46.
ConnorMcLeod is offline
PyPKjE20
Member
Join Date: Dec 2010
Location: Lithuania
Old 09-26-2011 , 14:46   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #3

What these modes surf better than any other modifications to the surf?
__________________

CS:GO Open Chest MOD IP: csgo.slimi.lt
New CS 1.6 CSGO IP: pub.slimi.lt
CS 1.6 Slimi RPG MOD http://rpg.slimi.lt
PyPKjE20 is offline
Send a message via Skype™ to PyPKjE20
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 09-26-2011 , 14:47   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #4

It hasn't useless crap than uSurf and Surf Olympics

Last edited by m0skVi4a; 09-26-2011 at 14:52.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
SGT
Senior Member
Join Date: Sep 2011
Old 09-26-2011 , 14:58   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #5

/timermenu doesn't work.

Add a cvar to disable the respawn protection hud message.
Add a cvar to disable /respawn. I would like to keep auto respawn, but I don't want people using /respawn to get out of the cage.

Edit:

Yea, it's much better than usurf and surf olympics. I've been waiting for a plugin like this for a while. I've been using 2-4 different plugins to do the same things this plugin does.

Edit2: Could you also make the /surfhelp motd an external html file instead of having it within the plugin?

Last edited by SGT; 09-26-2011 at 15:04.
SGT is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 09-26-2011 , 15:00   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
You are not allowed to attach compiled plugins.


RegisterHam(Ham_Spawn, "player", "PlayerSpawn",1)
RegisterHam(Ham_Spawn, "player", "SpawnPost", 1)

...
Wrong attach
Fixed


Quote:
Originally Posted by SGT View Post
/timermenu doesn't work.

Add a cvar to disable the respawn protection hud message.
Add a cvar to disable /respawn. I would like to keep auto respawn, but I don't want people using /respawn to get out of the cage.

Edit:

Yea, it's much better than usurf and surf olympics. I've been waiting for a plugin like this for a while. I've been using 2-4 different plugins to do the same things this plugin does.
Coming soon v 1.3

Its say /surftimer
my mess

Last edited by m0skVi4a; 09-26-2011 at 15:08.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
modernwarfare
Senior Member
Join Date: Aug 2011
Location: sweden
Old 09-26-2011 , 15:09   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #7

coool

thx for that
__________________
Im supporting/coding XP Mod Plugin
Free Palestine
R.I.P. The 2967 American people that lost their lives 9/11 and R.I.P.
The 48,644 Afghan and 1,690,903 Iraqi people that paid the ultimate price for a crime they did not commit.



modernwarfare is offline
Send a message via MSN to modernwarfare Send a message via Skype™ to modernwarfare
SGT
Senior Member
Join Date: Sep 2011
Old 09-26-2011 , 15:18   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #8

In the timer menu it says (RE)Star time. *Start.

Make the /surfhelp motd an external html file instead of having it within the plugin in v1.3. It'd be easier to change/add things to it.


Edit:

You can ignore all of my requests unless someone else wants them. I just added/changed them myself. Except the MOTD thing, it'd be the perfect surf plugin if you could add that.

Edit2: When someone joins after the round started they don't auto respawn.

Last edited by SGT; 09-26-2011 at 17:46.
SGT is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-26-2011 , 17:07   Re: SurfMod v1.2 by m0skVi4a ;]
Reply With Quote #9

You could also merge :

register_event("DeathMsg","DeathMsg","a")
and
RegisterHam(Ham_Killed, "player", "KilledPost", 1)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 10-01-2011 , 14:36   Re: SurfMod v1.3 by m0skVi4a ;]
Reply With Quote #10

Update V1.3

waiting for your suggestions for other languages in the multilingulal file
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
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 02:07.


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