Forum

> > CS2D > Scripts > Script Request
Forums overviewCS2D overview Scripts overviewLog in to reply

English Script Request

44 replies
Page
To the start Previous 1 2 3 Next To the start

old Script Request

TheHamzan6
User Off Offline

Quote
It's time time that we take roleplay scripts to a whole new level.

us Remember: Hold your butts tight! This is going to be one hell of a long journey.


Table of Contents:
> Introduction
> Contents
> Graphical User Interface(GUI)
> Commands System
> Hunger System
> Jobs System
> Custom Jobs System
> Payday System
> Vehicles System
> Shipment System
> Death System
> Inventory System
> Bank System
> Money Printer System
> Spawn Protection System
> Log System
> Function Keys
> Notes



> Introdution
This is a roleplay script.


> Contents
This script would have commands, jobs, vehicles, custom jobs, GUI's, etc..

It should also have the same player message function as
"Weiwen's Tibia Script". If you don't know what that is, then let me explain.

If you attempt to chat while some players are visible to your screen, then they can hear you. If no player is around you and you attempt to chat, then no one would be able to hear you. The OOC command would allow you to chat with all players.


> Graphical User Interface (GUI)
This is something completely new. A GUI instead of using menus.

Here is an example: http://www.youtube.com/watch?v=IfRzjzuwEqo


> Commands System
Every job has unique commands that the other doesn't. So let me state them all for you.

• All Jobs
!advert "text here" #The player advertises for $20.
!ooc or !! "text" #OOC stands for "Out-of-Character". This command would allow players to send messages to everyone.
!pm or !msg "player" "text" #This command allows players to privately message each other.
!group "message" #This command allows players to only send messages to people who have the same job as he does. This should apply to gangsters(they're connected to the mob boss), and the government(police,mayor,&chief).

• Gun Dealer
!buyshipments "shipment_name" #Player could buy shipments and he receives them instantly in his inventory.
!buyweapon "weaponname" #Player could buy any weapon and receives them instantly in his inventory.

• Vehicle dealer
!buyvehicles "vehicle_name" #Player could buy any vehicle and will be stored in his inventory.

• Government(Mayor,Police, & Chief)
!wanted "Player" #Player gets wanted with an icon showing near the player that he's wanted.
!warrant "Player" #The gov. request a warrant from the mayor to be able to get into people's houses.

• Mayor
!wanted "player" #Player gets wanted with an icon showing near the player that he's wanted.
!warrant "player" #The mayor could warrant anyone without permission, since he's the mayor.
!lockdown #This initiates a lockdown where players are forced to get into their houses. The police force shall arrest anyone who stays outside except Hobos.
!unlockdown #This removes the lock down.
!lottery #This command begins a lottery asking players if they want to participate for $50. The winner gets all the money from other players' participation. The lottery lasts for 45 seconds.


>Hunger System
The hunger system is optional. Completely. I say that this is crap and it doesn't need to be added into the script, but I'll talk about it anyways.

A player's hunger bar slowly drains over time. The player needs food. The player could buy food from the Cook, or find some at garbages.


> Jobs System
You receive a salary for each job. You can choose from a variety of jobs listed below. The jobs vary wildly in their style, as players have different tools to help them perform their specific job.
These are the class descriptions that should be included:

• Citizen
The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.

Weapons: None
Salary: 45$

• Police
The protector of every citizen that lives in the city. You have the power to arrest criminals and protect innocents. You can put them in jail. The Battering Ram can break down the door of a criminal with a warrant for his/her arrest. Type /wanted <name> to alert the public to this criminal OR go to tab and warrant someone by clicking the warrant button.

Weapons:
Knife > Arrest weapon (left-click)
Knife > Unarrest Baton (right-click)
Glock
Battering Ram (optional)
Weapon Checker (optional)

Salary: $60

• Gangster
The lowest person of crime. A gangster generally works for the Mobboss who runs the crime family. The Mobboss sets your agenda and you follow it or you might be punished.

Weapons: none
Salary: $45

• Mob Boss
The Mobboss is the boss of the criminals in the city. With his power he coordinates the gangsters and forms an efficient crime organization. He has the ability to break into houses by using a lockpick. The Mobboss also can unarrest you.

