Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
C4V's guide on composite
By C4V Engineering
Composite is one of the most important things to understand in SW (stormworks). This basically a way to transmit lots of data from one place to another kinda like a zip folder if that makes sense. Ok let's get into it.
   
Award
Favorite
Favorited
Unfavorite
composite
Ok so the way comp can be explained the easiest is a zip file, you zip up everything then unzip. It's more of a transmission so you code everything in then you send it out then you decode it. Now comp or composite (you will hear me say comp way more sense who wants to actually write out composite every half second) can do a lot of things aka just send and receive 32 types of data (bool or number).

Now comp can

Send 32 bool
Send 32 number
Receive 32 bool
Receive 32 number

For a total of 32 channels. Wait, that's not right. Ok so people have different ways of how many things you can send and receive. Some say 32 became that's how many channels there are. Some say 64 sense bools and numbers are different from each other. Now I say 128 became you can receive AND send bool and numbers. Now if you know basic math you know 32*4 is 128. Now some have said with that logic you can also add in video and audio but those are like the radios where you can have an infinite amount of channels. Now you can see why people say this is confusing but it gets better.

So to send channels out you need to write because you need to write the bool or number. Now you have a default channel and that is for what is the default channel you want it to start on and a channel amount which just adds that amount of nodes. So let's say you want to start on channel 2 and you have 3 numbers. Just set the default to 2 and the channel amount to 3 and you're good to go. Now you can also set it to a variable number for the default channel and you could hook this to a slider or a number and it's just so you can have a variable channel start. Now there may be something you have noticed. The other comp node. So what that does is a pass through. So let's say you have a bool write and a number write. Instead of having two separate comp nodes you can just pass through the bool through the number or other way around.

Ok lets go over how to receive and your going to need a read of that type. Ok this one is simpler. Hook comp to the read and set its channel your you're good to go. Now it also has a variable channel as well, so keep that in mind.

Now you know how I said you can transmit 128 channels well I was kinda lying. Ok not really. This is where we get confused. If you send out on channel 32 a bool and you receive on channel 32 bool you can sometimes end up with a loop but this has only happened like once to me but just keep in mind. Ok I might want to go over the 128 thing and say how I got there. So let's just look at bools. Input is different from output so you can send a bool out and receive a bool at the same time (that saying if you didn't screw up your logic like me) and the same goes for numbers as well. You can send off 2 and revise 3 while all on the same channel. Now it's still 32 channels but you can send 64 things out and receive 64 things.

Ok so you might now have a headache like me but lets go over real quick what you can use these for. If you send a bool on channel 1 on frequency 440 in a radio you can switch tracks. Different ganterys have different channels and frequencies which also use comp. Now mod engine cylinders use comp and radars use comp. Oh how about instrument panels, RGB, lasers, missiles, hell even cameras use them. Ok just saying, comp is life.

If you're confused about engines , can I interest you in something
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2733574790 How about new radar
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2757245531

Ok back to heada.. I mean comp. Why do all my guides have headaches.. Oh wait. This is me were talking about. Ok so lets go over ways to A- transfer comp and B- little things to make your life that one less painful. Ok so you can transfer comp through connectors, cables, radio and hardpoints. Now one thing you can do to make your life one less painful is using a notepad to write down all your channels and using purport sliders in the micros to have custom channels.

Ok finally word.
Comp is life.
2 Comments
gtipping 31 Aug, 2024 @ 1:14pm 
If you hate yourself and don't care about a slow data rate you also incorporate packet sending by using the binary channels or the first numerical channel to count which "packet" of data you are on and alternate packets each tick. Though you are capped to just under 2000 channels of data per second which is a bit of a pain for high throughput since its only about the speed of a dial-up connection at max
Squid ward the III 5 Aug, 2022 @ 5:05pm 
nice guild