Project Zomboid

Project Zomboid

Subpar Survivors
Andserk 2021년 9월 21일 오후 9시 16분
Swapping characters
Hello, I was wondering if it would be possible to be able to switch to another survivor from your group, kind of like State of Decay. I did a quick google search and found an old forum thread of Super Survivors for build 40, apparently this was a feature early on but it was removed, also there is currently a debug option to swap characters but the character info sheet doesn't change, and you can't really issue orders from the new perspective.
I recently learned that you can actually have multiple characters in the same save and switch between them from the load screen, there is a 'more' button that let's you specify player 1 and it even lists characters spawned from the mod and this does bring the correct survivor character sheet when loaded, but there are some issues like character duplication, and the process is not as seamless as I'd like.
I'm just asking if it can be possible with the current modding capabilities the game offers.
< >
전체 댓글 10개 중 1~10개 표시 중
Manu 2021년 9월 27일 오전 8시 42분 
It is possible to swap to a NPC character and take control of it. Your main char will remain still until you swap back. The only downside is that you must be close enough to have both in view to right click on it and swap back.
Manu 2021년 9월 27일 오전 8시 43분 
Right click on the character, cursor over the name of the NPC and then "Debug swap ...."
Andserk 2021년 9월 27일 오후 2시 35분 
Haha yeah I know, I mentioned debug swap in my post. I was hoping for some info if it's even possible to implement a full swap, with the corresponding character info (perks, stats, skills) swapping as well.
Right now when you debug swap, the info panel doesn't change, it remains from the original character, you also cannot issue orders from the new perspective to other npcs since the game thinks you are the still original character.
Poop Smear 2021년 9월 28일 오전 10시 08분 
I havent tested this thoroughly, but i believe if you debug swap with them and then switch back to your main character, you can pick the survivor from the save options. However if your MC is still alive they will disappear when you switch but if they die the body remains. There will also be a clone of the person you replaced.
MandoChilly 2021년 10월 1일 오후 9시 51분 
Be careful about Debug Swap, each character will have their own timer for the raider spawns. When you you swap they might trigger a bandit raid and will catch you off guard.
MandoChilly 님이 마지막으로 수정; 2021년 10월 1일 오후 9시 51분
Vaeringjar 2021년 10월 3일 오후 8시 45분 
yeah, being able to play as a survivor would be really cool for RP. Alternating between who does supply runs and whatnot, then some die, some live, and now you got a story of a group of survivors and it's not all centered on your superhero
Andserk 2021년 10월 4일 오전 12시 10분 
@Vaeringjar That's exactly what I was thinking! I wouldn't even mind if the rest of them are just idling in the base, taking care of their needs and guarding the base. I just want to know if the code allows to change character perspectives like this with all the character sheets, I'd code it myself with enough time, but first I want to know if it's even possible.
Vaeringjar 2021년 10월 4일 오후 5시 04분 
or it might be possible to work around it by "cloning" the NPC into the player and the player into the NPC. At least for skill levels (idk about xp in-between levels) and equipment loadout, and traits, so if it'd also work for gender / skin tone / face & hair, then that's pretty much it. Would then also need to document how to continue as another character if the player dies, or if we'd have to respawn completely.

My lua skills are still too primitive, but from what I've seen mods doing I think it may be doable.
Ancell 2021년 10월 17일 오전 11시 29분 
Such a function is VERY necessary, I want to play specifically for a group of survivors, to see its history, the death of characters and the addition of new survivors.
Fion 2021년 11월 19일 오후 12시 47분 
Andserk 님이 먼저 게시:
Hello, I was wondering if it would be possible to be able to switch to another survivor from your group, kind of like State of Decay. I did a quick google search and found an old forum thread of Super Survivors for build 40, apparently this was a feature early on but it was removed, also there is currently a debug option to swap characters but the character info sheet doesn't change, and you can't really issue orders from the new perspective.
I recently learned that you can actually have multiple characters in the same save and switch between them from the load screen, there is a 'more' button that let's you specify player 1 and it even lists characters spawned from the mod and this does bring the correct survivor character sheet when loaded, but there are some issues like character duplication, and the process is not as seamless as I'd like.
I'm just asking if it can be possible with the current modding capabilities the game offers.
When main character dies anyone part of your group can be started continuing your save.
< >
전체 댓글 10개 중 1~10개 표시 중
페이지당 표시 개수: 1530 50