Extra Weapons: none
Salary: $50

• Gun Dealer
A gun dealer is the only person who can sell guns to other people. However, make sure you aren't caught selling guns that are illegal to the public. Press F4 to be able to access the buy single weapons or shipments.

Extra Weapons: none
Salary: $50

• Medic
With your medical knowledge, you heal players to proper health. Without a medic, people can not be healed.

Extra weapons: medic gun (Any pistol)
Salary: $45

• Cook(Optional)
As a cook, it is your responsibility to feed the other members of your city.

Extra weapons: None
Salary: $45

• Police Chief
The Chief is the leader of the Police unit. Coordinate the police forces to bring law to the city.

Extra weapons:
Knife > Arrest(Left-Click)
Knife > Unarrest(Right-Click)
Deagle
Weapon Checker (optional)

Salary: $75

• Mayor
The Mayor of the city creates laws to serve the greater good of the people. If you are the mayor you may create and accept warrants, and laws.

Extra weapons: Deagle
Salary: $125

• Vehicle Dealer
You are the only person who is able to buy and sell vehicles. Press "F4" to be able to access the GUI that allows you to buy vehicles.

Extra weapons: None
Salary: $45

> Custom Jobs System
This system allows server hosters to add custom jobs. Lets say that the jobs are written inside a textfile where users could be able to edit/create jobs. In my opinion, it should be like this:

1
2
3
4
5
Job_Name[name here]
Job_Description[Description here]
job_weapons[weapons here]
job_salary[salaryhere e.g. 50]
job_limit[maxnumofplayershere e.g. 7]


Payday System
This is the payday system. A player receives his salary every 5 minutes. Of course, this system is familiar with the rest of the roleplay scripts.


> Vehicles System
The title should cover it up. This is just like Mafia_Man's GMOD v9 script, where it has the vehicle system. Though, the only person who could buy and sell vehicles is the vehicle dealer.


>Death System
Once a player reaches 5-10HP(well, if you have a better way then please suggest it), the player gets wounded. He has to wait for a medic to revive him in 15 seconds. If the medic doesn't revive him quick, then he's going to die and will respawn.


> Inventory System
An inventory system is where people could store their extra items in. For example, weapons, shipments, vehicles, etc.. bought/stolen from gun dealers, vehicle dealers, or other people.

If a player dies, he loses all his items in his inventory. An graphical icon shows up, well it should look like a bag. If any player presses E on top of it, he gets access to the items of the dead player.
This shouldn't work if the player is dying. (On if he's wounded or going to spawn after 15 seconds)


> Shipment/spawn item System/Vehicle System
This is very important! It is required by the following jobs:
• Gun Dealer
• Vehicle Dealer

What is a shipment? You may be asking yourself. Well, a shipment is a group of 10 items inside one package. The gun dealer could spawn a single weapon, and a shipment of a weapon. Same with the vehicle dealer, but couldn't buy shipments of cars.

Lets talk about the gun dealer.
The gundealer is a person who sells weapons to players, but cannot sell grenades or equipments. If the gundealer wants to spawn a shipment or a weapon, it will deduct cash from him and will be stored in his/her inventory.

Alright. Now, let's talk about the vehicle dealer.
The vehicle dealer can ONLY spawn single vehicles with an amount of money deducted from his money.

Let's say that these are the cars that he could spawn:
• Ferrari
• Lamborghini
• Nisan
• Ford
• Mitsubishi
• Honda
• Toyota

They shall be stored in the vehicle dealer's inventory.

Hope this makes the shipment/item spawning/vehicle system clear.


> Bank System
Oh come on. Do I really need to explain this? You know the drill. Command's written right up there ^^^^^^^^^^^^


> Money Printer System
A money printer. A player's best friend that makes him money.

A money printer prints you money. The money printer generates money over time. Lets say $10 per second.

There should be three types of money printers. They are the following:
• Money Printer
• Professional Money Printer
• Expert Money Printer

It isn't neccessary to have a maximum of 3, you may add more if you want.

The normal Money Printer should generate $2 per second. It can generate a maximum of $1000. If a player approaches it, and presses "e" he could take the money, and the printer will regenerate until $1000.

