Jump to content

RegularX

Member
  • Posts

    379
  • Joined

  • Last visited

Everything posted by RegularX

  1. RegularX

    Insomnia

    So Insomnia works by constantly setting your fatigue to zero in the PlayerUpdate (which is constantly getting run as the game runs). Since you have no fatigue, the game won't let you sleep. So if you remove that line I think fatigue should work as normal, but yeah if you made it one you would be constantly tired. The day blindness works by setting the visible range to 1, which doesn't entirely make them blind - they will still attack if you get too close. IIRC setting it to zero was effectively ignored by the game. The night works by setting the visibility crazy high and then finding zombies and herding them to the player. That's why it's not just a couple that show up at your door, but a decent mob. The night stuff was easily the most complex part of writing it. And hey - taking a mod and breaking it a few times is a great way to get started with modding
  2. RegularX

    Insomnia

    Right so with this code: Insomnia.OnPlayerUpdate = function(player) gameTime = GameTime:getInstance(); gameTime:setViewDist(1); end I think you would blind all the zombies, all the time, and be able to get tired normally. If that's your kind of thing Again though, I don't have my setup where I can test this against the latest build so your mileage may vary.
  3. RegularX

    Insomnia

    Hey all - clearly I haven't had time to maintain my Zomboid mods as of late. Had a lot of fun writing them but don't have time to even research what new changes would be required to keep them going. Lightning, if you can unpack the mod the code to do that is super simple: Insomnia.OnPlayerUpdate = function(player) player:getStats():setFatigue(0); if getPlayer():getModData()["IsNight"] == 0 then gameTime = GameTime:getInstance(); gameTime:setViewDist(1); else gameTime = GameTime:getInstance(); gameTime:setViewDist(75); end end You can pretty much just pull the code from the if and ignore the else, forcing the global vision to always be 1. Assuming the game still uses that function
  4. RegularX

    Insomnia

    Yeah, without looking under the cover that actually makes it sound like somehow being inside is being confused with night. Because yes, 80 zombies swarming your house when the sun goes down is totally with the design. But that's supposed to be offset with easier looting and barricading.
  5. RegularX

    Insomnia

    That doesn't sound like correct behavior, being inside the building shouldn't change their awareness. In fact having more time to barricade was one of the original reasons for the mod. Might be a conflict with a recent code update to the core game, I haven't played in a while. It might be some time before I can QA it but I'll try to find some time.
  6. RegularX

    Insomnia

    OK, it looks like it was just the lack of a client folder. I will post an update shortly, keep an eye on the OP.
  7. RegularX

    Insomnia

    I just reinstalled PZ itself so will retest this week. Insomnia will be first of my mods since it does not rely on new media. It is possible the event system has been updated, which Insomnia would be really sensitive towards.
  8. RegularX

    Insomnia

    I got derailed from PZ modding in general a long time ago, but I'm on holiday this week and next and may take a moment my mods in the latest build just to see how well it still works.
  9. RegularX

    [WIP] Xmod

    That is entirely likely I'll ping when I'm getting back up to speed.
  10. RegularX

    [WIP] Xmod

    Just wanted to update since I've been silent for a while and I've gotten a couple of PM's: 1) No, I'm not dead. November - Jan are particularly crazy months for me, professionally speaking. 2) All three of my mods, but especially Xmod, are kind of on hold until the Steam betas sort themselves out a little more. Depending on timing, I might go back an update SICmod and Insomnia for the modloader format - but Xmod does some particularly weird stuff and I don't want to put a big update out there and then have to pull it back out.
  11. What's the console command to get this running is OSX again? With the Steam build, messages don't seem to go to Console.Log anymore so I'm trying to figure out the current state of my mods.
  12. RegularX

    Insomnia

    Post Thanksgiving I'll be trying to make sure everything is Steam friendly (Insomnia, Xmod and SICmod).
  13. I find it odd that I seem to be able to find pistols and bullets easily, but not hammer and nails. Course, I haven't been to Kentucky in a really long time...
  14. Definitely the realm of mods. Custom Professions especially (Xmod professions start with all kinds of gadgets). There's another mod called Starter Kit in the works, I think. Not unfeasible for a mod to add something like "pick three items" to start with or the like. I had an Unreal mod which started with three random cards for a random starter boost. Mystery Box mod might be interesting...
  15. Nope and it would be kind of hard to mod because the "save on death" is hardcoded IIRC. As I said in the other topic, saving the items is doable with PZ's current modding capabilities. Yeah, you would have to block Death Itself. Which can be tricky. When this discussion came up, that was the first thing that came to mind. I don't know if something like a health check on tick could do it. I've only defeated death mod-wise by making the character invincible in the first place, like the Alien Orphan in Xmod. Note that if your new penalty is "lose all your stuff", you really simplify the whole "save you stuff on death" thing The other problem would be that IIRC, teleporting a player doesn't really play nice either. If it did, I'd be tempted to do a mod where upon health being in a certain state you say wake up in the Medical Center or something.
  16. I think it would be interesting to have smaller, more focused areas: like a prison camp, government base, etc. Compounds that could take up a much larger area than the current buildings, but smaller than a whole new town.
  17. Dunno, hard to tell without hands on. It could be annoying as hell, if the teleporting gets to be too much like cheating and makes running in any given direction a pain. But it also might just remove that "I left the hoard behind that door" from the table. Depends on if they've put reasonable restrictions on how it works or if the developers were just to lazy to do proper pathing.
  18. Yeah it might be a Mac thing, I'm on the interim beta branch and the previous one ran - but this one has gone back to the crash to desktop complaining about the EXEC ACCESS error again. OSX 10.7, MacBook Pro.
  19. You might check out RJ's camping scripts/Lua files as a guide.
  20. Next full Steam beta should include a modloader which is more robust and handles item scripts, which is currently a bit of a blocker. Once that's out, it will probably become a lot more common for mods to work correctly with the mod menu (if they support that current version).
  21. Props to the Rathlord, in now. Not much time to test at the moment, and there is a crash when I close the game - but I can play again and don't notice anything huge in the way.
  22. So I flipped to the interim 64 bit only beta, but got the exact same memory error I had before on my MacBook, crash before the game actually starts (post 'This is How You Died'). So I can't really judge on the 32bit v 64bit issue. I think I can support 64bit though: $ java -d64 -versionjava version "1.6.0_51"Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
  23. Ah yes. "Upcoming" in the title and what not. Long day of multi-tasking and cold medicine. Will happily give a new smoke test when it comes over the wire.
  24. If this is the current Steam Beta (opt into beta, no compatibility mode), then it's a no-go on my MacBook running 10.7.5. Crash to Desktop after the "This Is How You Died" screen, with a Bad Exec / Malloc ending in: Current thread (000000000509c000): JavaThread "main" [_thread_in_native, id=-1332187136, stack(00000000b0187000,00000000b0987000)]Stack: [00000000b0187000,00000000b0987000]Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)j org.lwjgl.opengl.GL11.nglGetTexImage(IIIIJJ)V+0j org.lwjgl.opengl.GL11.glGetTexImage(IIIILjava/nio/ByteBuffer;)V+48j zombie.core.textures.TextureID.getData()Lzombie/core/utils/WrappedBuffer;+34J zombie.core.textures.Mask.<init>(Lzombie/interfaces/ITexture;)V
  25. Sweet! Thanks RJ, the modloader is looking awesome. I can pick up testing Xmod and SICmod with the next Steam build. The require and new profession stuff is looking great.
×
×
  • Create New...