Do we have a way to italicize only part of a paragraph in a TextPanelAPI/TooltipMakerAPI/LabelAPI?
I found the ways to change text color within a para, and to italicize a whole para, but haven't managed to find a way for just a few words.
There's no way to do that, no. (Obivously technically doable! But enough of a pain that it's not something I'd want to get into barring a compelling need for it in vanilla.)
Hi, I want to make a little personal mod. I have no Idea on what's the best way to do this (if there's a way) My goal is to make ships tougher/more durable and capital ships less relevant.
1- I want to add additional armor, hull, ordinance points and reduce the speed of all ships (including ships from mods), all of this fixed by a percentage of the ships values. The only way I can think of doing
this is by making a hullmod, but I don't know if there's a way to add that hullmod to every single ship that spawn in the game (including bounties etc).
Hi! You might achieve this by creating a "hidden" hullmod and then adding it to all ShipHullSpecAPIs (Global.getSettings().getAllShipHullSpecs) in your ModPlugin.onApplicationLoad() method.
2- Make capital ships way scarcer and make it so only one capital ship can be deployed at the same time in a battle (1 for each "team" involved) I really don't know how could I do this.
Hmm, not sure how you'd do this - there's no code to limit deployment by ship type, just by deployment points.
1. How I make the name of a system be visible on the map, or not? (I want it to start the game hidden, and later reveal it after a quest)
Offhand, I don't know; nothing comes to mind. Hiding star systems isn't really a thing in vanilla. The Lights Out mod does something along these lines, though, but it doesn't hide just the name; you might want to look at how it does things.
2. I saw lots of code floating around about how to delete hyper-nebula on top of your system, but what if I want to ADD hyper nebula on top of system? (I want it to be actually hard to see)
Take a look at the NebulaEditor class - that, and where/how it's used, should hopefully point you in the right direction. IIRC tile values from 0 to 15 inclusive are the different tiles.