Divergent/mods/Glowsticks/MODDING GUIDE.txt

35 lines
2.8 KiB
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
This is a small guide in case you want to modify some things for Glowsticks by yourself, such as to change the color.
______________________________________________________________________________________________________________________________________________________________________________________________________
HOW TO CHANGE THE COLOR.
______________________________________________________________________________________________________________________________________________________________________________________________________
1. Go to gamedata/configs/items/items and open up "items_glowstick.xml"
2. You will find various configs that start with "[glowstick_definition]" and a color, the one without any color in the name is the default green.
From here onwards, change the "color" and "color_r2" to whichever you like, the formula is simply a percentage from 0.0 to 1.0.
NOTE: Higher numbers are allowed, but these only add a white tint to the color.
______________________________________________________________________________________________________________________________________________________________________________________________________
HOW TO MAKE THE GLOWSTICKS EMIT SHADOWS.
______________________________________________________________________________________________________________________________________________________________________________________________________
1. Go to gamedata/scripts and open up "zz_glowstick_mcm.script"
2. Scroll down from there until you find "data.light_flags", which is roughly line 110.
Change the number 45 to 47.
______________________________________________________________________________________________________________________________________________________________________________________________________
NOTE TO ADDON AUTHORS REGARDING DEVICES AND DETECTORS
______________________________________________________________________________________________________________________________________________________________________________________________________
1. Open your device model in Blender, AXR Tools or OGF Data Changer.
2. Make sure the emissive part of your model uses the shader "models\selflight_det"
3. Save or re-export your model.
This way the device's screen won't emit any light once the batteries run out.
______________________________________________________________________________________________________________________________________________________________________________________________________
HOW TO CHANGE MOD SETTINGS WITHOUT MCM.
______________________________________________________________________________________________________________________________________________________________________________________________________
1. Go to gamedata/scripts and open up "zz_glowstick_mcm.script"
2. Change the settings at the top of the file to your liking.