Search the Community
Showing results for tags 'button'.
-
Would it be possible to code in a new button config that provides for a "drop all bags" button? After an unfortunate death last night of a good character, I got caught kinda off guard by a couple zeds, which quickly turned into 4 or 5. I had intended to quickly open inventory to drop my overweight dumbness, but that GUI is just too cumbersome to pull that off in the middle of a shove-swing-stomp fiasco. I could have made it out had there been a key that allows you to drop any equipped bags (hence, overloading weight). Granted that any overloading weight on your immediate self would be tantamount to suicide anyway, but being able to drop bags by keystroke (say, ~ or Backspace) could mean the difference between life and zombification.
-
Gotta love all those sturdy sticks laying in my yard...
-
I've had a look inside the "LastStandSetup.lua" found in the SteamApps/lua folders. I noted that essentially, the Last Stand and subsequent Challenges, are in fact written as if by the way of a modder- that is to say, everything in there is handled from event handlers. Neat. I've took it upon myself (after being unable to find anything on the forum under User Interfaces), to have a shot at achieving the following: STEP 1: Create a button that slots in alongside the initial game UI. Like so: STEP 2: Once the button is clicked, execute the code to join the server's I.P Address. And thats it! basically! I haven't looked at any of the multiplayer code, but I've been diving into the UI stuff, would I be right in assuming it is not without the realm of possibility to use the following event: OnPostUIDraw To create some kind of button to achieve this? Watch this thread for more progress as it happens-
- 6 replies
-
- OnPostUIDraw
- Custom UI
- (and 4 more)