• CityScript
    183 replies, posted
Still waiting for SeriousRP. And I miss your avatar Phil.
[QUOTE=Johnny Serva;20246149]Still waiting for SeriousRP. And I miss your avatar Phil.[/QUOTE] Cool, I have code for it, I just haven't touched it for about a month Rightful avatar restored ;-)
2010-02-17 CityScript RC3 (releasing tomorrow, 17th) - Convert LocalPlayer():ConCommand() to RunConsoleCommand() - Fix ridiculously huge interest bug - Fix a namespace clash with citrus - Hide amount of tokens being picked up (can reveal token printer users) ..anything else buggy? Did I miss something? - can people make sure stunstick and unarrest sticks work please? - also, kick / ban etc
Would help if you said HOW to kick and ban people =/
Is it not self explanatory? Click the user in the scoreboard and a menu will pop up with options. Also Philxyz, There is only one more thing that is buggy. Animations. Like I've been talking to your via PM about, unless we can figure out how to fix/remove them the script becomes quite redundant. Unless you copy a snippet of taco's animation code (still buggy also) and use that as a reference.
[QUOTE=101kl;20260818]unless we can figure out how to fix/remove them the script becomes quite redundant.[/QUOTE] Only for you, it does. Do you realize just how complicated animations are? I could go on a brain surgery course, learn rocket science, and STILL not have worked out animations in the same time. Also, whatever you say, they are not crucial for gameplay. The reason animations don't work is this: There aren't any for those characters. The animations are inside Source 2007 shared models gcf. If you put those on your server, the animations will work better. They won't be perfect because I don't know how to make them perfect. I'll never understand it. It's faaaaaaaaaaaar above me. Rick Dark understands it because he is just automatically good at it. I can't "FIX" animations. I'll never fix them. Ever. Ever, ever, ever. But that depends on what you mean by fix. If you do this: 1) Get GFCScape( [url]http://nemesis.thewavelength.net/index.php?p=26[/url] ) 2) Open "source 2007 shared models.gfc", that is located on steam/steamapps 3) Extract the following files (BOTH THE .ANI AND THE .MDL) : models/humans/female_gestures models/humans/female_postures models/humans/female_shared models/humans/female_ss models/humans/male_gestures models/humans/male_postures models/humans/male_shared models/humans/male_ss models/combine_soldier_anims models/police_animations models/police_ss 4) Put them in your server's model folder, using the appropiate paths. 5) Use resource.AddFile() to make them required downloads ...then some of the animations will be fixed. It's in the README.txt maybe that is what you mean? It does use the same animations code as Tacoscript.
I see. I will test out that method shortly.
You didn't forget the bug I told you about yesterday? [b]The bug with Citrus.[/b] Please fix it. When I try to open the citrus menu only a empty menu pops up, and errors appear in the console.
Due to a family emergency, further releases are delayed until further notice.
[QUOTE=philxyz;20264654]Only for you, it does. Do you realize just how complicated animations are? I could go on a brain surgery course, learn rocket science, and STILL not have worked out animations in the same time. Also, whatever you say, they are not crucial for gameplay. The reason animations don't work is this: There aren't any for those characters. The animations are inside Source 2007 shared models gcf. If you put those on your server, the animations will work better. They won't be perfect because I don't know how to make them perfect. I'll never understand it. It's faaaaaaaaaaaar above me. Rick Dark understands it because he is just automatically good at it. I can't "FIX" animations. I'll never fix them. Ever. Ever, ever, ever. But that depends on what you mean by fix. If you do this: 1) Get GFCScape( [url]http://nemesis.thewavelength.net/index.php?p=26[/url] ) 2) Open "source 2007 shared models.gfc", that is located on steam/steamapps 3) Extract the following files (BOTH THE .ANI AND THE .MDL) : models/humans/female_gestures models/humans/female_postures models/humans/female_shared models/humans/female_ss models/humans/male_gestures models/humans/male_postures models/humans/male_shared models/humans/male_ss models/combine_soldier_anims models/police_animations models/police_ss 4) Put them in your server's model folder, using the appropiate paths. 5) Use resource.AddFile() to make them required downloads ...then some of the animations will be fixed. It's in the README.txt maybe that is what you mean? It does use the same animations code as Tacoscript.[/QUOTE] Oh, hey, it seems you're using the fixed animations I put up. [url]http://www.garrysmod.org/downloads/?a=view&id=86564[/url] for fixing any broken animations. If you're a server owner, please be kind and put this as a required download, and save your clients the displeasure of seeing their characters squat when they jump and cross their arms when they pull out a gun. Actually, the logic behind NPC animations isn't complex. The reason they're broken is that for whatever reason, Garry's Mod uses the pre Orange Box set of models holding the animations for NPCs, however, the table containing this animations, the enumeration list ( _E ) is updated to the 2007 source engine files. Source, like most modern engines use skeleton based animation. However, in the case of player models, these are just sequenced, and not dynamic like NPCs ( When an NPC walks, it's whole leg always stays on top of the surface, so for example, NPCs actually look good walking up stairs. ). The NPC animation system only sets your player model to an NPC model, and makes it run the NPC animations using the player skeleton. Originally, the NPC animations system that was around, the original by Rick Dark, used the actual enumeration value of the enumeration table. He didn't realize then ( Updates were more scarce, broke less crap ) that these enumeration values change every single update to allocate new animations added to either other Source games, or new ones found in the engine. I got sick of getting these numbers, and decided to do the right thing and make a little function that simply searches for the enumeration NAME, and then returns it's number, after an idea I got from a friend. It worked, so I kept with it. Hypothetically, the system works perfectly, it's this discrepancy between the table and the actual numbers of each animation on file that cause glitched animations. If you follow my instructions on file, they would begin working as they should. Trust me, I've spent two years without having to even touch that file again. Guess every Lua file has it's history, doesn't it?
[U][URL]http://www.qcranger.com/mod/CityScript-RC2.zip[/URL][/U] new mirror
Thanks tiweb, I'm currently working on fixing the Citrus bug. It is EXTREMELY frustrating. A umsg sent as "Name" arrives as "name". I'll figure it out but I need more time. Then I'll release 1.0.0
[URL]http://www.megaupload.com/?d=DIQP3FK5[/URL] Thanks for the info Big Bang and I'm glad you understand the animations since I'm not yet at that level. I could be, but it would need more of my time so I'm über grateful for your input with the animations! Here is CityScript 1.0.0 - load it up, try it out and start some RP servers.... CITRUS WARNING - It doesn't work properly. I spent all weekend trying to find out why "Name" becomes "name" over the network. Got an idea? Yes, I tried that :P Plus, even if you hack citrus to make it work, the scoreboard also has problems. My advice: Use the built-in admin mod if you can. If you do use citrus, commands need changing to "!" from "/" - here is how: [URL]http://www.facepunch.com/showthread.php?t=763746[/URL] You also (if using Citrus) need to edit "addons/citrus/lua/citrus/client/core/libraries/cl_utilities.lua " and between lines 24 and 25 add if Key == "name" then Key = "Name" end As for the scoreboard, you can get around it being in the way by tab clicking around the edge of it. Also, none of the buttons actually work in citrus either if you do the above. Actually, just don't bother with it if you can since it's very broken :-)
I found some bugs. 1. When someone die, the ragdoll of their dead body will never be auto deleted. 2. Nukes are too cheap. 3. The medics can't really heal anybody that is injured?
1) cakescript bug but I guess I could "fix" it 2) nah they're not too bad. you need 10 nuclear materials together to trigger an explosion 3) the medics can heal others with health packs as far as I know
Weren't you working on a Serious RP gamemode?
[QUOTE=Shadow_Hedgehog;20355615]Weren't you working on a Serious RP gamemode?[/QUOTE] Yes but I can do more than one thing at the same time. I was working on it last night in fact :P Also, it's not "a" Serious "RP" but rather is called "SeriousRP" Someone else has now also created a gamemode called SeriousRP (I can see it in the server list). I'm not changing the name of mine though since it has been SeriousRP since 2007. I'm also not going to make a fuss. It just won't be renamed. It's not an "I was here first" thing. It's a "it always had that name" thing. Also, "it" does exist but the reason it hasn't been finished yet is because I'm putting far more effort into quality compared with CityScript since it is 99.9% my own script and I want it to kick ass. I don't know when it will be done because I have a bit of a "situation" at the moment and it is upsetting me deeply. Because of that potentially horrible situation, I can't commit to working on it but I HOPE I can continue to do so at least for now. In a worst case scenario of that other situation occurring; I might need to drop the script at short notice and move to another continent. But if that absolute worst-case-scenario does occur, I can assure you that it would the single most massively devastating moment of my life and I'll seriously not have any more emotional energy to continue the script. If all things go to plan, SeriousRP will be released this year. If they don't go to plan, there are FAR more important things which are not related to videogames that MUST come first in my life since they are my foundation for living it.
[QUOTE=philxyz;20359047]Yes but I can do more than one thing at the same time. I was working on it last night in fact :P Also, it's not "a" Serious "RP" but rather is called "SeriousRP" Someone else has now also created a gamemode called SeriousRP (I can see it in the server list). I'm not changing the name of mine though since it has been SeriousRP since 2007. I'm also not going to make a fuss. It just won't be renamed. It's not an "I was here first" thing. It's a "it always had that name" thing. Also, "it" does exist but the reason it hasn't been finished yet is because I'm putting far more effort into quality compared with CityScript since it is 99.9% my own script and I want it to kick ass. I don't know when it will be done because I have a bit of a "situation" at the moment and it is upsetting me deeply. Because of that potentially horrible situation, I can't commit to working on it but I HOPE I can continue to do so at least for now. In a worst case scenario of that other situation occurring; I might need to drop the script at short notice and move to another continent. But if that absolute worst-case-scenario does occur, I can assure you that it would the single most massively devastating moment of my life and I'll seriously not have any more emotional energy to continue the script. If all things go to plan, SeriousRP will be released this year. If they don't go to plan, there are FAR more important things which are not related to videogames that MUST come first in my life since they are my foundation for living it.[/QUOTE] Hello philxyz, you know that "SeriousRP" server you saw, its mine (83.222.235.40:27015). Its edited RadiationScript and we remaked it to HL2RP, we had it 13 months untill now but now im tierd of HL2RP and im making a new gamemode called NewHavenRP , we also making a map to this gamemode. We trying to make this gamemode kinda like Mass Effect 2, EPIC :D [URL]http://xhosters.wiki-site.com/index.php/Main_Page[/URL] [URL]http://forum.x-hosters.com/[/URL]
Hey Tokiz, that sounds pretty good, I'll check it out some time :D
Great. Just as animations are explained I am not at home and only have my iPhone with me. Guess I'll just have to wait for another week till I am home. :( Anyway the new release lookin great. Good luck with whatever is happening in your life philxyz, you diserve it.
Any servers running this yet ?
[QUOTE=philxyz;20359047]If they don't go to plan, there are FAR more important things which are not related to videogames that MUST come first in my life since they are my foundation for living it.[/QUOTE] Like eating? Anyway good luck to you with your problem and the script, hope it gets finished :)
Well folks, I'm much happier now since the problem has thankfully gone away! Thanks for the support/patience while that issue was resolved. I'm back on with developing. - CityScript (various fixes, please continue to test :P!) - Bank Mod (adds banker class and a simple version of Starbank to DarkRP with a facility to alert the authorities to debtors etc) (2 or 3 evenings of coding) - Vehicle Items for Cityscript to include the latest sickness vehicles (1 evening to make) - SeriousRP (currently removing a few slash commands and making them rp_* commands since it will be mostly GUI based anyway)
[QUOTE=philxyz;20411470]Well folks, I'm much happier now since the problem has thankfully gone away! Thanks for the support/patience while that issue was resolved. I'm back on with developing. - CityScript (various fixes, please continue to test :P!) - Bank Mod (adds banker class and a simple version of Starbank to DarkRP with a facility to alert the authorities to debtors etc) (2 or 3 evenings of coding) - Vehicle Items for Cityscript to include the latest sickness vehicles (1 evening to make) - SeriousRP (currently removing a few slash commands and making them rp_* commands since it will be mostly GUI based anyway)[/QUOTE] Also add a radio item so if they have this item in their backpack they can "Use" it then a radio frequense textbox suff will popup so you can set the frequense and talk to otherz on the same frequenze!!! :d
I think cityscript has a text radio... nice idea though, I might consider that!
I seem to be having problems with the script. When I go in-game, it takes me to the character creation menu, when I click select model it gives me a LUA error (Not sure what it is right now, as I'm not on my main computer) and a little box pops up with only an "x" in it. Any idea what could cause this?
Sweet! Is there a way to set your money like in DarkRP? It might be something I might want to host on my server, although I can't help but wonder if there'd be much point seeing as how it's only 16 slots, but I figure it would at least be fun to try it.
[QUOTE=kool aid;20430877]I seem to be having problems with the script. When I go in-game, it takes me to the character creation menu, when I click select model it gives me a LUA error (Not sure what it is right now, as I'm not on my main computer) and a little box pops up with only an "x" in it. Any idea what could cause this?[/QUOTE] Make sure you have version 1.0.0 because there is a problem with this happening on older versions. If you are on 1.0.0, please do let me know what the error says when you can. [QUOTE=TheNerdPest14;20432975]Sweet! Is there a way to set your money like in DarkRP? It might be something I might want to host on my server, although I can't help but wonder if there'd be much point seeing as how it's only 16 slots, but I figure it would at least be fun to try it.[/QUOTE] rp_admin setmoney player amount
Every time I try to spawn an item, it says You cannot purchase this item! Any reason why it is saying this? Edit: Also, how do I get rid of the combo fist? (Too many RDM) Edit2: Cardealer limit is 0, How do I make it higher? Edit3: Okay, so I just noticed, when people change there job, their association is the same as default. >_> Edit4: Lol another bug, While driving cars, people go in T-pose
[QUOTE=Mattehs;20439156]how do I get rid of the combo fist? (Too many RDM)[/QUOTE] Learn to basic lua. Seriously, that is so simple its ridiculous. [QUOTE=Mattehs;20439156]Cardealer limit is 0, How do I make it higher?[/QUOTE] Look in configuration.lua ? [QUOTE=Mattehs;20439156]Lol another bug, While driving cars, people go in T-pose[/QUOTE] Lol not a bug, has nothing todo with the gamemode. Good to see your back on it philxyz. And on another note, would you like some permanent mirrors with no waiting time etc?
Sorry, you need to Log In to post a reply to this thread.