07.11.2012, 04:39
(
Last edited by SuperViper; 08/11/2012 at 02:01 AM.
)
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.
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
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
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 Position | Command | Effect |
Regular Player | /cage | Use one of your cage items to place a cage around yourself to prevent yourself from getting hit by cars |
Regular Player | /song | Change the song |
Game Moderator | /(st)aff | Talk in the staff-only chat |
Game Moderator | /kick | Kick a player from the server |
Game Moderator | /ban | Ban a player for a specified amount of days |
Game Moderator | /oban | Offline ban a player for a specified amount of days |
Game Moderator | /unban | Unban a player |
Game Moderator | /staffonline | View the online staff members |
Game Moderator | /(warn)ing | Display a warning box to a player |
Game Moderator | /ipcheck | Display the IP of a player |
Game Moderator | /(afkp)layers | View 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)ing | Display a warning box for a player without displaying your name |
Senior Game Moderator | /goto | Teleport to a player |
Senior Game Moderator | /gethere | Teleport a player to you |
Senior Game Moderator | /oipcheck | Get 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 | /setname | Change the name of a player |
Senior Game Moderator | /changemap | Change the map |
Senior Game Moderator | /(f)orce®ound | Force a new round to begin |
Server Administrator | /suspend | Suspend a staff member for a specified amount of days |
Server Administrator | /osuspend | Offline suspend a staff member for a specified amount of days |
Server Administrator | /setstaff | Set the staff level of a player and remove their staff suspension (if any) |
Server Administrator | /osetstaff | Offline 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)oint | Add a new point for vehicles to spawn on the map |
Server Administrator | /(a)dd(i)tem | Add 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
Version | Change |
Version 1 | Created 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