Jump to content

Search the Community

Showing results for tags 'api'.

  • 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


Interests

Found 4 results

  1. Hello lovely Zomboid community, I hope my general question is here in the right category. I have no experience in zomboid modding, but experience in gamedev and programming in general. I wonder if it is possible to implement custom RCON commands via a custom mod. Specifically, I am looking for commands that return information on our server website such as the server time, date, weather and other world related things. So that we can display them on our website in a meaningful way. Also it would be interesting to be able to query the killcount per user. Now my consideration before I plunge further into the modding depths of Zomboid is whether this is possible at all. Maybe there are even resources in this regard? Hope someone of you can give me a hint in the right direction. Best regards Valentin.
  2. For example: local bd; local function fnEveryTenMinutes() if not bd then bd = getPlayer():getBodyDamage(); end ..... end Events.EveryTenMinutes.Add(fnEveryTenMinutes); I think it should reduce overhead on api calls.
  3. character:getBodyDamage():setInf(true); character:getBodyDamage():getBodyPart(BodyPartType['Head']):SetInfected(true) character:getBodyDamage():setInfectionLevel(50); --doesn't work I tried this code. But infection level starts from zero and growing, ignoring setInfectionLevel() whenever I use it.
  4. Hello, As title says, is there some sort of API to detail what Java classes and methods are accessible via mod scripts ? I suppose all java public classes and methods are not accessible so i'm left thinking a specific javadoc or sth may prevent from relying too much on other people's scripts, to know what it's possible to do. Concretely, i was thinking about instantiating a character ( yeah i know NPCs are not back yet ), and assuming it's technically possible, i'd have no clue on how to do it : Zombie.Character.spawn() ? And then how can I know which methods of my character can be called in my scripts ? I searched this forum as well as pz-mod.net without results, and all i found was the Events reference, which is useful but has a limited scope. So if anybody has any insight, please enlighten me. PS : as a thanks for reading my concerns, i'll disclose a top-secret information to you all :
×
×
  • Create New...