• Tiramisu 2 - Beautfiul, Featured, Free
    1,147 replies, posted
[img]http://puu.sh/t3cK[/img] I see prices just fine and the price I set in the item applies to that, too. Oh, and it takes my money.
Any sort of update on the progress of Castella?
There's no release date for Castella, mind you. Just this year, I'm going to an international programming contest, I'm going to the SIGGRAPH conference, and I have pretty strong college work. I'll try to get the most done but as long as it doesn't mess with my schedule.
Where do you go to edit businesses?
In every item there is ITEM.Price, to edit the prices, but I'm not sure about how to add different menus and stuff.
They have a category for black market, general, medical, I searched those 3 terms in each lua file, I could not find it. Which is kinda odd.
[QUOTE=Peach;35962052]They have a category for black market, general, medical, I searched those 3 terms in each lua file, I could not find it. Which is kinda odd.[/QUOTE] Should be in cl_business.lua inside gamemode\schemas\global\plugins\business.
[QUOTE=Gordy H.;35962577]Should be in cl_business.lua inside gamemode\schemas\global\plugins\business.[/QUOTE] Thanks man. <3
[QUOTE=Peach;35962052]They have a category for black market, general, medical, I searched those 3 terms in each lua file, I could not find it. Which is kinda odd.[/QUOTE] In the item files, you'll find ITEM.ItemGroup = 1 This is your category. 1 is general, 2 is black market, 3 is medical. Unless you change the names, as a-cookie had. I'm still having an issue where I can't promote people who are in groups. It automatically promotes them to the highest rank if I try. Does anyone have this problem, or a solution to it?
If you look in cl_business.lua you get things like [lua]BusinessLevels[1] = {} BusinessLevels[1].Name = "Ally Supplies" BusinessLevels[1].Desc = "Alright, let's get some supplies down." BusinessLevels[1].Icon = "gui/silkicons/allies" [/lua] Just an example. The level there is the ITEM.ItemGroup that DrStealth mentioned. You can edit the BusinessLevels or do your own in order to have different business tabs.
Alright, I give up on trying to fix the group promotion myself. Would anyone who has it working be willing to send me their groups folder, or at the least the groups.lua file?
I've been working on a Half Life 2 schema for a while now. Is anyone planning on using this for Half Life 2 Roleplay, and would like to get together for the project? Add me Cooliodude20703.
[QUOTE=Guitarninja;36006810]I've been working on a Half Life 2 schema for a while now. Is anyone planning on using this for Half Life 2 Roleplay, and would like to get together for the project? Add me Cooliodude20703.[/QUOTE] What's different from the packaged HL2RP schema?
[QUOTE=DeathByKittens;36015009]What's different from the packaged HL2RP schema?[/QUOTE] Stunbatons that actually knock out, beanbag shotguns. Door busters. Death system that has the timeout while still removing weapons. Various fixes such as those. I've been working on more as well.
[QUOTE=Guitarninja;36015225]Stunbatons that actually knock out, beanbag shotguns. Door busters. Death system that has the timeout while still removing weapons. Various fixes such as those. I've been working on more as well.[/QUOTE] Sounds pretty cool. Will you be releasing it?
[QUOTE=DeathByKittens;36016032]Sounds pretty cool. Will you be releasing it?[/QUOTE] Talking to Matt now. He'll be adding it to the normal HL2 schema ;)
[QUOTE=Guitarninja;36017111]Talking to Matt now. He'll be adding it to the normal HL2 schema ;)[/QUOTE] Sweet.
[QUOTE=a-cookie;36017122]Sweet.[/QUOTE] Added punching, and a weather plugin too.
You know you guys can just do a push request on the Git, and your changes will get merged with the general branch if I approve of them.
This may sound like a stupid question. But how do you set ranks in Tiramisu 2? Like I want to set myself as owner.
the gm doesnt seem to work on gm13, after fixing all the obvious things like the File library changes it still doesnt work, for some reason it doesnt log anything to file or console although there are no more lua errors. It seems that it doesnt init the schema for some reason, has anyone gotten it working on gm13? the gm13 branch is identical to main trunk :/ Edit: Fixed it, it was the plugin loading [code] function CAKE.LoadPlugin( schema, filename ) local filename = filename or "" local path = CAKE.Name .. "/gamemode/schemas/" .. schema .. "/plugins/" .. filename local files, folders = file.Find( path .. "*", LUA_PATH ) for k, v in pairs( files ) do PLUGIN = {} if v:sub( 1, 3 ) == "cl_" then --It's a clientside file, send it to the client AddResource("lua", "schemas/" .. schema .. "/plugins/" .. filename .. v ) elseif v:sub( 1,3 ) == "sh_" then --It's a shared file, so we add it and include it serverside. AddResource("lua", "schemas/" .. schema .. "/plugins/" .. filename .. v ) CAKE.DayLog( "script.txt", "Loading Shared File: " .. schema .. "/plugins/" .. filename .. v ) include( "schemas/" .. schema .. "/plugins/" .. filename .. v ) else --It doesn't have a prefix so we default it to be serverside only CAKE.DayLog( "script.txt", "Loading Serverside File: " .. schema .. "/plugins/" .. filename .. v ) include( "schemas/" .. schema .. "/plugins/" .. filename .. v ) end table.insert( CAKE.Plugins, PLUGIN ) end for k, v in pairs( folders or {} ) do CAKE.LoadPlugin( schema, filename .. v .. "/" ) end end [/code] now to fix all the new errors that come with the plugins :/
I can't be the only person who thinks it's really sad that the fact that "free" can actually be advertised in the threads title and it makes it stand out versus other gmod gamemodes. I watched my brother toy around with this script every now and then for his little rp thing, nice work.
About to embark on creating my own schema for this. I think I'll also be making a few edits to the base gamemode for it. It'll be themed on Cyberpunk (WHAT'S DAT?! Look here: reddit.com/r/cyberpunk) and have a host of unique features. I'll post a thread about it when I have more details and some screenshots.
[QUOTE=Kamshak;36028841]the gm doesnt seem to work on gm13, after fixing all the obvious things like the File library changes it still doesnt work, for some reason it doesnt log anything to file or console although there are no more lua errors. It seems that it doesnt init the schema for some reason, has anyone gotten it working on gm13? the gm13 branch is identical to main trunk :/ Edit: Fixed it, it was the plugin loading [code] function CAKE.LoadPlugin( schema, filename ) local filename = filename or "" local path = CAKE.Name .. "/gamemode/schemas/" .. schema .. "/plugins/" .. filename local files, folders = file.Find( path .. "*", LUA_PATH ) for k, v in pairs( files ) do PLUGIN = {} if v:sub( 1, 3 ) == "cl_" then --It's a clientside file, send it to the client AddResource("lua", "schemas/" .. schema .. "/plugins/" .. filename .. v ) elseif v:sub( 1,3 ) == "sh_" then --It's a shared file, so we add it and include it serverside. AddResource("lua", "schemas/" .. schema .. "/plugins/" .. filename .. v ) CAKE.DayLog( "script.txt", "Loading Shared File: " .. schema .. "/plugins/" .. filename .. v ) include( "schemas/" .. schema .. "/plugins/" .. filename .. v ) else --It doesn't have a prefix so we default it to be serverside only CAKE.DayLog( "script.txt", "Loading Serverside File: " .. schema .. "/plugins/" .. filename .. v ) include( "schemas/" .. schema .. "/plugins/" .. filename .. v ) end table.insert( CAKE.Plugins, PLUGIN ) end for k, v in pairs( folders or {} ) do CAKE.LoadPlugin( schema, filename .. v .. "/" ) end end [/code] now to fix all the new errors that come with the plugins :/[/QUOTE] Let us know when you've got it updated for Gmod 13. I'll skip right to creating a gmod 13 schema rather than working on my current one.
[QUOTE=pilot;36028509]This may sound like a stupid question. But how do you set ranks in Tiramisu 2? Like I want to set myself as owner.[/QUOTE] I'm beginning to wonder how many times my post will have to be quoted... [QUOTE=supersnail11;35642035]I feel like we've been through this before... [QUOTE=Sappiee;35599681][B]rp_admin setrank "name here" "Administrator"[/B][/QUOTE][/QUOTE]
will do, lots of datastream replacements with net and stuff, one question: is there a reason that the business plugin is in both, global and freeform folders? It seems to be the exact same code
I see CID in the schema, but when I put it on the CID is CID:000000, am I just being stupid and putting files in the wrong place?
[QUOTE=pilot;36047215]I see CID in the schema, but when I put it on the CID is CID:000000, am I just being stupid and putting files in the wrong place?[/QUOTE] Don't put anything in it. Just type rp_setcid in console and it'll automatically generate a random number and set it as your CID.
Ok, here is a (mostly) working version for gmod13, there are still some errors in it but it runs in general [url]http://localhostr.com/files/xKUVjGZ/gm13.patch[/url]
So I'm kind of considering removing everything and starting over with a new codebase.
Sorry, you need to Log In to post a reply to this thread.