Same goes for the Professional Money Printer, but it generates $8 per second and has a maximum of $2000. Expert Money Printer generates $17 per second and could have a maximum of $5000.

Let's give the Money Printers prices.

The normal money printer costs $2500.
The Professional Money Printer costs 6000.
The Expert Money Printer costs $13000

I know that it's pretty expensive, but once the player achieves the money printer, he'll be f*cking rich!

The money printers should also have a random life span. If their time is up, then they would overheat and then explode after 6-12 seconds with a damage of 80.

The normal money printer should last for.. about between 7-14 minutes.
The professional money printer should last for.. about between 14-30 minutes.
The Expert should last for.. about between 30m-1hr.

Oh, also, I forgot to mention that ANY player could take the money from ANY money printer.

If a player leaves the server, the money printer stays until it overheats.


> Spawn Protection System
This system enables any player that spawns to be protected for 10 seconds. Once the protection wears off, the player is vulnerable to any damage.


> Log System
The log system is used to log every single action of a player. It should log everything. Actions, what he bought, what he said, where he moved, everything. This is to ensure complete security and to be able to catch hackers or glitchers.


> Function Keys
Function keys are F2, F3, and F4.

F2 is supposed to be the configuration of a player.
F3 is... well, I'm not sure what should I assign this for.
F4 is supposed to be the GUI that allows you to buy shipments, vehicles,


> Notes
Don't forget, vehicles and shipments and weapons need to have a price. The whole point of this is that a player buys something and then sells it with a higher price to make profit.

I'm sure I explained this incorrectly. If you're interested into coding this, then please add me on Skype and I'll explain it properly.

If you have any questions, go ahead and ask below. Please, no flaming.

Oh, and also, once a player is arrested, he stays in there for 300 seconds. He also will be stripped from all weapons.

I explained this terribly. No need to mention it.
edited 6×, last 16.07.12 06:54:37 am

old Re: Script Request

J4x
User Off Offline

Quote
No one will do this for you, it's way too long, learn to script and do it yourself

old Re: Script Request

TheHamzan6
User Off Offline

Quote
user J4x has written
No one will do this for you, it's way too long, learn to script and do it yourself


I didn't make this for you to predict the future. Maybe someone will do such script, but I don't want it for me. I want someone to do it so that roleplaying would be fun again. I want someone to release it and claim it on his own, except the credits of whom brought up the ideas.

old Re: Script Request

Shiftt
User Off Offline

Quote
About the Salary's, there should be no salary lower than the citizen's, so then why people would have a job if they can get more money by doing nothing?

old Re: Script Request

TheHamzan6
User Off Offline

Quote
user Shiftt has written
About the Salary's, there should be no salary lower than the citizen's, so then why people would have a job if they can get more money by doing nothing?


True. I randomly set the amount of each job's salary. I'll fix it right away.

old Re: Script Request

TheHamzan6
User Off Offline

Quote
user Avo has written
I want to see somebody would make it.


We get it. Quit repeating the same crap all over again. Let's see someone making this script.

old Re: Script Request

loldlold123
User Off Offline

Quote
bolt pl,script is finished i just need map(i didnt opened my thread as ideas leeets make it,when i finished writing script of it,i opened it to call people to make maps for it but no one cares..)

old Re: Script Request

TheHamzan6
User Off Offline

Quote
user loldlold123 has written
bolt pl,script is finished i just need map(i didnt opened my thread as ideas leeets make it,when i finished writing script of it,i opened it to call people to make maps for it but no one cares..)


Good luck scripting this one.

old Re: Script Request

Starkkz
Moderator Off Offline

Quote
user Avo has written
I want to see somebody would make it.


I once made a kind of HL2 RP, but I didn't make any video and removed it quickly because of lots of bugs. And yes, I made it using HL2 skin designs, weapons, all that stuff.

old Re: Script Request

TheHamzan6
User Off Offline

Quote
user Avo has written
I rather would like to see the Sims .


Why are you still here? Didn't you say that you won't script this? You did. Now, get lost and never come back.
To the start Previous 1 2 3 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview