Wow Quarks, thank you very much for such a detailed answer!
While I was waiting for an answer yesterday, I went ahead and did some research of my own. I learned about the UTFEditor and read a guide about how to add hard points. I think I understood everything about the orientation vector (if I run into a problem I’ll be sure to ask it here ).
I also did some extensive combing through the different ini files, in order to see what I can do about a Nomad turret.
So, for the 2 things I wanted to do, I decided to proceed the following way:
1. For the freighter I decided to make a completely new one, albeit heavily based on the Humpback. This will impact the vanilla game balance the least and achieve my goal in a smoother fashion. That is, to have a freighter type ship that is viable late game (ie on the same level as the Very Heavy Fighter ships).
I will base it on the Humpback but buff it’s stats (armor, energy, shield and weapon classes) as well as add a new CD/Torpedo hardpoint. It will be available at Freeport 9 for lvl 30+ players. I’ll probably call it “Civilian CTE-5000 Bastion Freighter”.
2. The second thing I wanted to do is make high level turrets available, so my freighter has appropriate weapons to use. Originally I wanted to make the Nomad turret available, but after looking at it’s model with the UTFEditor and looking at how the other Nomad weapons are made available to the player, I decided against it (The 2 weapons are not mounted on any of the ships, they are a separate category (special nomad gun) and have completely different models. The reason players get them is because they are in the cargo of the Nomad ships, which then can be looted - found that in the loadouts.ini.).
So what I am going to do is just convert one of the 2 droppable Nomad guns into a turret (makes a lot more sense too - I mean the deal almost the same DPS). And while I am at it i want to convert a few of the artifact weapons found in wrecks into turrets too.
So, now that I know what I want to do, I have a few more questions.
1. For the new ship I managed everything so far, my only problem is the market_ships.ini. Why is the line of numbers that determines if the ship package is available so complicated? The first number is the required level, but then we have “-1, 1, 1, 0, 1, 1” for available ships and “-1, 0, 0, 1, 1, 1” for not available ships. Why isn’t it just 1 for available and 0 for not available?
Also, since I made a new package for my new ship (in the goods.ini) should I add it to every station’s block, even though I only plan on making it available at Freeport 9?
2. For the new turrets my question is: what changes to the ini sections of the weapons are necessary to transform a normal weapon into a turret. I now that I need to change the cmp and map files to “li_smlturret.cmp” and “li_equip.map”, since all equippable turrets in the game use these. I also need to change the “hp_gun_type” to the turret of the appropriate level. Anything else? What are these LODranges?
3. Finally, I would very much like to update the descriptions for the transformed weapons and make a new description for the new ship. Could you tell me how to change the dlls?
Thanks a lot in advance!