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

ProSurfers (1.0.0 - 20.05.2014)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-20-2014 , 09:21   ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #1


ProSurfers

ProSurfers is a Mod specially for surf_ maps. The Goal of each map is to reach the required amount of points based on the amount of players connected and / or the minimum points required.
You get points by Surfing and Flying, the amount of Points you get depends on the Speed you have while you fly or surf.
If you kill a player while he is surfing, he looses all points he got in his streak.
You also loose points when you touch the ground (or a teleporter entity). This function can be disabled.


Requirements
  • A Steam Server

Notes
  • This Mod is made for Maps which do not have a fixed end (e.g. surf_ski_2).
  • Avoid Maps with a Jail in it (or remove them via Plugin / editing the Map).
  • Code is a bit older, so you might find some pieces of code which are not 100 % efficent, if you find something, please post it here.
  • If you have ideas for improving the gameplay, feel free to post them here.

Credits
  • ConnorMcLeod - For his code for detecting if a player is surfing or not.

Coming Soon
  • Items maybe (Collectable on the Map)
  • Surf Combos (Placing multiple points on the Map ; If you pass them all in a limited time you get extra points
  • You have an Idea? Feel free to post it.

Defines

PHP Code:
// Prefix for Messages
#define GAME_PREFIX "[ProSurfers]"

// Points per Frame while Flying
#define FLY_POINTS_PER_FRAME 0.003

// Points per Frame while Surfing
#define SURF_POINTS_PER_FRAME 0.005

// Comment if you want a static goal (Goal will be : (Players * PLUS_GOAL) + BASE_GOAL)
#define USE_DYNAMICGOAL

// Base Goal (in Kills)
#define BASE_GOAL 135000

// Additional Kills per player if USE_DYNAMICGOAL is uncommented
#define PLUS_GOAL 8750

// Frequency of HUD being updated
#define HUD_FREQ 0.1

// Time in Seconds when Game Begins after Plugin loaded
#define TIME_START 25.0

// Time in Seconds for Respawning (Comment for instant respawn)
#define TIME_RESPAWN 0.1

// Time in Seconds when next map will be loaded after Game finished.
#define TIME_MAPCHANGE 15.0

// Points for playing Impressive Sound
#define POINTS_IMPRESSIVE 15000

// Points for playing Holy Shit Sound
#define POINTS_HOLYSHIT 32100

// Points for playing Godlike Sound
#define POINTS_GODLIKE 55000

// Comment if you don't want the points to be reseted after touching a teleport Entity
#define RESET_ON_TP

/* HUD - Top */

// Red Color of Top Hud
#define HUD_TOP_RED 0

// Green Color of Top Hud
#define HUD_TOP_GREEN 255

// Blue Color of Top Hud
#define HUD_TOP_BLUE 0

// X-Pos of Top Hud
#define HUD_TOP_X -1.0

// Y-Pos of Top Hud
#define HUD_TOP_Y 0.10

/* HUD - Left */

// Red Color of Left Hud
#define HUD_LEFT_RED 0

// Green Color of Left Hud
#define HUD_LEFT_GREEN 255

// Blue Color of Left Hud
#define HUD_LEFT_BLUE 0

// X-Pos of Left Hud
#define HUD_LEFT_X 0.05

// Y-Pos of Left Hud
#define HUD_LEFT_Y 0.30 
Media
Old Gameplay Video

Attached Files
File Type: zip ProSurfers_Ressources.zip (257.8 KB, 180 views)
File Type: sma Get Plugin or Get Source (prosurfers.sma - 916 views - 20.3 KB)
__________________

Last edited by Kia; 05-20-2014 at 09:31.
Kia is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-20-2014 , 10:44   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #2

Interesting. Nice plugin.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-20-2014 , 10:58   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #3

Thanks.
__________________
Kia is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 05-20-2014 , 12:51   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #4

Looks really good Kia!

Well done!
__________________
jingojang is offline
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 05-20-2014 , 16:49   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #5

I will test it on my surf server ! Gj !
Spawner30 is offline
Send a message via Skype™ to Spawner30
GinNNy
Senior Member
Join Date: Mar 2014
Old 05-20-2014 , 17:04   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #6

Hahahaha nice kia.
Dont forget that i won you .

Last edited by GinNNy; 05-20-2014 at 17:17.
GinNNy is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 05-23-2014 , 06:22   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #7

you have store a lot of define's . change it by cvar's .
Freezo Begin is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-23-2014 , 09:50   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #8

Quote:
Originally Posted by Freezo Begin View Post
you have store a lot of define's . change it by cvar's .
No, thank you.
__________________
Kia is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 05-23-2014 , 10:13   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #9

Ok, "A Y L" :'(

Last edited by Freezo Begin; 05-23-2014 at 10:20.
Freezo Begin is offline
Old 05-31-2014, 01:04
hichamera
This message has been deleted by hornet. Reason: Spam
e1242656
Junior Member
Join Date: Nov 2011
Location: Taiwan
Old 06-21-2014 , 23:09   Re: ProSurfers (1.0.0 - 20.05.2014)
Reply With Quote #10

My HLDS got lot of errors!!

SZ_GetSpace: overflow on XXX
WARNING: datagram overflowed for XXX

XXX is player name, all player have same problem!
__________________
HI!~
e1242656 is offline
Send a message via MSN to e1242656 Send a message via Yahoo to e1242656 Send a message via Skype™ to e1242656
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 10:42.


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