Project Zomboid
193 คะแนน
Avatar offline [MP/SP]
2
3
2
3
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
อัปเดต
12.165 MB
9 ม.ค. 2023 @ 10: 44pm
17 ส.ค. @ 2: 32am
30 หมายเหตุการเปลี่ยนแปลง ( ดู )
อยู่ใน 1 ชุดสะสม โดย AuD
AuD collection pour PZ
145 รายการ
คำอธิบาย
Last Update MP/SP compatible
Put your personal avatar in your server mod : https://youtu.be/SnzQBQm062E

โพสต์ดั้งเดิมโดย AuD:

Important information for server owners:

Now is compatible in MP and SP !! (Don't forget that everything can be configured using the sandbox options, necessary for your Gameplay!)

A sandbox option is present to automatically clean long-standing avatars (players who have not reconnected for a while), this option should be activated from time to time (activated = greater than 0), if 30, then the avatars of more than 30 days will be deleted if this date is exceeded (not the avatar data, just the avatar on the ground), I recommend activating this option once a month, or once every 2 months for example , in order to clean up, leave it activated for a few days.
Why only a few days? because this option uses the "LoadGridSquare" event, and therefore it uses performance in order to check square by square.

Highly populated servers wishing to do a major cleanup can afford to reset the data for the Avatar mod and the Respawn in Car mod (in Debug mode, each mod has its own admin tool), this will reset the player lists if you reset both mods, to be done from time to time when you consider that the list of your players is too long, knowing that players will never return, this option should be avoided.[/i]

This mod consists of making an avatar appear on your position when you log out, this avatar can be moved by carrying it as an item, when the player concerned logs back in, it will reappear at the location of his avatar.

The avatar is affiliated with the name of the user account, so if your server allows multi-characters, each character will have its own avatar.

The avatar does not risk attacks from players or zombies, only its movement is possible (for the moment...).

A lot of things are configurable in the sandbox options, such as restricting the transport of avatars only to members of the same group, I tried to add enough options so that it corresponds to any type of gameplay.



to know :
  • Now, by right-clicking on your character, you will have access to a menu that will offer you a multitude of avatar choices.

  • Shift+Esc to manually place your Avatar in the world before your automatic logout.

  • While carrying a player's avatar, their position will be saved upon pickup, placement, and every 10 minutes in-game.

  • You will not be able to leave the game with avatars on you, they will be automatically placed on the ground.

  • If a player logs in while you are carrying their avatar, they will automatically be removed from your inventory and the player will appear at the last saved location/position.

  • In a vehicle, if you want to hit the road and you are transporting a character, you will have to sit him in the vehicle, he will take a place like in the Respawn in Car mod, since it works together, it avoids getting stuck move with a 2-seater car and transport 10 avatars at the same time (only when you carry it).

  • Two ways to seat a character, right click on the car or right click on the avatar icon in your inventory.

  • Impossible to put the avatar in a container (just in your inventory, on the virtual seats from inside a vehicle and on the ground).

  • If you play with the RV interior mod, it will be impossible for you to take the avatar in the motorhome rooms, you will have to take it directly in the car with the appropriate option (accessible right click on the car when you are inside).

  • Also with Rv interior, you will be prohibited from logging out in rooms if you are transporting characters.

  • On server, I highly recommend the Udderly Up To Date mod, why? quite simply because there is an auto kick for the players before restarting the server (if you have), and thanks to this function, the players will leave their avatars in their positions, this prevents the player from waiting for his game to crash due to the reboot, and thus, not leaving his avatar in his place :




to know for administrators :



sandbox options :



Work in SP/MP

Force Respawn in Car mod is needed

You can safely add and remove this mod in existing save

The script is only effective when placing/taking/carrying a character.

If you use a mod that allows you to rename all objects, you will have to add a rule that removes this possibility for avatars, discriminate by the "AvatarMOD" TAG.



If you think this mod would be interesting for the community




Workshop ID: 2915808671
Mod ID: AvatarOffline
กระดานสนทนายอดนิยม ดูทั้งหมด (12)
22
12 ก.ย. 2023 @ 10: 14am
Latest update bug report
NerdgamerDave
21
24 มี.ค. @ 10: 39am
Bugs, errors, strange things, you can post here
AuD
5
23 ก.พ. @ 12: 25am
Removing players from the "declared avatar" list
NerdgamerDave
264 ความเห็น
Shimo 9 ก.ย. @ 5: 13am 
all I can do is pick it up, check the messages and torture the
AuD  [ผู้สร้าง] 8 ก.ย. @ 1: 52am 
clic on avatar on inventory window (floor)
Shimo 8 ก.ย. @ 1: 50am 
It's already enabled, but I haven't found a way to use it.
AuD  [ผู้สร้าง] 8 ก.ย. @ 12: 20am 
look the sandbox, need enable this
Shimo 8 ก.ย. @ 12: 19am 
How do I use the item transfer function?
AuD  [ผู้สร้าง] 8 ก.ย. @ 12: 06am 
clic on your avatar !
Shimo 8 ก.ย. @ 12: 05am 
How do I add a friend whitelist?
AuD  [ผู้สร้าง] 25 ส.ค. @ 11: 19am 
look in the Respawn in car mod
La Kimera 24 ส.ค. @ 2: 14pm 
@Aud it is: PlayerRespawnWithOther=true
La Kimera 24 ส.ค. @ 2: 13pm 
@AuD thanks can you tell me the instruction I have this setting:
AvatarWeight = 1,
OptionnalInfosOnAvatar = true,
CrashOrAltF4InfosOnPlayerConnect = false,
RemoveAllAvatarFromInventoryIfYouDie = false,
GlobalCarryActionFunction = true,