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.
- A Steam Server
- 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.
- ConnorMcLeod - For his code for detecting if a player is surfing or not.
- 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.
// 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)
// 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
/* 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
Old Gameplay Video
Attached Files ProSurfers_Ressources.zip (257.8 KB) Get Plugin or Get Source (prosurfers.sma - 20.3 KB)
Wyświetl pełny artykuł