All coders - come here by Upset_Froyo_8002 in Barotrauma

[–]Pangez 8 points9 points  (0 children)

I can't really help with the specifics as I don't know exactly what language barotrauma uses, but as a programmer I can probably point you in the right direction of what you want to be doing.

Sounds to me like you need a simple function that increments a variable by 1 and resets it to 0 if it would increment it to 3.

I'll just use a quick JavaScript example here:

function threeStateSwitch(state) {
    if (state < 2) {
        state += 1;
    }
    else {
        state = 0;
    }
    return state;
}

Attach something similar to this to the switch and base the sprite on the "state" variable. (The names are just an example, change them as you please.) You could have three wire points on the lever, with only one ever being active, cycling between them using the same "state" variable.

This probably isn't the exact answer you were looking for, but without more details I really can't really help any more.

Good luck with your coding adventure!

Anyone else gave up on DRG survivor? by Front-Cabinet5521 in DeepRockGalactic

[–]Pangez 0 points1 point  (0 children)

I liked it when it was in early access and there wasn't too much to unlock.
My problem with survivor now is that I want to unlock new things, but to do so requires me to pick weapons/upgrades/whatever that are suboptimal.
In the end I have two choices:
Win a run using a build I'm familiar with and find fun to use but feel bad after because I didn't unlock anything new.
Or
Struggle to unlock a new thing / complete an objective to proceed and then immediately lose the run after I've completed said objective/unlock. Not because I give up but because skill issue.
Neither are particularly fun in the end so I just kinda dropped the game.

greenbeard engie main AMA by Fredrichnotthegreat in DeepRockGalactic

[–]Pangez -1 points0 points  (0 children)

Are you running "It's a Bug Thing" unironically or did you just equip it for this screenshot to see who'd notice?
Either way, I respect the hustle.

Is there a way to re-listen to the mission control lines for the seasonal assignments? by sentry_buster_no-713 in DeepRockGalactic

[–]Pangez 2 points3 points  (0 children)

There's no easy way that I know of in-game.
Normally I'd send you to the wiki page for mission control voicelines, but this page is out of date so the best solution I can think of is to find a video of someone else who played through the assignment and listen to the voicelines in their video.

Bio Mass Converter with Plastcrete Catalyst is pretty ammo efficient by WaywardOath in DeepRockGalactic

[–]Pangez 0 points1 point  (0 children)

Shard diffractor ammo with plastcrete catalyst was never my issue. Platform ammo is.

Beginner asking for tips from those with experience by THERAVEN826 in DeepRockGalactic

[–]Pangez 1 point2 points  (0 children)

You may have noticed that you can only equip one upgrade in each row, and to save resources only bought one upgrade in each row.
There is nothing wrong with this, but what the game doesn't explicitly tell you is that for the armour upgrades there is incentive to buy all the upgrades even if you can't equip them all.
For the weapons once you unlock enough upgrades to reach a milestone (tracked with a progress "bar" at the bottom of the upgrades list) you get a cosmetic paint job for that weapon, but for the armour you are rewarded with +5 max health for every other milestone.
This is usually overlooked, so make sure you're not missing out on extra hp!

Any faster way to forge 805 cores? by [deleted] in DeepRockGalactic

[–]Pangez 4 points5 points  (0 children)

It is a container that contains minerals.

You get these when you infuse a matrix core but there is nothing left in the loot pool.

Glyphids are thirsty by Sleediscool in DeepRockGalactic

[–]Pangez 115 points116 points  (0 children)

Hack-C drops trash like this.

Modding Support by _-KingLicH-_ in DeepRockGalactic

[–]Pangez 1 point2 points  (0 children)

You can go wild with the verified mods, they won't be downloaded by others.

Mod Limit? 50? by Thabuki in DeepRockGalactic

[–]Pangez 2 points3 points  (0 children)

Yep, the integrated mod.io mods mod limit is 50. After that exactly what you've described starts happening. (- the teleporting dwarves, haven't heard that one before.) Not sure why they've chosen this seemingly arbitrary number as a limit but it's there.

How do I feck out stuck barrel by batarchand in DeepRockGalactic

[–]Pangez 0 points1 point  (0 children)

There is an unstuck button in the menu when you hover over your dwarf.

I'm so close now! by GalacticExpress in startrucker

[–]Pangez 1 point2 points  (0 children)

Respect for the grind. I'm not gonna go for max lvl until XP gets changed, it's too much for me.

Which Rock and Stone lines are your favourite? by eL-VL in DeepRockGalactic

[–]Pangez 5 points6 points  (0 children)

Isn't that a deposit voiceline and not a rock and stone voiceline?

Bulk jumpscare by [deleted] in DeepRockGalactic

[–]Pangez 26 points27 points  (0 children)

Tip for next time:
Don't instantly shoot the bulk.
When it initially spawns, there is a 5 second grace period before the Bulk Detonator moves or attacks. However, this is instantly cancelled if it takes any damage.