modding the starting system

Forum For Privateer Remake

Postby Dilloh » Sun Nov 18, 2007 11:38 am

1) No idea (yet) - will dig for it
2) weaponslib usually shouldn't affect new ships. Simply make sure that the ship is listed in units.csv properly (to make sure that it acutally works hack yourself one in the safegame). Buyable items and ships are listed within master_part_list.csv, here you should make sure that all ships are listed before turrets start.
User avatar
Dilloh
Elite Hunter
Elite Hunter
 
Posts: 1149
Topics: 25
Joined: Mon Aug 14, 2006 8:56 am
Location: Black Forest, Germany

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Postby esgaroth » Mon Nov 19, 2007 1:00 pm

In the weapons lib, you have the following part
Base.Link (room0, 'my_link_id', -0.975, 0.26, 0.4375, 0.353333, 'Ship_Dealer', room1)
Base.Python (room1, 'my_comp_id', -0.9925, -0.263333, 0.8875, 0.56, 'Buy Centurion', '#\nimport weapons_lib\nweapons_lib.ShipPurchase(\'centurion\')\n',True)
Base.Python (room1, 'my_comp_id', -0.6825, -0.973333, 0.77, 0.516667, 'Buy Orion', '#\nimport weapons_lib\nweapons_lib.ShipPurchase(\'orion\')\n',True)
Base.Python (room1, 'my_comp_id', 0.2925, -0.96, 0.68, 0.733333, 'Buy Galaxy', '#\nimport weapons_lib\nweapons_lib.ShipPurchase(\'galaxy\')\n',True)
Base.Link (room1, 'my_to_sd_concourse_id', -0.27, 0.466667, 0.1725, 0.293333, 'Return_To_Concourse',concourse)
Base.Link (room1, 'my_to_upgrade_concourse_id', 0.415, 0.0533333, 0.3175, 0.24, 'Return_To_Concourse',concourse)
Base.Link (room1, 'my_link_id', -0.0175, 0.336667, 0.66, 0.45, 'Upgrade_Ship', room0)
return room1

which governs the purchase of new ships and innediately sells the one you have. Changing e.g. orion to akira didnt work- but your tip with the master part file was correct. Changing plus adding the ship in the master part file (and not just the akira but the akira.blank) solved the problem.
Thanx !
esgaroth
Confed Special Operative
Confed Special Operative
 
Posts: 317
Topics: 34
Joined: Mon Jan 19, 2004 5:48 am
Location: Konstanz, Germany

Postby Dilloh » Tue Nov 20, 2007 12:06 am

Ah okay - weapons lib affects the showroom you enter before you actually reach the shipdealer. It is a seperate room selling the "stock" PR ships - you could create a new image if you like and put in the most common ships of the universe there, or simply get rid of this room.
User avatar
Dilloh
Elite Hunter
Elite Hunter
 
Posts: 1149
Topics: 25
Joined: Mon Aug 14, 2006 8:56 am
Location: Black Forest, Germany

Previous

Return to Privateer Remake

Who is online

Users browsing this forum: No registered users and 1 guest

cron