-
July 18, 2016, 04:21 PM
#1
Possible to only over-write one column from a table?
I would like to make a mod to change unit caps of certain units in the data__core without actually needing to copy the whole data core and over write every value.
So I want to only overwrite one column, the unit caps one in either main_units or land_units
-
July 18, 2016, 04:38 PM
#2
Civis
Re: Possible to only over-write one column from a table?
You can just copy the rows of all units you wanna change from the main_units table into your mod. You don't need the whole file, but you need the complete row. Remember to rename your version of the mains_units table to something else than data__core.
-
July 18, 2016, 04:48 PM
#3
Re: Possible to only over-write one column from a table?
yeah ok so you confirm what i suspected: that i cant only overwrite one column.
-
July 20, 2016, 09:58 AM
#4
Foederatus
Re: Possible to only over-write one column from a table?
Yeah, database tables are read by line the 'columns' are essentially registers - the code goes:
Line #0 (because computers count 0 as a number) Register 0, Register 1, Register 2, Register 3, Register 4, Register 5...and they foul up (causing CTD on boot) when the code that's calling the line expects an entry and doesn't get one, or gets one that's invalid
They don't go 'Register 0, all lines'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules