Project Zomboid

Project Zomboid

189 ratings
Avatar offline [MP/SP]
2
3
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
12.137 MB
9 Jan, 2023 @ 10:44pm
2 Jul @ 12:51pm
28 Change Notes ( view )

Subscribe to download
Avatar offline [MP/SP]

In 1 collection by AuD
AuD collection pour PZ
145 items
Description
Last Update MP/SP compatible

Originally posted by 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
Popular Discussions View All (12)
22
12 Sep, 2023 @ 10:14am
Latest update bug report
NerdgamerDave
21
24 Mar @ 10:39am
PINNED: Bugs, errors, strange things, you can post here
AuD
5
23 Feb @ 12:25am
Removing players from the "declared avatar" list
NerdgamerDave
238 Comments
La Kimera 7 Aug @ 9:55am 
I have a private server, how do you show the player's texture with the clothes he uses, instead of these silhouettes?
AuD  [author] 6 Aug @ 9:23am 
@NerdgamerDave
@marcuzz

At the moment I am very busy on the creation of my last mod, I take care of "avatar" mod and "respawn in car" mod after the release.

in the meantime, if you really want to reset the avatar and respawn in car mod data, erase the avatar data in debug mode in admin tool (context menu), then deactivate the avatar mod, restart your server only with the respawn in car mod, and there, do reset data in admin tool of Respawn in car mod, then you can reactivate the avatar mod.
NerdgamerDave 1 Aug @ 2:42am 
carry avatar problem fixed! WL setting was at 2. Setting it to 0 now works.

Thank you for your massive help and patience on this
AuD  [author] 1 Aug @ 2:30am 
there is indeed a problem to completely reset the mod, I will add it, as well as the total sorting of user names, sorted by folder, for each letter of the alphabet, it will be clearer for large lists.

added to roadmap

https://steamproxy.net/workshop/filedetails/discussion/2915808671/4035850678062831188/
AuD  [author] 1 Aug @ 2:26am 
Please, read the description of the sandbox options, you can see the description directly in game in admin mode, with admin panel ...

if you want free carry avatars by everyone put this :

GlobalCarryActionFunction = true,
CarryAvatarAllowedFromPlayerWL = 0,
TakeAvatarFromSafehouseIsNotYoursIsProhibited = false,
TakeAvatarFromFactionIsNotYoursIsProhibited = false,
NerdgamerDave 1 Aug @ 2:11am 
Problem 2 still persists as well:

No one can pick up an avatar. Everyone gets the message "this is impossible because you are not on the players whitelist"

My INI settings are as follows:

},
AvatarMOD = {
-- Minimum=0 Maximum=365 Default=0
AutoCleanAvatarsItemsFromDisconnectionTimeElapsed = 5,
-- Minimum=0 Maximum=9999 Default=10
AvatarWeight = 1,
OptionnalInfosOnAvatar = false,
CrashOrAltF4InfosOnPlayerConnect = false,
AvatarOnlyOneInInventory = true,
RemoveAllAvatarFromInventoryIfYouDie = false,
GlobalCarryActionFunction = true,
-- Minimum=0 Maximum=2 Default=1
CarryAvatarAllowedFromPlayerWL = 2,
NerdgamerDave 1 Aug @ 2:08am 
Auto cleaning avatars works. they vanish. That is not the problem I am reporting.

I need the lists of "delcared avatars" and "avatars in the world" deleted. To find the avatar or teleport to a player who is currently active, I have to scroll through 200+ entries of players who have not been on the server for over 1 year.

The context menu list is very, very long, taking up the entire screen, as well as having to scroll through additional names
AuD  [author] 1 Aug @ 2:06am 
^^ ok ok, i will check the script ...
NerdgamerDave 1 Aug @ 2:05am 
Remove data with respawn in car pops up with text over my head stating "you must use avatar tool"
AuD  [author] 1 Aug @ 1:58am 
for the avatar items on the ground, if you want to remove them to make your map clean, activate the auto-cleaning option, put it at a minimum, leave this option activated for a week, the time you visit some areas by players exploration, and deactivate it, because it is greedy in performance.