Added the ability to edit the mining drop table. See CustomBonusModDrop.json config. The first value is the id of the item, the second is its type. You can find the id in the localization files.
Changed some parameters to a constant number. Before that there was a multiplier, but it only worked if you already have some bonus from the ship/perks/equipment. Look at the parameter names. The + at the end means it's a constant number.
Some parameters may not be integers. For example RefineTime. To set a number less than one, put a comma before the number greater than zero, or separate the two numbers with a comma.
And look at this mod, maybe someone wants to add their own ship?
Have never had difficulty with BepInEx plugins to date, yet getting this latest version (1.3) to work has me stymied. The "core" file (Newtonsoft.Json.dll (695.3 kB)) is dated 17 March 2021 (!). Is this actually the correct file?
After installation of the new plugin, a run and restart of the game, there is not a "CustomBonusModDrop.json" file created in the config folder.
So, a little puzzled here. Ideas, or am I doing something obviously wrong?
Thanks for checking into this, and thanks the great mod!
Added Newtonsoft.Json.dll because the standard serialization library behaves strangely.This is literally required to create the CustomBonusModDrop.json.
I completely removed the mod and checked it with the version from here, everything works.
Can you send the Unity log file. Perhaps there is some mistake. I really don't know what could go wrong.
common\Star Valor\BepInEx\config Parameter in config: WriteUnityLog = true common\Star Valor\BepInEx\LogOutput.log
Ya know, when ya ditch classes and hang around with the tuffs and bad girls on the corner, no one ever teaches you to delete the original .json first.
In my defense, I ... well, I got nothin'. OTOH, I don't thing it was necessary in the move to 1.1.2? My fault entirely, and something that should have been obvious with basic fault-finding on my end.
Now, about these localization files where one can find the item IDs? Drawin' a bit of a blank here; any pointers to their "location"? Sorry.
Thanks for your patience earlier, and the offer to check a log file. With my technical shortcomings, however, that would have been another challenge, so I'm glad I was able to chase it down myself.
Bit late to the party but does anyone know how to add the code so ancient relics drop from mining? in "...steamapps\common\Star Valor\Language" the code is 48 but whenever i edit the config, it throws an error :(
having checked the file and the config, it seems that something is off, in the custom config 36 - Impact Absorber is actually listed as 072 Impact Absorber| in the games config.... so now ive no idea where its pulling the listed items from.
I'm a little confused after reading the sticky post part about editing parameters.
So some of them are "whole numbers", and some of them are "decimal numbers". Trying to edit either using the in game UI results in neither being able to go bellow zero, and neither being able to use decimal places: IE: 1.5 or 1,5 just ends up as 15. Less than 1 just ends up as 0.
Editing the config file itself with notepad has better results .. as far as the config UI in game is concerned. It will read a 1.5 as a 1.5 .. as long as you don't edit it. Whether it's actually functioning as 1.5 I have no clue. The config file will allow 0.5 for something like xp multiplier .. but it will read as 0 in the UI ..and result in only 1xp any time you would gain it ( presumably because the game has a limit of 1xp no matter what ).
Trying to follow the comma explanation in the sticky post for xp multiplier using the text editor results in the plugin not even loading: IE: ( ,5, ) ( 0,5, ). So either it doesn't work for the whole number parameters .. or I'm doing something else wrong by not being able to follow the explanation.
I noted that the in game UI .. despite having a save button, will actually save values anyway when you use the close button instead. Also the UI hates not having a 0 in a value spot. You can't delete one already there if it's by itself, or highlight it to replace it with another number like 1. You have to add a number first, like making it 10 ... then you can delete the 0 to make it 1.
Having the UI separated into 3 groups seems interesting .. but then it's puzzling why you can click on each group and highlight it's boarders .. which doesn't seem to do anything other than visually. I feel like it's distracting / misleading enough that it doesn't have to do it at all. If you could drag the UI around the screen and have it stay that would be useful, and to get it out from bleeding into parts of the game UI at the top of the screen.
How do we get these values to be what they are unmodded? I only want to use a couple things, not amplify everything. Is it just setting them to 1? Specifically, all the mining options, scavenge options, equipment/weapon space, and experience/reputation/knowledge options.
38 comments
Added the ability to edit the mining drop table. See CustomBonusModDrop.json config. The first value is the id of the item, the second is its type. You can find the id in the localization files.
Changed some parameters to a constant number. Before that there was a multiplier, but it only worked if you already have some bonus from the ship/perks/equipment. Look at the parameter names. The + at the end means it's a constant number.
Some parameters may not be integers. For example RefineTime. To set a number less than one, put a comma before the number greater than zero, or separate the two numbers with a comma.
And look at this mod, maybe someone wants to add their own ship?
After installation of the new plugin, a run and restart of the game, there is not a "CustomBonusModDrop.json" file created in the config folder.
So, a little puzzled here. Ideas, or am I doing something obviously wrong?
Thanks for checking into this, and thanks the great mod!
I completely removed the mod and checked it with the version from here, everything works.
Can you send the Unity log file. Perhaps there is some mistake. I really don't know what could go wrong.
common\Star Valor\BepInEx\config
Parameter in config: WriteUnityLog = true
common\Star Valor\BepInEx\LogOutput.log
In my defense, I ... well, I got nothin'. OTOH, I don't thing it was necessary in the move to 1.1.2? My fault entirely, and something that should have been obvious with basic fault-finding on my end.
Now, about these localization files where one can find the item IDs? Drawin' a bit of a blank here; any pointers to their "location"? Sorry.
Thanks for your patience earlier, and the offer to check a log file. With my technical shortcomings, however, that would have been another challenge, so I'm glad I was able to chase it down myself.
#=======================================================|
[1] Weapons |
#=======================================================|
# -------------- Default weapons -----------------------|
000 Light Laser|
001 Burst Light Laser|
002 Light Cannon|
[1] Weapons - "1" is itemType
002 Light Cannon| - "002" is id, but you don't need zeros in front of the number
As for deleting .json, I didn't know it was necessary either. I'll check the code.
Edit: It's my fault that the config did not appear, fixed. Sorry.
having checked the file and the config, it seems that something is off, in the custom config 36 - Impact Absorber is actually listed as 072 Impact Absorber| in the games config.... so now ive no idea where its pulling the listed items from.
So some of them are "whole numbers", and some of them are "decimal numbers". Trying to edit either using the in game UI results in neither being able to go bellow zero, and neither being able to use decimal places: IE: 1.5 or 1,5 just ends up as 15. Less than 1 just ends up as 0.
Editing the config file itself with notepad has better results .. as far as the config UI in game is concerned. It will read a 1.5 as a 1.5 .. as long as you don't edit it. Whether it's actually functioning as 1.5 I have no clue. The config file will allow 0.5 for something like xp multiplier .. but it will read as 0 in the UI ..and result in only 1xp any time you would gain it ( presumably because the game has a limit of 1xp no matter what ).
Trying to follow the comma explanation in the sticky post for xp multiplier using the text editor results in the plugin not even loading: IE: ( ,5, ) ( 0,5, ). So either it doesn't work for the whole number parameters .. or I'm doing something else wrong by not being able to follow the explanation.
I noted that the in game UI .. despite having a save button, will actually save values anyway when you use the close button instead. Also the UI hates not having a 0 in a value spot. You can't delete one already there if it's by itself, or highlight it to replace it with another number like 1. You have to add a number first, like making it 10 ... then you can delete the 0 to make it 1.
Having the UI separated into 3 groups seems interesting .. but then it's puzzling why you can click on each group and highlight it's boarders .. which doesn't seem to do anything other than visually. I feel like it's distracting / misleading enough that it doesn't have to do it at all. If you could drag the UI around the screen and have it stay that would be useful, and to get it out from bleeding into parts of the game UI at the top of the screen.
type 2:
192 - Purple Holocron
191 - Yellow Holocron
190 - Consortium A.I
189 - Repair Drone Bay Mk.II
188 - Attack Drone Bay Mk.II
187 - Phase Shifter
186 - Attack Drone Bay Mk.IV
185 - Drone Enhancer: Utility
184 - Drone Enhancer: Targeting
183 - Drone Enhancer: Detonator
182 - Terran Mantle
181 - Drone Detonator
180 - Heavy Xentronium Plating
179 - Heavy Nanomorph Plating
178 - Heavy Fullerite Plating
177 - Fullerite Plating
176 - Heavy Neutronium Plating
175 - Heavy Zortrium Plating
174 - Heavy Tritanium Plating
173 - Advanced Titanium Plating
172 - Lootfilter
171 - Lootfinder 3.0
170 - Lootfinder 2.0
169 - Lootfinder 1.0
168 - Scavenger Scanner
167 - Turbo Flux Refinery
166 - Ardonian Energy Barrier
165 - Pirate Protector
164 - Improved Energy Barrier
163 - Energy Barrier
162 - PMC Collector Beam
161 - Collector Beam
160 - Flux Accumulator
159 - Warp Diverter
158 - Flux Capacitor
157 - Large Miners Reactor
156 - Weapon Stabilizer
155 - Venghi Charger
154 - Heavy Warp Towage Array
153 - Warp Towage Array
152 - Ardonian Mobile Refinery
151 - Pirate Heavy Booster
150 - Pirate Speed Booster
149 - Pirate Capital Impulse Drive
148 - Capital Impulse Drive Mk.V
147 - Pirate Heavy Impulse Drive
146 - Heavy Impulse Drive Mk.V
145 - Terran Mantle
144 - Ardonian Cloaking Device
143 - Syndicate Expansion Module
142 - Large Expansion Module
141 - Cargo Expansion Module
140 - Sensor Amplifier Mk.IV
139 - Sensor Amplifier Mk.III
138 - Sensor Amplifier Mk.II
137 - Sensor Amplifier
136 - Ardonian Plating
135 - Large Lateral Thrusters Mk.IV
134 - Large Lateral Thrusters Mk.III
133 - Large Lateral Thrusters Mk.II
132 - Lateral Thrusters Mk.IV
131 - Lateral Thrusters Mk.III
130 - Lateral Thrusters Mk.II
129 - Heavy Energy Armor
128 - Large Gyroscope Mk.IV
127 - Large Gyroscope Mk.III
126 - Large Gyroscope Mk.II
125 - Gyroscope Mk.IV
124 - Gyroscope Mk.III
123 - D. O. Sweeper Drive
122 - PMC Mobile Refinery
121 - Advanced Mobile Refinery
120 - Basic Mobile Refinery
119 - Heavy Mining Drone Bay
118 - Mining Drone Bay
117 - Repair Drone Bay Mk.II
116 - Attack Drone Bay Mk.III
115 - Attack Drone Bay Mk.II
114 - Nodolo's Warp Mod
113 - Nodolo's Combat Mod
112 - Ardonian Huge Battery
111 - Ardonian Large Battery
110 - Ardonian Small Battery
109 - Venghi Large Reactor
108 - Venghi Reactor
107 - Optronic Warp Drive
106 - Ardonian Warp Drive
105 - Optronic Computer
104 - Improved Repair System
103 - Shield Charger Mk.III
102 - Gyroscope Mk.II
101 - Superior Hull Reinforcement
100 - Energy Armor
99 - Terran Armor
98 - Heavy Tractor Beam
97 - Capital Impulse Drive Mk.IV
96 - Green Holocron
95 - Red Holocron
94 - Blue Holocron
93 - Pathfinder 3.0
92 - Pathfinder 2.0
91 - Pathfinder 1.0
90 - Debris Analyzer 3.0
89 - Debris Analyzer 2.0
88 - Debris Analyzer 1.0
87 - Thorium Warp Drive
86 - Speed Booster Mk.III
85 - Speed Booster Mk.II
84 - Cloaking Device
83 - Improved Tractor Beam
82 - Tractor Beam
81 - Improved Hull Reinforcement
80 - Hull Reinforcement
79 - Capital Impulse Drive Mk.III
78 - Capital Impulse Drive Mk.II
77 - Capital Impulse Drive
76 - Venghi Heavy Armor
75 - Lithrium Skin
74 - Hyper Cooling
73 - Nitro Cooling
72 - Large Capacitor
71 - Small Capacitor
70 - Huge Battery
69 - Venghi Heavy Shield Generator
68 - Large Ion Reactor
67 - Ion Reactor
66 - Heavy Impulse Drive Mk.IV
65 - Light Shield Generator
64 - Automated Repair System
63 - Trader Codex 3.0
62 - Trader Codex 2.0
61 - Trader Codex 1.0
60 - Asteroid Analyzer 3.0
59 - Asteroid Analyzer 2.0
58 - Asteroid Analyzer 1.0
57 - Venghi Light Armor
56 - Shield Absorber Mk.II
55 - Shield Charger Mk.II
54 - Heavy Shield Generator Mk.II
53 - Shield Generator Mk.III
52 - Xentronium Plating
51 - Miners Reactor
50 - Syndicate Scanner
49 - Pirate Impulse Drive
48 - Venghi Shield Generator
47 - Pirate Heatsink
46 - Shield Generator Mk.II
45 - Heavy Shield Generator
44 - Heavy Impulse Drive Mk.III
43 - Impulse Drive Mk.V
42 - Heavy Impulse Drive Mk.II
41 - Impulse Drive Mk.IV
40 - Impulse Drive Mk.III
39 - Impulse Drive Mk.II
38 - Thorium Scanner
37 - Impact Booster
36 - Impact Absorber
35 - Heatsink
34 - Attack Drone Bay
33 - Repair Drone Bay
32 - Large Lateral Thrusters
31 - Large Gyroscope
30 - Spotlight
29 - Large Fusion Reactor
28 - Fusion Reactor
27 - Battle Computer 3.0
26 - Battle Computer 2.0
25 - Battle Computer 1.0
24 - Inertial Nullifier
23 - Inertial Stabilizer
22 - Neutron Scanner
21 - Tachyon Scanner
20 - Basic Scanner
19 - Shield Absorber
18 - Shield Charger
17 - Shield Generator
16 - Gyroscope
15 - Neutron Warp Drive
14 - Iridium Warp Drive
13 - Deuterium Warp Drive
12 - Speed Booster
11 - Lateral Thrusters
10 - Heavy Impulse Drive
9 - Impulse Drive
8 - Nanomorph Plating
7 - Neutronium Plating
6 - Zortrium Plating
5 - Tritanium Plating
4 - Large Battery
3 - Small Battery
2 - Large Nuclear Reactor
1 - Solar Reactor
0 - Nuclear Reactor
type 1:
0 Light Laser
1 Burst Light Laser
2 Light Cannon
3 Medium Laser
4 Light Laser Beam
5 PD Laser
6 Small Missile Launcher
7 Simple Mining Laser
8 Demolition Missile Launcher
9 Plasma Cannon
10 PD Laser Beam
11 Heavy Laser
12 Ion Cannon
13 Rapid Medium Laser
14 Medium Laser Beam
15 Rapid Vulcan
16 Burst Medium Laser
17 Burst Missile Launcher
18 Improved Laser Beam
19 Heavy Laser Beam
20 Burst Cannon
21 Simple Repair Beam
22 Small Laser
23 Heavy Mining Laser
24 PD Rapid Laser
25 Pulson Missile Launcher
26 Gatling Vulcan
27 Heavy Cannon
28 Impact Mine
29 Heavy Plasma Cannon
30 Charging Heavy Laser
31 Fast Piercing Laser
32 Miners Laser
33 Capital Pulse Laser
34 Capital Laser Beam
35 Capital Laser Beam Mk.II
36 Ultra Laser Beam
37 Ultra Cannon
38 Ion Beam
39 Doom Cannon
40 Heavy Mine
41 Venghi Light Blaster
42 Venghi Heavy Blaster
43 Venghi Missile Launcher
44 X-27 Flak Cannon
45 Improved Repair Beam
46 Flak Cannon
47 Heavy Vulcan
48 Peacemaker
49 Plasma Torpedo
50 Venghi Death Ray
51 Charging Laser
52 Railgun
53 PD Orb
BepinEx (x86) isn't making any files when launching Star Valor. I tried the x64 version too and nada.
Need the 32 bit version to make it work.