Capship Weapons

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
w03
Mercenary
Mercenary
Posts: 125
Joined: Sat Apr 11, 2009 1:47 am

Re: Capship Weapons

Post by w03 »

Well, I searched master_part_list.csv, and found many capship weapons (flak/antimatter/capship missiles) and strange ships (kierkergaaurd/kafka/GTIO) that seem buyable, but I can't find them anywhere!
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Capship Weapons

Post by MC707 »

w03 wrote:Well, I searched master_part_list.csv, and found many capship weapons (flak/antimatter/capship missiles) and strange ships (kierkergaaurd/kafka/GTIO) that seem buyable, but I can't find them anywhere!
If I am not mistaken, you can't buy the ships you just mentioned. I guess you can only hack to get da ride :P
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Capship Weapons

Post by loki1950 »

If they are in the master_part_list.csv they are buyable but the corresponding import cargo entries are missing from base entries in units.csv in other words the job ain't finished :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Capship Weapons

Post by MC707 »

loki1950 wrote:If they are in the master_part_list.csv they are buyable but the corresponding import cargo entries are missing from base entries in units.csv in other words the job ain't finished :wink:
Oh so thats the case...? nice nice. So what ships are not buyable then? And, is there going to be a point when every ship is going to be buyable? Or not for balancing issues?
For instance, will the Agasicles baby be buyable at some point? :twisted:
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
athomic1
Bounty Hunter
Bounty Hunter
Posts: 137
Joined: Wed Apr 08, 2009 6:07 am

Re: Capship Weapons

Post by athomic1 »

One thing I noticed in master_parts_list.csv is, a lot of those ships are assigned to the starships/restricted category, which almost certainly means the player can't buy them. Whether some of these will eventually be moved to buyable categories, I don't know, but I'm hoping.

What I would really like to see is more capships eventually become available, and more "rare" ships that show up either just every now and then at certain types of bases (clues to such would be very cool!), or somehow as rewards for completing special missions. 'twould make things a little more interesting as one wanders from system to system, I think... :wink:
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Capship Weapons

Post by MC707 »

Thanks for the answer athomic. As you can see, my Linux partition is already messed up so I can't check master_parts_list.csv :oops:
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
w03
Mercenary
Mercenary
Posts: 125
Joined: Sat Apr 11, 2009 1:47 am

Re: Capship Weapons

Post by w03 »

Well, I tried editing master part list and units.csv to make the kafka/GTIO/etc. buyable, and it worked, but only for ships already in the list. For example, if I change "Kafka" "Starships/restricted" to "Starships/Merchant/Light" and edit units.csv so watsons carry kafkas, the code works, and I can buy kafkas. But, if I try the same thing with a Tesla.blank by creating a new row and assigning it to "starships/andolian/light_capship", the Tesla never shows up at the watson. Can anyone tell me how to hack a tesla? Thanks in advance!
athomic1
Bounty Hunter
Bounty Hunter
Posts: 137
Joined: Wed Apr 08, 2009 6:07 am

Re: Capship Weapons

Post by athomic1 »

w03 wrote:Can anyone tell me how to hack a tesla? Thanks in advance!
That's a good question, to which I have no reliable answer. I haven't started hacking anything. I'm a little afraid to, yet... :oops:

That said, I'm going to guess that an entry in master_parts_list.csv requires a matching one in units.csv, which I believe defines all valid units, buyable or not. The two files follow different schemas: the MPL contains just a few columns related to buying an item; the units file defines what it is, what it has, and to some degree, how it works.

Here is (part of) the MPL line for a stock Llama:

Code: Select all

"Llama.stock","starships/Merchant/Light",180000,1000,20000,"What can be said of a llama..."
I cut the last column short for brevity. As you can probably see, it contains the item description. As for the rest, the line starts with the unit's identifier, followed by its category "path", cost, some other number (think it's cargo mass), and cargo volume. Basically, all the data used in the cargo and upgrade screens. Nothing that really tells the engine how it works as a starship; that information is in units.csv:

Code: Select all

