Begun Modding but need Help!
from
Sins Forums
I have recently been modding (this is the first game I have ever modded) and I have a few things that I would still like to add in. In the Mars Effect mod I noticed it has custom research buttons, how do you add/make these? Secondly, I made a phase bomb for the vasari that pretty much detroys everything in the grav well. To balance this and intorduce the storyline more into the gameplay, the phase explosion causes the mysterious entity to take notice. Basically it comes down to making a buff that only has a 25% chance of happening. So when you detonate the bomb, there is a 25% chance that one of your planets will "fall off the grid". The only part I need help with is the random chance. Is it possible and if so what coding line is needed?