Starbound
[OBSOLETE] Redemption-MPI support
7 σχόλια
n3uva 25 Ιουν 2022, 14:06 
thx
Armok  [Δημιουργός] 25 Ιουν 2022, 13:50 
@Amcyeet cockpit.config.patch
n3uva 25 Ιουν 2022, 0:56 
what do I name the patch file?
n3uva 22 Ιουν 2022, 12:58 
alright thx
Armok  [Δημιουργός] 22 Ιουν 2022, 12:48 
@Amcyeet you basically have to patch the cockpit.config file under the yourmodnamehere/interface/cockpit folder directory. The patch itself is basically as follows:
[{
"op": "add",
"path": "/displayDungeons/r-USCMbunker",
"value": {
"description": "Encrypted signals are coming from this old bunker. Their signature suggest a USCM remnant holdout.",
"icon": "/interface/cockpit/dungeons/human.png"
}
}]
noting the icon, you can add your own by adding a sprite under the yourmodnamehere/interface/cockpit/dungeons folder and having the name of that new icon be referenced instead of human.png

the internal name of your dungeon (aka what's in the .dungeon file for it) is what you want to have replacing r-USCMbunker here, and of course the description part is rather self explanatory
n3uva 22 Ιουν 2022, 12:17 
how do I make a patch for MPI?
Armok  [Δημιουργός] 10 Ιαν 2021, 9:15 
@snasnite this enables more planet info support for project redemption, it'll now tell you when there's a USCM remnant bunker on a planet