Admiral DeRuyter
Spaceman
Anyway, this may seem slightly petty, but for personal preferences I want to modify (read: reduce) the number of credits earned from cargo missions, clean sweeps, and defend missions so that it will play more like the original (right now its too easy to upgrade your ship). I'll have to adjust the high-end values for stuff like capships and other fighters at a later date to match the new mission rewards.
Anyway, I can do this all on my own, except for the life of me I can't find the code for generating it. Presumably I should look in the modules/ section, and I find a whole bunch of references to it (the definitions). I find several lines in different files dealing with number of jumps, probability of enemies, number of waves of enemies, and stuff like "credsmin - credsmax." Like the following, drawn from modules/bounty:
162
def initrandom (minns, maxns, credsmin, credsmax, run_away, minshipdifficulty, maxshipdifficulty,jumps=(),var_to_set=''):
175
return bounty (minns,maxns,(1.0+(sd*0.5))*(vsrandom.random ()*(credsmax-credsmin)+credsmin),run_away,sd,tempfaction,jumps,var_to_set)
The problem is that every single file is importing this determination from somewhere else, and I just can't find it. It's probably stupidity on my part, but oh well.
If anyone could be so kind as to direct me to the code for generating both mission descriptions AND the pay, I can do everything else myself.
Anyway, I can do this all on my own, except for the life of me I can't find the code for generating it. Presumably I should look in the modules/ section, and I find a whole bunch of references to it (the definitions). I find several lines in different files dealing with number of jumps, probability of enemies, number of waves of enemies, and stuff like "credsmin - credsmax." Like the following, drawn from modules/bounty:
162
def initrandom (minns, maxns, credsmin, credsmax, run_away, minshipdifficulty, maxshipdifficulty,jumps=(),var_to_set=''):
175
return bounty (minns,maxns,(1.0+(sd*0.5))*(vsrandom.random ()*(credsmax-credsmin)+credsmin),run_away,sd,tempfaction,jumps,var_to_set)
The problem is that every single file is importing this determination from somewhere else, and I just can't find it. It's probably stupidity on my part, but oh well.
If anyone could be so kind as to direct me to the code for generating both mission descriptions AND the pay, I can do everything else myself.