• Falco's Prop Protection questions?
    3 replies, posted
Hi, I've got a few inquiries about FPP and I was hoping someone knowledgeable, maybe even Falco himself, could help me. For starters, I need to remove the green or red label that shows 'Blocked' or 'World' on the left side of your screen each time you look at a prop. I run a serious roleplaying gamemode and this can get annoying. Also, I've got a bit of a delimma: I don't want people to be able to interact with world props, so I disable that. However- my gamemode's items that I want people to be able to physgun are world props- and I can't physgun them.
Bump.
1. I don't know much about FPP, but I believe to remove the labels you'd have to edit the code. 2. So the players are able to pick up those entities, you'd have to override the hook [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PhysgunPickup]GM/PhysgunPickup[/url] or some other workaround I can't think of right now.
[CODE] draw.RoundedBox(4, 0, ScrH() / 2 - h - 2, w + 10, 20, Color(0, 0, 0, 110)) draw.DrawText(reason, "Default", 5, ScrH() / 2 - h, col, 0) surface.SetDrawColor(255, 255, 255, 255)[/CODE] I believe commenting out those lines in hud.lua located in fpp/pp/client will do what you want as far as the stuff on the left of the screen. As for the world props thing there are a few ways you could go about it: 1. Put the world props you don't want people physgunning on the blocked list and make sure the field "People can physgun blocked entities" is NOT checked and set "People can physgun world entities" to enabled. 2. Add the entities you want players to grab to the blacklist and check "The blocked list is a white list". Then, check "People can physgun blocked entities". However, I wouldn't recommend this unless you don't have any blocked entities :P P.S those two ways are probably not the only ways to do it but in my 2am drowsiness those are the only two I can think of.
Sorry, you need to Log In to post a reply to this thread.