1
Announcements / Re: Starsector 0.97a (Released) Patch Notes
« on: February 06, 2024, 12:18:47 AM »maybe we need a "Recover and Mothball" button
Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)
{
"angle": 0,
"arc": 5,
"id": "WS 005",
"locations": [
12,
20
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "MISSILE"
},
{
"angle": 0,
"arc": 5,
"id": "WS 006",
"locations": [
11,
-19
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "MISSILE"
}
Why do you need Logger access to the mothership?
If you can explain exactly what you're trying to do here, I may be able to help.
Right yeah you can't have two options link to the same rule condition by having the option ids be the same - the game will link them on one line, but you can have the unique option ids link to essentially the same response by copying the initial rule you want to point to and having the second version's condition be the second option id you want to use.
Rough example:
options:
options.addOption("TextA", OptionId.A);
options.addOption("TextB", OptionId.B);
options.addOption("TextC", OptionId.C);
rule 1
condition: id == OptionId.A
run script A
generate text A
rule 2
condition: id == OptionId.B
run script B
generate text B
rule 3
condition: id == OptionId.C
run script B
generate text B
Hi! It looks like you're probably not setting the sprite's center? Assuming the replacement sprite is the same size as the original - which iirc it needs to be - the center needs to be set to be the same as the original sprite.setCenter worked,thank you!
newSprite.setCenter(oldSprite.getCenterX(), oldSprite.getCenterY())
Or some such...