CakeScript - A Brand New Roleplay Gamemode (It can be any kind, too!)
288 replies, posted
CakeScript is a new modular, pluggable, general roleplaying script (and/or gamemode, in technical terms).
[release][b][u]Generic Coding[/u][/b]
All presently released/leaked gamemodes (original copies) were designed for one RP in mind, making it a tedious task to change it for your personal needs. While people may have somewhat accomplished changing TacoScript for things like Real Life RP and Stalker RP in the past, it was never very stable and it took some time to do it.
CakeScript will be a [u]general[/u] roleplaying script that can be modified by the use of plugins, explained in a later section.[/release][release][b][u]The ID Card - Not Implemented (into a swep)[/u][/b]
Pull out a SWEP and see your personal details on the card that you are holding. No more HUD, instead your information will be displayed on the front of an ID card by using the 'Toolgun Technology'. As seen in Sandbox, when you pull out your toolgun, it will scroll the STOOL name on it. Same rules apply, instead it is your character info.
[b][u]Personal Wristwatch - Not Implemented (into a swep)[/u][/b]
Enhanced with Foszor's Day/Night script, the server will have it's own time and date, of which can be seen on yet another SWEP, except it's a wristwatch. The server progresses by a 'server' minute, and will progress hours, days, months, and years. The timescale is also changeable, and I have calculated that 0 is a server minute per frame, 30 is a real second for a server minute, and every extra 30 is one extra real second per server minute. Cut 30 in half and it's one real second for two server minutes.
[b][u]Realistic Death[/u][/b]
Having a good RP, and you get loaded with a few bullets by the local SWAT team and suddenly your in that good old train station yet again? Well, in CakeScript you won't instantly die. You'll turn into a ragdoll, look through the eyes of that ragdoll, and be able to talk. Eventually you will die (there's a meter showing the progress of your death), but there's some time to say your goodbyes or for a teammate to save your life once you're down. Don't worry, you can give up and just type !acceptdeath to respawn. Another factor to this is that your body will stay there to be taken away, but if someone doesn't get your body you'll eventually rot/decay progressively.
[b][u]Typing...[/u][/b]
Sick of it when you are trying to interactively roleplay but you can't finish what you wanted to do because of your TYPING SPEED? Well, other people can now see when you are typing, as Typing... will appear over your head if the chat window is open.[/release][release][b][u]Modular and Pluggable[/u][/b]
Release your custom plugins to the community and be able to modify the gamemode functionality and roleplay. Hook into the CakeScript and gamemode functions, and modify the script to what you need it to be, or just download already-made plugins, by just throwing them into the plugins folder.
[/release][release][b][u]Doors[/u][/b]
Each team can have any number of 'Door Groups', which will enable the script to make certain doors exclusively able to be opened only by certain teams. All you have to do is fly around the map and execute rp_adddoor # while looking at doors in their open and closed positions. Any team with the specified # in their DoorGroups table will be able to open that door.
[/release][release][b][u]Credits[/u][/b]
[list]LuaBanana - Gamemode Coding[/list]
[list]Foszor - Day/Night Script[/list]
[list]Rick Darkoliono - NPC Animations[/list]
[list]FacePunch Community - Ideas, support, etc[/list]
[/release]
[release][b][u]An Example of a Roleplay Scheme[/u][/b]
[lua]
-- RLRP CakeScript Plugin
PLUGIN.Name = "Real Life RP"
if(SERVER) then
-- Create RLRP teams
CAKE.AddTeam("Police", Color(0, 0, 255, 255), true, "models/humans/group03/", true, {"weapon_glock"}, {}, "police", "1");
CAKE.AddTeam("SWAT", Color(0, 0, 255, 255), true, "models/police.mdl", false, {"weapon_glock", "weapon_mp5"}, {}, "swat", "1");
-- Add selectable characters
CAKE.AddModels({"models/humans/group01/male_01.mdl",
"models/humans/group01/male_02.mdl",
"models/humans/group01/male_03.mdl",
"models/humans/group01/male_04.mdl",
"models/humans/group01/male_06.mdl",
"models/humans/group01/male_07.mdl",
"models/humans/group01/male_08.mdl",
"models/humans/group01/male_09.mdl",
"models/humans/group02/male_01.mdl",
"models/humans/group02/male_02.mdl",
"models/humans/group02/male_03.mdl",
"models/humans/group02/male_04.mdl",
"models/humans/group02/male_06.mdl",
"models/humans/group02/male_07.mdl",
"models/humans/group02/male_08.mdl",
"models/humans/group02/male_09.mdl",
"models/humans/group01/female_01.mdl",
"models/humans/group01/female_02.mdl",
"models/humans/group01/female_03.mdl",
"models/humans/group01/female_04.mdl",
"models/humans/group01/female_06.mdl",
"models/humans/group01/female_07.mdl",
"models/humans/group02/female_01.mdl",
"models/humans/group02/female_02.mdl",
"models/humans/group02/female_03.mdl",
"models/humans/group02/female_04.mdl",
"models/humans/group02/female_06.mdl",
"models/humans/group02/female_07.mdl"});
end
[/lua]
The above is the default plugin for the Real Life Roleplay schematic (Very basic, but proof of concept.)
[lua]
CAKE.AddTeam(string TeamName, color Color, boolean DefaultModel, string DefaultModelPath, boolean PartialModel, table Weapons, table Ammo, string FlagKey, table DoorGroups);
[/lua]
The above is the team adding function.
[lua]
Teams[1] = {};
Teams[1]["name"] = "Citizen"; -- Team Name
Teams[1]["color"] = Color( 0, 255, 0, 255 ); -- Team Color, will show up when someone is talking in OOC/when you look at them.
Teams[1]["DefaultModel"] = false; -- Do they have a default model that they get when they spawn?
Teams[1]["DefaultModelPath"] = ""; -- What's the path to their default model?
Teams[1]["PartialModel"] = false; -- Is their model path PARTIAL?
Teams[1]["Weapons"] = {}; -- What weapons do they spawn with?
Teams[1]["Ammo"] = {}; -- What ammo do they spawn with?
Teams[1]["FlagKey"] = "citizen"; -- What flag key is used when using rp_flag?
Teams[1]["DoorGroup"] = {}; -- What doors can they open?
[/lua]
is the equivalent of..
[lua]
CAKE.AddTeam("Citizen", Color( 0, 255, 0, 255 ), false, "", false, {}, {}, "citizen", {});
[/lua]
Whereas
[lua]
Teams[1] = {};
Teams[1]["name"] = "SWAT"; -- Team Name
Teams[1]["color"] = Color(0, 0, 255, 255); -- Team Color, will show up when someone is talking in OOC/when you look at them.
Teams[1]["DefaultModel"] = true; -- Do they have a default model that they get when they spawn?
Teams[1]["DefaultModelPath"] = "models/police.mdl"; -- What's the path to their default model?
Teams[1]["PartialModel"] = false; -- Is their model path PARTIAL?
Teams[1]["Weapons"] = {"weapon_glock", "weapon_mp5"}; -- What weapons do they spawn with?
Teams[1]["Ammo"] = {}; -- What ammo do they spawn with?
Teams[1]["FlagKey"] = "swat"; -- What flag key is used when using rp_flag?
Teams[1]["DoorGroup"] = {1}; -- What doors can they open?
[/lua]
is the equivalent of..
[lua]
CAKE.AddTeam("SWAT", Color(0, 0, 255, 255), true, "models/police.mdl", false, {"weapon_glock", "weapon_mp5"}, {}, "swat", {1});
[/lua]
This
[lua]
Teams[2] = {};
Teams[2]["name"] = "United Militia"; -- Team Name
Teams[2]["color"] = Color( 255, 0, 0, 255 ); -- Team Color, will show up when someone is talking in OOC/when you look at them.
Teams[2]["DefaultModel"] = true; -- Do they have a default model that they get when they spawn?
Teams[2]["DefaultModelPath"] = "models/humans/group03/"; -- What's the path to their default model?
Teams[2]["PartialModel"] = true; -- Is their model path PARTIAL?
Teams[2]["Weapons"] = {}; -- What weapons do they spawn with?
Tea
[QUOTE=LuaBanana]I deleted the script before he had a chance. :3:[/QUOTE]
Glad to see this :), If you are looking for LUA Scripters I am happy to help.
-snip-
[QUOTE=LuaBanana]Here's the things I'd like:
[list]VGUI, HUD, and GUI designers[/list]
[list]Concept Artists for Above[/list]
[list]A server to test it on[/list]
[list]General Gamemode Coders[/list]
[list]Brainstormers and LOTS OF IDEAS![/list]
[list]Any other skills that might be useful that you have :3:[/list][/QUOTE]
I can do the following:
[list]VGUI, GUI And HUD Scripting[/list]
[list]A Dedicated Server[/list]
[list]Gamemode Coder[/list]
[list]Model And Skinning[/list]
Anyone who wants the script get hold of me ile be publically releasing this shizz :)
[b][highlight](User was banned for this post (Reason: Trolling.) [event] 47917 [/event])[/highlight][/b]
[b][highlight](User was permabanned for this post (Reason: Dickhead) [event] 48524 [/event])[/highlight][/b]
[QUOTE=BomBom]Anyone who wants the script get hold of me ile be publically releasing this shizz :)[/QUOTE]
I do not care.
-snip-
Okies then i will release it :)
[QUOTE=BomBom]Okies then i will release it :)[/QUOTE]
Dude, stop being a dick and grow up man? What is your problem?
[QUOTE=LuaBanana]'Apparently' he was going to pay me 50-100 euros a month, like he is paying Robbis_1, but I turned it down. I don't sell out my friends.[/QUOTE]
Paying you for what?
P.S. Check your Inbox :)
Well here is the link for anyone who wants it :)
*** LINK REMOVED ***
I could not give 2 shits your lose!
Yes, there's the link. Enjoy guys.
I'll be releasing a better version soon.
Also, go back to 3rd grade and learn grammar. :downs:
Whatever your lose :)
Actually I don't lose. This gains my script popularity. :)
Although, be careful guys, I don't know if he's gonna put a virus in that shit or something. Probably gonna try and discredit me.
[QUOTE=LuaBanana]'Apparently' he was going to pay me 50-100 euros a month, like he is paying Robbis_1, but I turned it down. I don't sell out my friends.[/QUOTE]
Reply on that, I can give you a nice 42 Slot Dedicated Server, Runs like a charm I have 3 people that manage it, including me. It has had up to 42 players on it once running Dark RP and the average ping was 50 or so.
[QUOTE=$SLIMSWITCH$]Dude, stop being a dick and grow up man? What is your problem?[/QUOTE]
[QUOTE=LuaBanana]Quit being a dickhead. Even if you have the script, [b]I honestly don't care[/b], because it is so simple that it's basically just a "base".
P.S. - Now who's the script stealer? :3:[/QUOTE]
Don't feed the troll and just ignore him.
[QUOTE=Elspin]Don't feed the troll and just ignore him.[/QUOTE]
Wise words mate.
[QUOTE=LuaBanana]Wise words mate.[/QUOTE]
Very Wise.
Looks quite the promising mate! Have you got a website yet? I might be able to host you and maybe build you a proper portfolio :)
I already have a site, but I do need a domain.
1.5 terabytes space, 15 terabytes bandwidth.. lots of good stuff. :D
[QUOTE=LuaBanana]I already have a site, but I do need a domain.
1.5 terabytes space, 15 terabytes bandwidth.. lots of good stuff. :D[/QUOTE]
Sounds great, I added you to Steam so perhaps you could accept my friend invite?
This is very funny considering, Jake you have been asking Administrators and Myself at Taco N' Banana for the latest version of TacoScript or the leaked version. It's also very funny because only a couple of months ago you used a leaked version of TacoScript to "create" your own Game Mode and claim it as your own code. Irony is sweet.
[b][highlight](User was banned for this post (Reason: Trolling.) [event] 47916 [/event])[/highlight][/b]
[QUOTE=LuaBanana]I already have a site, but I do need a domain.
1.5 terabytes space, 15 terabytes bandwidth.. lots of good stuff. :D[/QUOTE]
Oh cool where's your data center located? Or are you lying... I wonder which one is more likely..
By the way clean up your copy pasta please, diff kind of gives it away.
[QUOTE=pac100]Oh cool where's your data center located? Or are you lying... I wonder which one is more likely..
By the way clean up your copy pasta please, diff kind of gives it away.[/QUOTE]
Yeah, I copied some shit from my old BananaScript but for the most part it's new.
[b]Edit:[/b]
[QUOTE=eatdamuffin]This is very funny considering, Jake you have been asking Administrators and Myself at Taco N' Banana for the latest version of TacoScript or the leaked version. It's also very funny because only a couple of months ago you used a leaked version of TacoScript to "create" your own Game Mode and claim it as your own code. Irony is sweet.[/QUOTE]
Actually, theres quite an explanation for that one. Yes, I was asking for the latest. But not for this. I asked for it because originally me and Starce were going to start a STALKER RP server, and we wanted the latest tacoscript. Eventually I decided to just make my own script, and now I decided to release it.
I'm not going to go into depth on your second comment, but I did state that half the code was Rick's (Basically ALL clientside) and half was mine (Almost all serverside), when I was making BananaScript.
[b]Edit:[/b]
[QUOTE=pac100]Oh cool where's your data center located? Or are you lying... I wonder which one is more likely..
By the way clean up your copy pasta please, diff kind of gives it away.[/QUOTE]
[url]http://www.bluehost.com[/url] :)
[QUOTE=LuaBanana]Yeah, I copied some shit from my old BananaScript but for the most part it's new.
[b]Edit:[/b]
Actually, theres quite an explanation for that one. Yes, I was asking for the latest. But not for this. I asked for it because originally me and Starce were going to start a STALKER RP server, and we wanted the latest tacoscript. Eventually I decided to just make my own script, and now I decided to release it.
I'm not going to go into depth on your second comment, but I did state that half the code was Rick's (Basically ALL clientside) and half was mine (Almost all serverside), when I was making BananaScript.
[b]Edit:[/b]
[url]http://www.bluehost.com[/url] :)[/QUOTE]
Bannanascript = Old Leaked TacoScript, so if your using Bananascript code your using TacoScript code.