2,037 Results
I could do with an explanation on how garry's automatic workshop map downloading works. Let's say you have gm_SomeRandomMap on your server. How does the game decide what workshop entry to download? Does it download every map stored on your server? Does the server itself pac...
Bletotum Developing Reply
(but the script auto reloading will still let you test derma changes you write in code, just close and reopen your derma menu after saving)
Bletotum Developing Reply
Try another map.
Bletotum Developing Reply
[QUOTE=thelastpenguin;43342099]As I recall it uses text files to save a single number: your time played. That's allocating 4+kb of disk space (depending on ur hard drive / file system) to store about 10 chars... simply retarded.[/QUOTE] 10 characters in a text file takes u...
Bletotum Developing Reply
Any chance one of the items in the collection includes a script that runs resource.AddWorkshop? Or, have you tried turning off +host_workshop_collection; perhaps it is a script in your file directory doing this?
Bletotum Developing Reply
[QUOTE=FPtje;43337680]Are the results in yet?[/QUOTE] garry is the father!
Bletotum Developing Reply
how did zoey come up yet again also since it wasn't pointed out, there's a lovely DeleteData() function in that workshop upload
Bletotum Developing Reply
the trouble is that a designer tool won't be capable of as much as writing it yourself
Bletotum Developing Reply
What if we were given the ability to apply such apparently special shaders to entities ourselves?
Bletotum Developing Reply
Physgun initiates garry's halos, which use stencils. render.SetStencilWriteMask(255) render.SetStencilTestMask(255) I think the parameters here are like reference values, thusly making 255 an arbitrary number. Garry's halos set these to zero, so if you don't manually se...
Bletotum Developing Reply
Here's a compilation of posts I've made on the subject. [QUOTE=Bletotum;42343414] In short, what you want to be doing, inside of a hook appropriate to your task (3D go with PostDrawOpaqueRenderables, 2D go with HUDPaint): [code]Clear the stencils Enable the new stencil...
Bletotum Developing Reply
[QUOTE=oyasuna;43230077]Well then this forum has very bad morals. I've worked with hackers of video games and even they like to work on projects together. Plus, any expenses will be payed by me.[/QUOTE] Don't want to help me make something? I have the moral high ground!
Bletotum Developing Reply
It is broken. Here's my fix! [lua] local overlayingpanel = vgui.Create('DFrame') local wheeldirection, wheeldelay = 0,0 overlayingpanel:SetSize(ScrW()+100,ScrH()+100) overlayingpanel:SetPos(-50,-50) overlayingpanel:SetAlpha(0) function overlayingp...
Bletotum Developing Reply
The looping problem is obvious, but what kind of speed increase do you get from manually inserting instead of using table.insert?
Bletotum Developing Reply
Is it reasonably possible to render clientside models to render targets? If so, you could get some lovely icon effects from stenciling. [editline]15th December 2013[/editline] And that one guy made something that lets you render models into png materials by abusing spawnicon...
Bletotum Developing Reply
Pathfinding is more complicated, but making the player walk towards the pointer while you hold a button is easy. You will need CalcView for your camera. Getting the world position of the pointer is more complicated, but if you don't want pathfinding you can skip that par...
Bletotum Developing Reply
snip
Bletotum Developing Reply
How does my example above compare? To get the 30% gain, would I need to localize the function in particular before calling it in a loop, or since the module is already loaded as a local copy, is it already faster than module()/require()?
Bletotum Developing Reply
As to that discussion on lua-based modules and loading them, I prefer to go by file inclusion. incomplete example: [lua] lua/custommodules/customduplicatorreplacement.lua function MOD:Copy(ent) do stuff end lua/custommodulesloading.lua function customrequire(mod) ...
Bletotum Developing Reply
[QUOTE=benjojo;43087151]Is it directly a samba share? If so then won't it have issues being offline? Read speeds off it will suck, Writes block too? (Unless you are hosting the server on LAN or you have really fast internet ofc)[/QUOTE] It is hosted on the desktop, and ...
Bletotum Programming Reply
Do you mean you want to go ROYGBV->VBGYOR instead of ROYGBV->ROYGBV? [editline]8th December 2013[/editline] in either case you need HSVToColor
Bletotum Developing Reply
What if the server made an invisible shield entity too? It would be set to not collide with anything, but still block bullets; I'm rather sure that there is a collision group for this. The server's shield would not look as smooth as your clientside rendering, but that's why...
Bletotum Developing Reply
[QUOTE=wh1t3rabbit;43093298]A gamemode that will just be a lounge/lobby to other servers. Chill out as a ragdoll in zero gravity. [video=youtube;9Dr3z7zPins]http://www.youtube.com/watch?v=9Dr3z7zPins[/video] Kind of hard to see but around 1.45 I'm changing the ragdolls fac...
Bletotum Developing Reply
Browse to your workshop addon in steam and click add to collection, under the media, right of the thumbs up and thumbs down icons. After it is in a collection, browse to that collection of your workshop and use that link id with +host_workshop_collection, which is a command li...
Bletotum Developing Reply
I'm not sure this counts to post here, but I set up a server on my unused desktop computer, put its folders on my local network, and edited the windows registry/made a batch file so I can right click->copy public link files in it. [vid]http://foxcock.me/web/ffvideo/2013_12_...
Bletotum Programming Reply
why do you keep using this thread for all of your questions?
Bletotum Developing Reply
render a dmodelpanel in the 3d2d on the box
Bletotum Developing Reply
If you want to simply give the melon velocity towards the hit position, melon:SetVelocity((melon:GetPos()-targetposition)*force) SetVelocity sets the directional vector relative to the entity's current position, so you don't want to just throw targetposition in there alone....
Bletotum Developing Reply
Model animation for the debris? [editline]28th November 2013[/editline] that is an excellent interior what about players standing in the hole-zone?
Bletotum Developing Reply
function SWEP:Initialize() not SWEP.Initialize all the : does is make the first argument 'go away', and be referenced by self SWEP:Initialize() is the equivalent of SWEP.Initialize(self)
Bletotum Developing Reply
Number generation and timers work the same serverside, so I'm not sure what you're asking. Networking?
Bletotum Developing Reply
isn't it obvious? check if station is valid first [editline]19th November 2013[/editline] before trying to play it
Bletotum Developing Reply
Use sv_kickerrornum 0 regardless; it is just silly not to. What was the actual lua error? The game won't kick you for timing out on an audio connection.
Bletotum Developing Reply
As to why doing it OP's way didn't work, I believe the callback function is loaded so it can set various sound settings, and then after that it starts the channel. So what he did was stop the channel, which was then started, so it seemed like it did nothing.
Bletotum Developing Reply
As BlackMadd is pointing out, making money off of works that rely on another work of a particular nature existing (meaning modifying a particular gamemode/script, not making a RP from scratch relying on the genre existing), rightfully owes the original creator [i]something[/i]...
Bletotum Developing Reply
For a start, the playerWanted hook (assuming that capitalization is correct) would surely be using a player as the argument instead of the player's name? So umsg.String(criminal) might need replacing with umsg.String(criminal:Nick()), but I could be wrong, I don't know in what...
Bletotum Developing Reply
I don't mean to be that guy that goes 'wow why are you using X, use Y' instead of answering the question, but I suppose I am. Why not use net messages? I'll just assume you don't know about them/how to use them. To use a net message, you first need to run this on the ser...
Bletotum Developing Reply
You said it shows as an error. A missing texture doesn't make it say error, that's a missing model.
Bletotum Help & Support Reply
garrysmod/downloads is just so that you don't get your main directories clogged with server trash
Bletotum Help & Support Reply
Does it say it is downloading them [i]every[/i] time you conect? If so, the fastdl is failing. It has nothing to do with the code by this point; your fastdl file mirror isn't working right and you should ask your server provider about it.
Bletotum Help & Support Reply
As quoted from the old wiki: [quote]garrysmod/ is the root folder. The capitalization of the path must match the actual path. For convenience, this function will automatically add any other files that are related to the selected one, and throw an error if it can't find th...
Bletotum Help & Support Reply
[QUOTE=chamu6or;42884014][I]How to get avatar and nickname of connecting player?[/I] /Solved[/QUOTE] it's just the worst when someone asks for a public solution to a question, figures it out, and doesn't post it i've ran into countless troubles searching for programming...
Bletotum Developing Reply
That's the coolest. You could have them separate upon strong impacts too.
Bletotum Developing Reply
Stencils work the same for this as in that. Draw your circle onto the stencil to some reference value, set the comparison function to only allow that value, then draw the model. You'll probably need to edit the drawing function of your dmodelpanel.
Bletotum Developing Reply
[QUOTE=Robotboy655;42869385]Good Job. [url]http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers[/url][/QUOTE] why are you always being so aggressive he went further than that tutorial shows [editline]15th November 2013[/editline] is this angst or what
Bletotum Developing Reply
You can also automate the resource.AddWorkshop to add anything in your collection so that you can manage your server contents entirely via steam. [editline]15th November 2013[/editline] [url]http://facepunch.com/showthread.php?t=1298882&p=41831591&viewfull=1#post41831591[/url]
Bletotum Developing Reply
[QUOTE=Kogitsune;42844416] But if you want to make it happen on only certain bodies of water, it becomes more complicated and will likely involve recompiling the map.[/QUOTE] Or check if the player is within a coordinate range. Perhaps go all out and get the vertex loc...
Bletotum Developing Reply
[QUOTE=CallMePyro;42827035]I greatly appreciate everyone who replies to my threads when I ask for help, but I think that's actually the dumbest thing I've heard all weekend.[/QUOTE] Couldn't agree more. Everyone knows you need to attempt to join anyway incase the server...
Bletotum Developing Reply
That didn't answer any of my questions :/ Could I transfer my existing paid server to a linux option and get the price reduction? If so, do you have a New York server available for linux? Do you offer minecraft servers?
Bletotum Garry's Mod General Reply
[QUOTE=darksoul69;42774355]If anyone's interested, [URL="https://www.elpishost.com/clients/index.php?/cart/&step=3"]here[/URL] is a Linux special on that new E3-1275 V3 for $16/month at 24 slots.[/QUOTE] says 18$ on my end 14base - 4 linux special + 7.95 for 24 slot st...
Bletotum Garry's Mod General Reply
don't put your name into the title
Bletotum Garry's Mod General Reply
If you want to offset the position by some amount from a target position for some reason besides the bug that Ghost_Sailor just explained how to properly solve, I'd go with creating an angle to represent which direction to move in from current position to target position, and ...
Bletotum Developing Reply
Click the number shown beside the slider. It doesn't have any visual cues, but you can type in custom values.
Bletotum Garry's Mod General Reply
It looks cleaner when you want to go edit the tag. It is also more extensible, for instance if the tag value can change, for similar name-checking purposes.
Bletotum Developing Reply
Yeah, the player would only have to have some weird thing in the name to mess up sub. "_[GG]SuperCoolKidXX0_" [editline]2nd November 2013[/editline] simply local tag = "[GG]" if string.find(string.lower(ply:Nick()),string.lower(tag),1,true) then blah end will work ...
Bletotum Developing Reply
thread drowning Anyone?
Bletotum Developing Reply
[QUOTE=-TC- | Leaf;42690363] Someone with a low pay expectancy. (I am willing to pay you for your work. However, I am planning to run a server, keep that in mind please.[/QUOTE] To all prospective employees: We here at Budget Incorporated require [i]skill[/i] and [i]ex...
Bletotum Developing Reply
have your questions be a table {questionstring,{answerstring1,answerstring2}} use string.Explode to separate each part of each acceptable answer into a table of these parts by the space character devil may cry becomes {"devil","may","cry"} develop another possible automa...
Bletotum Addons Reply
generate questions and answers from wikipedia [editline]28th October 2013[/editline] answer acronym detector for example, answer: devil may cry another accepted answer: dmc
Bletotum Addons Reply
I can use PhysicsSimulate fine to modify an object's velocity, but I do not want this effect added ontop of the default physics. This is why MOVETYPE_CUSTOM exists. The problem is that when I use movetype_custom, nothing I do makes my entity move. The physics object is indeed ...
Bletotum Developing Reply
Movetype_custom and PhysicsSimulate
Bletotum Developing Thread
I believe lots of CS:S maps used a trigger entity that lays just under the top of the platforms across the entire surface to bhop across. This entity teleports the player upon contact, so all the platform has to do is sink while players are on it. [editline]27th October 2013[...
Bletotum Developing Reply
Didn't sassilization do this in their lobby?
Bletotum Developing Reply
I think it is wholly appropriate to point out the way you are making yourself appear, which if true would make you undeserving of our efforts.
Bletotum Developing Reply
[QUOTE=thekiller123;42635751]Don't like to swear on public forums.[/QUOTE] you still meant the word shit it is still swearing
Bletotum Addons Reply
that's a lovely run-on sentence you've got there You seem to want some spoonfed code for your server rather than to learn anything.
Bletotum Developing Reply
So long as the inventory table keeps only net-safe data types (for instance, not functions), the entire table can be transferred to the client upon joining. The inventory data could potentially get rather large with complexity, especially that of nested inventories, so you wil...
Bletotum Developing Reply
[img]http://i.imgur.com/NqItrVB.png[/img]
Bletotum Developing Reply
I don't think you know what arrogant means. As stated, the problem isn't him trying to learn, but missing a thread that at the time was on the front page. You're turning this into something it isn't.
Bletotum Developing Reply
ohhhh so that's why the physics of the props work [editline]24th October 2013[/editline] Now make one of those eye-buttons that uncurves it. I bet Nintendo did the same thing you're doing, with two models. (you don't get to actually see the corridor straighten out, it ...
Bletotum Developing Reply
That is very clever. So what about the player? How does the player go along the twist?
Bletotum Developing Reply
[QUOTE=TheCloak;42626304]Why so much hostility towards people trying to learn?[/QUOTE] you don't get a free pass to be lazy and not look at the other threads just because you're new
Bletotum Developing Reply
[QUOTE=LinkTwilight;42618474]I'm working on a corridor like the one in Ocarina of Time. [video=youtube;lPDzWB_kxTg]http://www.youtube.com/watch?v=lPDzWB_kxTg[/video][/QUOTE] Simulated gravity via force application to the surface normal alongside player angle magic, or som...
Bletotum Developing Reply
Stencils. [url]http://facepunch.com/showthread.php?t=1260809&p=42343414&highlight=#post42343414[/url] [url]http://facepunch.com/showthread.php?t=1257350&p=40080246#post40080246[/url] (scroll through my whole post) That should be all you need to know, with examples. [...
Bletotum Developing Reply
Why would you want your admins to essentially cheat at the game?
Bletotum Developing Reply
I'd get the gui.ScreenToVector of both onscreen square corners and use ents.FindInBox with a box slightly larger than the one you create with the two world vectors (in case the terrain is uneven and the entity's positional vector is at the foot). [editline]20th October 2013[/...
Bletotum Developing Reply
A vertical bar on the far left is too inconvenient. A number or number+corner health representation shape would be better. I'm also not keen on bars as health representation at all, really. I'm more of a quarter-circle-around-a-number sort of guy. Or a number in a square. O...
Bletotum Developing Reply
holy gorgeous batman
Bletotum Developing Reply
From the description, it sounds like it does this: [lua] thing_you_clicked:SetAngles(other_thing_you_clicked:GetAngles()+custom_offset) [/lua] I'm not sure why anyone would need this while building, given that you should always start building in one of the 45 degree sn...
Bletotum Addons Reply
Choose your prop
Bletotum Developing Reply
In lua this is referred to as a function. You define a function like this: [lua] function your_function_name(arguments) code goes here end [/lua] You run your function like this: [lua] your_function_name(arguments) [/lua] In this example, I add a functio...
Bletotum Developing Reply
A ball socket constraint with full angle allowance, no dampening, and disabled collision between your entity and the world will also work. You could do this back in sandbox GM12 when we had the advanced ballsocket tool.
Bletotum Developing Reply
While we're speculating features... If you're going to finish that gamemode, and want inventory consumables of some sort from a shop, you might have one that emits an enemy-repelling radius around your body for a few seconds if you die with the flag. [editline]11th October...
Bletotum Developing Reply
It works rather well in Chivalry, but in Chivalry you can't rapidly shoot the flag carrier.
Bletotum Developing Reply
Don't forget about server operators who just want to look ~different~. I've seen a few examples of shitty UI for that sake.
Bletotum Developing Reply
If you used adsense you could be naughty and just open the webpage invisibly, so that nobody even knows it is there.
Bletotum Developing Reply
That doesn't mean you need to react so negatively to a broader and more adaptable solution. [editline]8th October 2013[/editline] Variety in answers should always be welcome so long as they provide different ups and downs.
Bletotum Developing Reply
[QUOTE=Robotboy655;42451109]That's completely dumb, the best way to do it is to use the hook I posted or the hook Busan1 posted.[/QUOTE] No need to be a jerk; I was providing an option that would work for any key. Your solutions are no good if OP decides to use a different...
Bletotum Developing Reply
You can check if a key is down with input.IsKeyDown, but that isn't a good solution for finding the moment you start pressing it only. You can monitor the status of the desired key in this way to determine when it starts and stops being pressed.
Bletotum Developing Reply
It would be lovely if everyone used either 'lower.caseonly' or 'Upper.CasingEverything', rather than these pointless combinations. Not that conforming to the lua standard is bad, but that it should have been uniform to something in the first place.
Bletotum Developing Reply
I don't know how VAC works. If I were trying to get details on that I'd be asking for specifics. You are rude to assume that I'm trying to do anything stupid; I just want to know the general layout of VAC rules to play safe.
Bletotum Developing Reply
Any information on what not to do in module creation that would anger VAC, if it were enabled, would be great.
Bletotum Developing Reply
there is a catch or you would just upload it someplace and give the link out/workshop
Bletotum Developing Reply
forget the elseif you added, the else was fine you forgot the () on the end of one of your 'LocalPlayer's
Bletotum Developing Reply
I have no idea what you mean. Button/remove function?
Bletotum Developing Reply
Now make that the actual camera handling and make sure the weapon fires in such a direction, as a DM-with-a-twist.
Bletotum Developing Reply
Thanks for the information. What should I avoid doing so that I don't accidentally get myself VAC banned? Any particular fields of study volatile? Or is it only when you edit the game memory or something like that? Basically, you'd have to do something obvious, I hope?
Bletotum Developing Reply
Some information on stacks, such as why you use -2 to add the function's name would be wonderful. [quote="tutorial by OP"]GMOD_MODULE_OPEN() { LUA->PushSpecial( GarrysMod::Lua::SPECIAL_GLOB ); // Push the global table LUA->PushCFunction( MyFirstFunction ); /...
Bletotum Developing Reply
So I've done this, which removes the problem; was this the correct solution? [img]http://i.imgur.com/ZPXEBsj.png[/img] If so, please add it to the tutorial so nobody else gets tripped up here.
Bletotum Developing Reply
[img]http://i.imgur.com/sCkuHBj.png[/img] [img]http://i.imgur.com/VTOYkOD.png[/img] [img]http://i.imgur.com/vacN02m.png[/img] [img]http://i.imgur.com/bzDq27d.png[/img] What am I not doing? [editline]5th October 2013[/editline] [img]http://i.imgur.com/w3vz7pf.png[/img] ...
Bletotum Developing Reply