About This File
The mod adds "Wheel of Fortune".
(Fixed and re-textured.)
Players can win prizes by spending a certain amount of time in the game on the server.
The wheel is reset once a day at a specific hour specified in the config.
Mod features:
- Logs are output to the WheelLog.log file;
- Recording the time spent in the game, receiving a prize and the date of the last wheel reset is carried out in the WheelDatabase.json file, which is created itself in the SSSWheel folder, where the config is located. If necessary, you can reset the receipt of the prize manually, and also give the prize to the player by specifying the prize ID in the "PrizeID" line. Changing the time spent in the game in the file will not change anything. The time spent from the file is loaded only if the player dies.
- In the config you can set the following parameters:
- Enable/disable the mod;
- Required game time in seconds;
- Wheel reset hour;
- Enable/disable display of remaining game time on the main screen;
- Turn on/off the sound of the “Drum” from “Field of Miracles”;
- Prizes:
- Name of the prize (text for the prize panel);
- Item: (You can specify several items in one, in which case, when this prize appears, one random item will be selected from all specified)
- Name of the item;
- Quantity of item;
- Item attachments (Exactly the same class of the item is indicated, i.e. Name, quantity, attachments, inventory items);
- Inventory items of this item (Exactly the same class of the item is indicated, i.e. Name, quantity, attachments, inventory items).
- Chance of item drop (Can be specified from 0.01% to 99%. !!!But the sum of the chances of all rewards must be 100%!!!);
- Display a notification to all players in the chat if someone has won this item;
- Notification text in the chat if the above setting is enabled (For example, if you write: “hit the jackpot!”, then the chat will look like this “[Wheel of Fortune]: [player nickname] hit the jackpot!”).
You can open the wheel window using the Insert button. The button can be configured in the key bindings in the game settings.
Prizes can be customized in any way. The design of the wheel window can be changed if desired in SSSWheelGui.pbo.
There may be minor bugs.
Error displaying text about next scroll information.
ATTENTION!! There can only be 10 prizes! No more and no less, otherwise the mod will not work correctly.
Type
Compatible version
Terms of use
- Resale or distribution for the purpose of making money is prohibited.
- Upload your mod pack to the STEAM workshop at your own peril and risk.
(I don’t recommend it. There’s a high chance of getting a Strike.)
- Use it on pirate servers without any problems!
- Use this mod and all code for training and informational purposes.
Actions after purchase
Mod settings:
- Unpack the archive.
- From the "Server" folder - Install the server part as a server mod.
- From the "Client" folder - Sign Client PBOs with your key and add the mod to your mod pack.
- From the "Profile" folder - drop the folder with files into the Profile folder
- Customize the mod for yourself.