Jump to content

Search the Community

Showing results for tags 'ui button'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Location


Interests

Found 2 results

  1. Hey, so I was wondering if it would be possible to add an interaction button to zeds, nothing fancy, more like a proof-of-concept. If you press your right mouse button on an zed an small interaction button should pop up (like on anything else interactable), if i click it some function or so should be triggered. Im pretty new to modding Project Zomboid, im not quite sure where to start but I found some example LUA scripts from the devs located in: \media\luaexamples\ui But I dont know if its the right to look at, any tips or help would be appreciated.
  2. 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-
×
×
  • Create New...