I have found out how to extend the range and disable the remove function all together with a edit of one line's amount in the sv_extended_context.lua find this line using control f "for those who do not know". ()):Length() - ply.TraceStartLength) > 500) then . then edit the 500 to whatever you wish this changes the distance that it considers something as a throw away so if one wishes to disable it put it Over nine Thousand i doubt you can throw that far
Even better would be if you delete this code:
[lua]
timer.Simple(2, function()
if (ent && ent:IsValid() && ((ply:GetPos() - ent:GetPos()):Length() - ply.TraceStartLength) > 500) then
local ed = EffectData()
ed:SetEntity(ent)
util.Effect("entity_remove", ed, true, true)
timer.Simple(0.1, function()
if (ent && ent:IsValid()) then
ent:Remove()
end
end)
end
end)[/lua]
But your method kinda works :)
I changed something in my script so you can pick up everything(any unknown entity is just picked up)
Which had the result I could pick up players.
And I threw one away :excited: haha he got removed :v:
So I changed it to anything but the player.
Request:
Make it able to do stuff with the right mouse. Like left mouse on a vehicle is move the vehicle and right click is get in. Left click on an NPC is kill the npc and right click is special stuff like on the hunter/scanner and other npcs.
A suggestion: instead of just returning for lines 193 and 194 (what happens if the entity's case isn't taken care of), call ent:GetTable():Use(). If it's a SENT, it will call the default use method made for it.
[QUOTE=Sippeangelo]Thanks mikfoz.
Now, back on topic.
So far I will add this in the next version:
* Adding prop protection support [done]
* Making some features admin-only [done]
* Cvar configurations [done]
* Lock/unlock vehicles for admins [done]
* Fix the stargate iris not working
* "Coder API" thingy for adding their own actions
* If the code does not exist on the server, make the client still able to use their physgun (I hope to cooperate with Hemuli if he wants to?)
* Fixing not being able to turn thrusters on/off [done]
* Context menu not showing up when pressing C [fixed]
* Fix ring transporters [fixed]
* Fix error when clicking skybox [fixed]
Something more to add?[/QUOTE]
Good on you for keeping on working on it through the shitstorm that got brewed up. People can get jealous of unique ideas. Great script.
[QUOTE=Street_Wolf]Is there any chance of this getting updates with more features? Maybe even an SVN? :D
It would be cool if we could eventually get context menus for most things by, say, holding C, right-clicking something to cycle through options for it, and left click it to use that option.[/QUOTE]
I had that in older versions. You right click and it brings up a menu (Like when you right click in Windows) where you can choose the options. I never go enough options for every thing though, and it ended up with only one option on the menu for most things. So I scrapped that idea. Might come back in further versions though.
[b]Edit:[/b]
[QUOTE=FPtje]Make it able to do stuff with the right mouse. Like left mouse on a vehicle is move the vehicle and right click is get in. Left click on an NPC is kill the npc and right click is special stuff like on the hunter/scanner and other npcs.[/QUOTE]
I think I will make something like that. Left click and you move around the entity, right click brings up a menu with actions.
Will delay the release date of the next update a bit though.
This kind of thing really needs a way to disable/enable it in the console.
This requires SVN release.
Please?
What is SVN? I've heard it everywhere.
It's where you put your files on a server, and download them with a special program that makes two additional copies of what you downloaded, tripling its size.
It's useful for something that is expected to update often, like wire or PHX3 or whatever else.
Ah, like the stargate thingy I have? Nice.
[QUOTE=Sippeangelo]Will delay the release date of the next update a bit though.[/QUOTE]
That's ok :D
It's an awesome mod. :D
[QUOTE=Sippeangelo]I'll fix this in the next version probably released soon. Thanks for the info![/QUOTE]
Did I do something wrong? It won't work. :(
Also, I was thinking you could make it more like a metroid prime 3/wii type of moving and scrolling. maybe even later on make a special release for a wii mod version. :)
As in, wii on computer. Requires bluetooth, sensor bar, wiimote, and nunchuk
Nevermind, sorry, I figured out now. It, for me was CTRL
Lol with my modified version you can kill players with a mouse click(as admin) :v:
[b]Edit:[/b]
Request:
throw away removal toggle-able with a concommand.
[B]Do someone have a touch screen or a TabletPC that can run GMod?[/B]
I would really like to see this mod tested on a touch screen. I imagine it would be very cool moving around props and pressing buttons only using your fingers. If you have one, please record a movie where you are using this addon on your touch screen and post it here. It would be really appreciated!
[QUOTE=Kogitsune]It's where you put your files on a server, and download them with a special program that makes two additional copies of what you downloaded, tripling its size.[/QUOTE]
This statement alone makes me wish I had a signature with which to have quotes...
ON-TOPIC: This is pretty fun. Good job. A slightly less powerful version for non-admins might make it a safer bet for public server.
[QUOTE=Devenger]This statement alone makes me wish I had a signature with which to have quotes...
ON-TOPIC: This is pretty fun. Good job. A slightly less powerful version for non-admins might make it a safer bet for public server.[/QUOTE]
Yea, like removing the button pressing. Minges probably would love to suit zoom and press someone's button from a map away.
[QUOTE=av3nger3]Yea, like removing the button pressing. Minges probably would love to suit zoom and press someone's button from a map away.[/QUOTE]
Just like they could run there and press it with the E button themselves.
This awesome! Now, where's the TF2 turret! Oh, you knew this question was coming.
[QUOTE=Sippeangelo]Just like they could run there and press it with the E button themselves.[/QUOTE]
At least it's more obvious who it is. You shouldn't consider your original approach consistently the only logical one - be open to new thoughts.
The "throwing away" thing ruined it. I want to be able to toss rag dolls around for fun, or props, without them disappearing on me.
[QUOTE=Bagofsheep]The "throwing away" thing ruined it. I want to be able to toss rag dolls around for fun, or props, without them disappearing on me.[/QUOTE]
I agree, I was throwing Gman through a pile of crate and corrugated iron, and I was all "WHAT THE FUCK" when he disintegrated. But I guess it could have some uses. Make a sv_ command to toggle it!
Just a thought; grabbing something that has a constraint auto remove the constraint, so that instead of having to get the remover gun out to remove something from a contraption, you can just drag it out of the place and toss it away.
Ugh, Linkin Park. Use something like a cut bit from Revolution (Daft Punk, of course), it'd fit this much more.
[QUOTE=ryno5660]What is SVN? I've heard it everywhere.[/QUOTE]
and yes also keep in mind with tripled size you get. Triple LAG if you have bad ram or pagefile
[QUOTE=bravojr]and yes also keep in mind with tripled size you get. Triple LAG if you have bad ram or pagefile[/QUOTE]
What are you talking about? Triple size?
Is this mouse control works only for the beta version? Because I install it on my Garry's Mod 10 and it didn't work
[QUOTE=Sippeangelo]What are you talking about? Triple size?[/QUOTE]
Look inside the hidden .svn folders - there are a total of two copies of every file.
[QUOTE=Kogitsune]Look inside the hidden .svn folders - there are a total of two copies of every file.[/QUOTE]
Right. But who cares? It won't delay the loading unless your hard drive is to full to handle two copies of the files.
It doesn't matter with text files, but it starts to matter with maps, models, and textures.
[QUOTE=Shibbyzz]Is this mouse control works only for the beta version? Because I install it on my Garry's Mod 10 and it didn't work[/QUOTE]
This should work with both. The only reason this might not work if you didn't install this add-on right, or if your Garry's Mod is pirated.
Sorry, you need to Log In to post a reply to this thread.