[GameMode] Slope
#1

Introduction

This is a unique gamemode that has (from my knowledge) never been introduced to SA-MP before. This gamemode is called Slope. In this gamemode, players are supposed to climb up a very steep platform with a limited amount of health and armor while vehicles are falling down the platform every once in a while.


Features and Documentation
You can view a full, live documentation of this script at https://docs.******.com/spreadsheet/...5YVVMZ0E#gid=0. All development information will be stored there.


Commands
You can view help information about a command by typing /help [command] for player commands and /(sh)elp [command] for staff commands.

Required PositionCommandEffect
Regular Player/cageUse one of your cage items to place a cage around yourself to prevent yourself from getting hit by cars
Regular Player/songChange the song
Game Moderator/(st)affTalk in the staff-only chat
Game Moderator/kickKick a player from the server
Game Moderator/banBan a player for a specified amount of days
Game Moderator/obanOffline ban a player for a specified amount of days
Game Moderator/unbanUnban a player
Game Moderator/staffonlineView the online staff members
Game Moderator/(warn)ingDisplay a warning box to a player
Game Moderator/ipcheckDisplay the IP of a player
Game Moderator/(afkp)layersView a list of AFK/tabbed players
Senior Game Moderator/(i)ndef(ban)Ban a player indefinately
Senior Game Moderator/o(i)ndef(ban)Offline ban a player indefinately
Senior Game Moderator/(s)taff(list)View a list of both offline and online staff members
Senior Game Moderator/(swarn)ingDisplay a warning box for a player without displaying your name
Senior Game Moderator/gotoTeleport to a player
Senior Game Moderator/gethereTeleport a player to you
Senior Game Moderator/oipcheckGet the IP of an offline player
Senior Game Moderator/listaccounts(ip/name)List the accounts with a relation to the IP or account name
Senior Game Moderator/setnameChange the name of a player
Senior Game Moderator/changemapChange the map
Senior Game Moderator/(f)orce®oundForce a new round to begin
Server Administrator/suspendSuspend a staff member for a specified amount of days
Server Administrator/osuspendOffline suspend a staff member for a specified amount of days
Server Administrator/setstaffSet the staff level of a player and remove their staff suspension (if any)
Server Administrator/osetstaffOffline set the staff level of a player and remove their staff suspension (if any)
Server Administrator/(m)ap(edit)Modify the current map settings
Server Administrator/(a)dd(v)ehicle(p)ointAdd a new point for vehicles to spawn on the map
Server Administrator/(a)dd(i)temAdd a new item on the map

Adding Maps
To add a map, you need to add the CreateObject code under OnGameModeInit and then add a new row in the maps table in the database. You can load the map by creating a new file under scriptfiles called nextmap.txt and putting in the new created map ID inside the file and saving it. Once the map is loaded, you can use /(a)dd(v)ehicle(p)oint and /(a)dd(i)tem to create vehicle spawn points and map items. If you want to create teleport map items, you will need to do it manually through the database.

Item effects 0-46 give the player a weapon.
Item effect 100 restores the player's health.
Item effect 101 restores the player's armor.
Item effect 102 teleports the player.


Bugs and Suggestions

Please reply to this thread with your bug report or suggestion for the gamemode. All of these posts will be reviewed carefully and dealt with accordingly. If you report a bug and it's confirmed by the testing team, it will be placed on the issue tracker on the official documentation page.

Screenshots














Downloads

The download links and the gamemode itself will be updated occasionally.

Version 1.0 (Windows) - Mediafire
Version 1.0 (Linux) - Mediafire
XAMPP Download (required) - Official Website



Changelog

VersionChange
Version 1Created the script

Installation

Self Hosting Installation
1) Download the server folder and place it on your desktop.
2) Install XAMPP with the file you downloaded from the XAMPP Download link.
3) Open up XAMPP (or the control panel).
4) Click on start for Apache and MySQL.
5) Click on 'Admin' for MySQL and wait for the page to load.
6) Click on the 'Databases' tab.
7) In the box under 'Create new database', put in 'slope' and click create.
8) Select 'slope' from the database list below.
9) Click on the 'Import' tab.
10) Click on the 'Choose File' button and select the .sql file in the 'server folder > SQL File' folder and then click go.
11) Open up the config.php file in the User Control Panel folder and modify it to your liking.
12) Drag all of the user control panel files from 'server folder > User Control Panel' to C:/xampp/htdocs.
13) Go to 'server folder > scriptfiles > configuration' and open up mysql.cfg.
14) Modify the settings if necessary:
MySQL IP|MySQL Username|MySQL Database|MySQL Password (@ for no password)|MySQL Port|Enable MySQL Debugging

By default, all of the settings are configured for a home-hosted MySQL server.
15) Open up the main.cfg file in the same folder.
16) Modify the settings if necessary:
Server Name|Server Gamemode
17) You're finished, you can now run the server. You can view the control panel by typing localhost in your browser.

Hosting Company Installation
1) Download the server folder and place it in the server directory via FTP.
2) Go to your MySQL host's phpMyAdmin page.
3) Click on the 'Databases' tab.
4) In the box under 'Create new database', put in 'slope' and click create.
5) Select 'slope' from the database list below.
6) Click on the 'Import' tab.
7) Click on the 'Choose File' button and select the .sql file in the 'server folder > SQL File' folder and then click go.
8) Drag all of the user control panel files from 'server folder > User Control Panel' to C:/xampp/htdocs.
9) Go to 'server folder > scriptfiles > configuration' and open up mysql.cfg.
10) Modify the settings if necessary:
MySQL IP|MySQL Username|MySQL Database|MySQL Password (@ for no password)|MySQL Port|Enable MySQL Debugging
By default, all of the settings are configured for a home-hosted MySQL server.
11) Open up the main.cfg file in the same folder.
12) Modify the settings if necessary:
Server Name|Server Gamemode
13) Open up the config.php file in the User Control Panel folder and modify it to your liking.
14) Drag all of the files from the User Control Panel folder to your website folder.
15) You're finished, you can now run the server.

Creating an administrator account
Once you join the server, you will automatically be able to create an administrator account one time only.


Credits

SuperViper/Ricky Phelps - Creating the script
Bruce Stracci - Coordinating development and revising features
Andre Martini - Testing the functionality of the features
Reply
#2

Oh my gawd. FUCK NICE!

1 rep
Reply
#3

This is an absolutely great gamemode. Doesn't this also exist on Garry's Mod? I'm not sure if I'm thinking it's the right slope.
Reply
#4

Quote:
Originally Posted by Toni
View Post
This is an absolutely great gamemode. Doesn't this also exist on Garry's Mod? I'm not sure if I'm thinking it's the right slope.
Yes, that's actually where I got the idea.
Reply
#5

This looks pretty cool to be honest, I might even run this !
Reply
#6

Good job!
Reply
#7

Another well done job by SuperViper.
Reply
#8

Awesome WORK!
Reply
#9

Nice...
Reply
#10

amazing, it remind me of some tv show Takeshi castle wher erocks are falling o.O from slope XD
Reply
#11

Seen something like this on a freeroam server, it was a minigame. +rep
Reply
#12

Funny
Reply
#13

What do you guys want to see in the next version?
Reply
#14

Wow this is something unique and sounds awesome. I'll soon give it a try.
Reply
#15

This is amazing. I've not seen anything that could top this Gamemode.
Reply
#16

Hell yea something creative good job bro
Reply
#17

Epic !
Reply
#18

I Will Give a Test Soon
Reply
#19

This is cool and very unique!.
Reply
#20

WOW, very nice is that "User Control Panel", rep ++ for it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)