[Edit]Until this problem can be fixed, the FireRate will be static. the PowerUse will be too, unless some one wants to test this for me. I have more important things for modding it, like balancing, bug fixing, and all that other crap. I'm also making my own ship
Heres my problem:
Code: Select all
fireRate= "5-50"
lifetime= "5-15"
powerUse= "60-90"
The problem being is that it doesn't take intervals for these three things. It creates a negative number when these configurations are run. This is more directed at George, since he has intimate knowledge about these things.
My original goal was to get these to become randomized, but they ended up becoming a negative number.
The result of the code above:
firerate: shoots much faster than just setting the rate at 1, although no matter what negative number it is, it won't go faster than a -1 setting... I could be wrong, but I don't think so.
Lifetime: This actually works, I think, but I will have to experiment further with this setting to make my mind up.
PowerUsage: I'm not sure until I use a different player-ship. but i really could care less about this setting right now.
Things i have tried:
1. Setting a dice factor with a base level, i.e. 1d20+5, or just setting it to 1d20. Digdug tells me that it would just register as a 1 factor, and I hate to admit that he is completely right.
2. 5-50 DOES NOT WORK! like I said before, it just comes up with a -#
Ok, i just tested an interval (5-50) for lifetime, it DOES work, maybe a bit too well, but it is still not random. Give me five seconds to try the Dice method for it again...
Ok, the #d# does work for lifetime. but it tends to pick the higher numbers a lot more often, I guess cause I'm using such a high number at the moment.
So the bottom line is, I want a random fire-rate! Why does the dice factor not work for this, but does for the Lifetime? Why does selecting an interval (5-50), which works for firerate, again, but not lifetime?
I have yet to test the PowerUsage, I'll put that off until I get the FireRate sorted out.