Llama.stock,./vessels/Llama,Llama,MANEUVOUR,Vessel,SHUTTLE,Venerable LIHW built armed light cargo shuttle,llama-hud.spr,7,,0,0,3.5,{llama.bfxm;;},,,,,,,230,230,25,500,1,1,1,1,1,1,1,1,75,75,75,75,,,,,4,0,325,100,15,FALSE,1,,300,120,1,4,50000,50000,50000,45,50,55,17000,17000,15000,4000,4000,4000,4000,125,125,FALSE,FALSE,300000000,4,180,25,2000,,,,,0,0,0,0,0,1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1,1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1,1,1,1,1,1,1,1,1,0,0,,,,mult_shady_moreupgrade:1;mult_shady_morethrust:1;mult_shady_moreshields:1;mult_shady_moregunrecharge:1;mult_shady_moreshieldrecharge:1;mult_shady_moreturning:1;upgrades/Overdrive:1;upgrades/Capacitors:1;upgrades/Reactors:1;upgrades/Armor:1;upgrades/Sensors:1;upgrades/Shield_Systems:1;upgrades/Passenger_Quarters:1;upgrades/Repair_Systems:1;upgrades/ECM_Systems:1,,;;;;;;,{supernova.bmp.bfxm;0.00000e+0;0.350000;-2.09200;2;;;;;}{supernova.bmp.bfxm;1.31600;-6.00000e-3;-1.82200;2;;;;;}{supernova.bmp.bfxm;-1.32800;-6.00000e-3;-1.82200;2;;;;;},{;;10;Light Medium;1.01200;-6.80000e-2;3.40800;;;;;;;;;1;1}{;;10;Light Medium;-0.964000;-6.80000e-2;3.40800;;;;;;;;;1;1}{;;5;Light;0.380000;0.176000;1.07600;;;;;;;;;1;1}{;;5;Light;-0.336000;0.176000;1.07600;;;;;;;;;1;1}{;0;48;light-missile medium-missile special-missile;0;0;0;;;;;;;;;1;1}{;0;48;light-missile medium-missile special-missile;0;0;0;;;;;;;;;1;1},,,,{skyscope1;upgrades/Sensors/Basic;200;1;0.01;1;1;1;;0}{capacitor01;upgrades/Capacitors/Standard;200;1;2;2;1;1;;0}{reactor01;upgrades/Reactors/Standard;200;1;1;2;1;1;;0}{add_spec_capacitor01;upgrades/SPEC_Capacitors;200;1;5;4;1;1;;0}{quadshield01;upgrades/Shield_Systems/Standard_Quad_Shields;200;1;1;4;1;1;;0},,0,360,0,,,,,,pPiI
No, I won't even try to explain this mess; not in this post, anyway.

Now, I believe, in order for this to work and let you buy the ship, you need not only an entry in the MPL, but its identifier (like Llama.stock, or Tesla.blank), must match an entry in the units file. Your entry does, so I don't think that's the problem here. Okay, that probably makes everything up to this point a waste of text, but I think I'll leave it. Who knows, maybe somebody will learn something from it...

OOPS!! Strike that. I think your entry might be wrong after all! The only two Teslas I'm finding in units.csv have all lowercase identifiers! If the line you added really starts with "Tesla.blank", try changing it to "tesla.blank". That just MIGHT do it, assuming a watson actually carries Andolian light capships. That was one of the alternative suggestions I was going to make. I was also going to suggest the system ignores *.blank ships entirely in the cargo and ship lists, but I see no reason to believe so, at this point.

The category issue is a lot more likely to throw you. According to my units.csv, the only ships a Watson does carry are various Confed models: Heavy, Light, Medium, and Milspec. I would suggest putting the Tesla into one of those categories, though I don't know if that will be enough. If the system checks the Tesla's cargo volume against the Watson's hold volume, it might not ever give you one, unless you cheat on that, too. :wink:
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Capship Weapons

Post by loki1950 »

You also need a ship.csv file in the relevant serialized_xml save folder for each ship you own :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
athomic1
Bounty Hunter
Bounty Hunter
Posts: 137
Joined: Wed Apr 08, 2009 6:07 am

Re: Capship Weapons

Post by athomic1 »

loki1950 wrote:You also need a ship.csv file in the relevant serialized_xml save folder for each ship you own :wink:
Oh, HEY! That's good to know! I think he's probably going to buy the ship, rather than try to hack it in, so he probably doesn't need this info, but that's VERY useful! :D

Thanks for posting!
w03
Mercenary
Mercenary
Posts: 125
Joined: Sat Apr 11, 2009 1:47 am

Re: Capship Weapons

Post by w03 »

Thanks, it worked this time and the tesla is buyable now (for 750000000 credits because it's blank). I'll try this for the H496 as well.
athomic1
Bounty Hunter
Bounty Hunter
Posts: 137
Joined: Wed Apr 08, 2009 6:07 am

Re: Capship Weapons

Post by athomic1 »

Hey, cool! :D Was it the lowercase identifier, or something else?

Keep us posted on the H496, eh?

I'm curious to know, from anyone who does: What's the difference between 'blank' and 'stock' models, anyway? I'm thinking it has something to do with basic upgrades that come with the 'stock' version, whereas the 'blank' is typically bare? Is that right, or is it something else?
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Capship Weapons

Post by loki1950 »

That's the basics and the .blank version is used when a new flight-group is spawned with the upgrades appropriate to the role of the group.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
athomic1
Bounty Hunter
Bounty Hunter
Posts: 137
Joined: Wed Apr 08, 2009 6:07 am

Re: Capship Weapons

Post by athomic1 »

loki1950 wrote:That's the basics and the .blank version is used when a new flight-group is spawned with the upgrades appropriate to the role of the group.
Does that mean the system generates the new ships from the *.blank files, and then upgrades them just before deployment? That's interesting...
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Capship Weapons

Post by loki1950 »

Yes thats the way it works have a look at the logs just after loading a new game some upgrades don't work so lots of messages in the logs.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Post Reply