Project Zomboid

Project Zomboid

[B42] Cannibalize Bandits
27 条留言
HoloHacke 11 月 14 日 上午 7:31 
is this still not build 41 yet?if thats it isnt can you remove the build 41 tag
UnblestMATT  [作者] 10 月 13 日 上午 7:37 
@rougethedemigod Unless something changed, it should work for B42
rougethedemigod 10 月 13 日 上午 2:25 
so this doesnt work for B42?
King 9 月 12 日 下午 7:03 
well if it is likely that you won't end up updating it, would you at least give permission to others to make a port so somebody else could do it?
King 9 月 12 日 下午 7:02 
man... kinda sucks this isn't for B41, I wanted to be a cannibal in week one :(
UnblestMATT  [作者] 7 月 22 日 下午 1:17 
@HoloHacke It seems to be incompatible with B41, apologies for the inconvenience, it likely won't get an update. I'll change the compatibility if I get around to it. Thank you for letting me know!
HoloHacke 7 月 22 日 上午 8:12 
Yea it doesn't appear in B41
colby 6 月 4 日 下午 3:22 
@UnblestMATT all good, i dont think it does, it doesnt show up in "mods" to enable it lol. Cool thank you, ill check back later.
UnblestMATT  [作者] 6 月 4 日 上午 11:31 
@colby It's possible it is not compatible with b41. I don't play b41 anymore, but the mod worked for it originally. If not, I will try to fix this soon. Thanks for letting me know!
colby 6 月 3 日 下午 10:17 
Does this no longer work for b41? I added to my non dedicated server, but it doesnt show up in mods to be enabled.
I'mNotKonnor 5 月 3 日 下午 8:21 
:steamsalty:
UnblestMATT  [作者] 4 月 30 日 上午 5:50 
Hey @Dubkito, try unsubscribing and resubscribing. I tested it just now and it's working for me.
Dubkito 4 月 30 日 上午 1:39 
hello... it stills asking me for bandits to enable the mod.
UnblestMATT  [作者] 4 月 29 日 下午 1:34 
Thanks @Slayer, I love your mods!
Slayer 4 月 29 日 上午 8:43 
that mod had to be created at some point. nice job :)
Dubkito 4 月 26 日 下午 12:16 
thank you for your work...
UnblestMATT  [作者] 4 月 26 日 上午 8:50 
Thank you for letting me know! I will try to update it soon!
Dubkito 4 月 25 日 下午 11:33 
i think itsnt compatible with the new version of bandits when i want to start a new game
UnblestMATT  [作者] 4 月 24 日 下午 3:54 
@Dubkito Is there something not working or a suggestion you want implemented?
Dubkito 4 月 23 日 下午 10:11 
please update this!
Dubkito 4 月 23 日 下午 8:22 
yeeeii
SimKDT 4 月 12 日 上午 9:06 
You'd have to check which instanced objects are shared in-between. I'd bet on SurvivorDesc possibly but I really don't know, would need testing
SimKDT 4 月 12 日 上午 9:05 
In your case, you could simply do whenever the player interacts with the body, whenever you retrieve the body object and compare it with a list of ID if that body was from a bandit. ID of the bandit that you stored in a table beforehand when the bandit died
SimKDT 4 月 12 日 上午 9:04 
I don't have experience with retrieving bodies directly from zombie objects but I know this is something which modders tend to need a bunch of times. There are ways, but the question is finding the best/most reliable way to do it

A method could be simply to note a common ID method which links both IsoZombie and IsoDeadBody

https://demiurgequantified.github.io/ProjectZomboidJavaDocs/zombie/iso/objects/IsoDeadBody.html
https://demiurgequantified.github.io/ProjectZomboidJavaDocs/zombie/characters/IsoZombie.html
UnblestMATT  [作者] 4 月 12 日 上午 8:26 
Thanks for the suggestion! I am very much a beginner when it comes to modding, but as far as I could tell the only way I could hook in was with OnZombieDead and that carries no other attributes with it. It can't tell any details about the zombie, so the only solution was to make all zombies yield human meat (AFAIK).
SimKDT 4 月 12 日 上午 5:24 
You can probably identify a bandit corpse by hooking to the function which is triggered when a Bandit dies and which adds the bandit loot to the bandit corpses when they die. Tho I haven't checked how they do it and is probably OnZombieDead which doesn't give you directly the corpse and you have to access it by other means when the zombie dies

Just throwing that idea here, haven't dug in it, basing on experience :)
UnblestMATT  [作者] 3 月 30 日 上午 9:44 
If you have any bugs, let me know! I've been playing with this for the past few playthroughs of mine and it's been working just fine, so I figured I'd share.