Project Zomboid

Project Zomboid

Not enough ratings
Rewarding Night Combat Server Options
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
105.669 KB
4 Apr, 2022 @ 11:47am
1 Change Note ( view )

Subscribe to download
Rewarding Night Combat Server Options

Description
This is a mod that overrides Rewarding Night Combat's default options and thus allows servers to have custom icons and sounds. Basically, you can
  • Add your custom indicator, change the default position and the size.
  • Add your custom trigger sound and custom ending sound.
  • Add a custom text at the top of the tooltip.
  • Disable the tooltip that shows up when mouse is hovered on the indicator icon.

The reason behind this mod is that it forces players connecting to your server to download and use your custom settings including icons, sounds. To do this, you need to publish your version in the workshop!

WARNING Only use this mod if you plan to play multiplayer! Otherwise, you can just change the files in Rewarding Night Combat's mod folder.

Steps
  1. Go to "C:\Users\<YOUR_USER_NAME>\Zomboid\Workshop" directory.
  2. There is a folder named "ModTemplate" and you will start modifying it; hence, you might want to create a copy and move it to somewhere else as a backup.
  3. Rename that folder in the directory from "ModTemplate" to anything you want like "<YOUR_SERVER_NAME> Rewarding Night Combat Server Options".
  4. Then go inside that folder and open "workshop.txt" with your text editor. Edit the values to your liking.
  5. Navigate further through "Contents\mods", you will see that there is another folder by the name of "ModTemplate". Just delete it, you will replace it with this mod's data in the next step.
  6. Open a new window and go to your steamfolder and navigate through "Steam\steamapps\workshop\content\108600\2789514273\mods\". Here copy the "RewardingNightCombatServerOptions" folder and paste it where you deleted "ModTemplate" in the 5th step.
  7. Now you change the name of the folder you pasted to "<YOUR_SERVER_NAME>RewardingNightCombatServerOptions". Open it.
  8. Open "mod.info" file and edit the values. ★Make sure to change★ "id=RewardingNightCombatServerOptions" to "id=<YOUR_SERVER_NAME>RewardingNightCombatServerOptions".
  9. Now you can modify the options by opening the Lua file located in "media\lua\shared\RNC_options.lua".
  10. Lastly, copy the "preview.png" in "Contents\mods\<YOUR_SERVER_NAME>RewardingNightCombatServerOptions" and put it where you modified "workshop.txt" in the 3rd step. (or you can create your own preview image for the workshop)

Publishing
  1. Open the game.
  2. Click "WORKSHOP" and then "Create and update items".
  3. Select your version of the mod.
  4. Edit the values.
  5. Follow the steps and upload.

Workshop ID: 2789514273
Mod ID: RewardingNightCombatServerOptions
16 Comments
Mr. Trollo 23 Jul, 2023 @ 5:06pm 
The mod could use an update cuz the custom sounds aren't playing on my server and the settings from that mod are overriding the main mod ones, and there is no way to change them cuz that file isn't included.
Ged 17 Jun, 2023 @ 1:44pm 
Link to my attempt here, in case the fault is on me:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2990723283
Ged 17 Jun, 2023 @ 1:43pm 
Tried passionately to get this to work, but it does not.
Nihilist Penguin  [author] 19 Aug, 2022 @ 7:19am 
@ELMUERTES

Could you please elaborate more? Its been a while since I coded for Zomboid :)
ELMUERTES 19 Aug, 2022 @ 2:07am 
Hello Nihilist, its possible to is3D=true on in scripts?
Siege 5 May, 2022 @ 8:40am 
Thank you so much for taking the time to sort this, looking forward to adding it to our servers, its a great mod and im glad it wasnt just me overlooking something...yea it was causing me to lose a bit of sleep hehe.. Thanks again mate appreciate it.
Nihilist Penguin  [author] 5 May, 2022 @ 7:38am 
@Siege.
First of all, I would like to apologize. I should have been more careful while making changes. You probably questioned your sanity while pushing your updates repeatedly and seeing nothing getting fixed. Funny but sad thing about this problem is that it is due to single wrong naming of a function... Now I will push an update to the main mod so you don't have to do anything for your custom mod and it will work!
Siege 3 May, 2022 @ 2:20pm 
Thanks alot, appreciate it.
Nihilist Penguin  [author] 3 May, 2022 @ 1:46pm 
Ok I'll take a look (maybe tomorrow, after work) and let you know.
Siege 3 May, 2022 @ 12:06pm 
No not yet :( its on the workshop https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2802375911 any ideas? Many thanks