Instead of calculating "energy" of thing on bearing attached to the generator, battery should apply some type of load like turned off gas engine that would be more realistic and balanced
@turrboenvy46122 жыл бұрын
This is the way. The generator would decelerate the spinning mass, and where a larger mass comes in is it has more momentum to decelerate, so it would spin for longer. Also this is awesome.
@Vessekx2 жыл бұрын
Yep. The energy generated is dependent on the angular velocity of the spinning part, not it’s mass. The mass will keep it spinning longer without applying more power to the input, but will take more energy to spin it up. (That’s the point of a flywheel.)
@gamebeast45102 жыл бұрын
And also realistically the barring shoud be on the motor caz with water or wind miles is basicly on a big motor but not powered
@reedtassell48472 жыл бұрын
Then you use pistons to make batteries and have infinite powah
@XnetRoidPL2 жыл бұрын
Also, it's not mass but moment of inertia. Much worse to calculate
@LordDEADTO0L2 жыл бұрын
Throwing you some support too DPP
@Dr-Pixel2 жыл бұрын
Oh my god! This is the first time I received a donation! Thank you SO Much! Any mod idea you wanna pitch while you're at it?
@LordDEADTO0L2 жыл бұрын
@@Dr-Pixel hahaha nah just keep doing you 😋
@loneside49122 жыл бұрын
Wow. I love how you "casually" made a gearbox of which is something us mechanical players have been wanting for forever! I think everybondy would love to see this idea expanded further into some kind of "Mechanical power transmission" mod or something. This is seriously huge, because the inconsistent collision physics makes 90 degree bevel gears and really any form of gears for transmission very, very, tedious. This would also apply very well to sruvival, because even there, the collisions are worse, especially with the slightly more floppy bearings it has. Love it!
@Dr-Pixel2 жыл бұрын
I'm not a fysiks expert (even though I had a lot at school), so idk if I wanna get that deep into it. But if anyone wants to improve the code, I'd welcome it!
@TheRealSoviet_Onion10 ай бұрын
@@Dr-PixelMate, please upload that to the Workshop
@botzmyth2 жыл бұрын
9:43 "OH this is a normal logic gate" 🤣💀 Youre doing some really cool stuff for this game! Great videos too
@Dr-Pixel2 жыл бұрын
Thanks! 😁 Programming is 69% being stupid and 30% doing something.
@TheRealYgrek2 жыл бұрын
@@Dr-Pixel and 1% ordering food to your home. At least in my case
@squoshi3072 жыл бұрын
Finally, a gearbox to go with the ACL gears mod!
@wickedfast21662 жыл бұрын
Battery generator for regenerative breaking would be neat
@danegerrard28842 жыл бұрын
Not sure if this has been done before, but could you try making a gearbox, basically an input bearing point and output bearing point, which takings the input speed and multiplies it by the gear setting, could also attached 2 button interactive points for the connect tool, to gear up and down if you've got multiple speeds in the gearbox
@DenserThanLead2 жыл бұрын
Fant mod has this
@RealPanzer9992 жыл бұрын
I love the desert. It's just simply amazing.
@JustIn-sr1xe2 жыл бұрын
The opposite of Raft mod, the Shack mod. that gearbox would be so useful btw.
@himenaaa35652 жыл бұрын
you just got a new subs!, how about made differrntial gears too? and for surival modes how about add some deconstruct bots?, it just giving you back about 80% for materials used in crafting? it just so funny playing with the crazy ideas from the comments xD
@pejot57302 жыл бұрын
Dr Pixel Plays you are amazing that gearbox mod it's soooo good, i have one request can you make a selectable gear ratio as 1:1 2:1 4:1 ???? that would be very cool
@supernova124582 жыл бұрын
A programmers most powerful tool: Copy and Paste + Maximum Jankiness
@xRIGGSx19922 жыл бұрын
"What is your spaghetti policy here?"
@matthrew2 жыл бұрын
Different gearbox levels Lvl 1: ×0.20 f9r effectiveness of the conversion Lvl 2: ×0.50 Lvl 3: ×0.75 Lvl 4: ×0.95 or 0.99, whatever feels approporiate Maybe a dev gearbox that has a perfect 1 to 1 conversion? Plus a crafting recipe idea: (if you know how) 1: logic gate and 1 bearing
@Vairoon2 жыл бұрын
nah nah, 1logic and 3 bearing
@_miobrot_6032 жыл бұрын
Hmm, this can probably be its own mod. Maybe the "Gearbox Mod" or Belt Mod. Keep up the awesomeness!
@Dr-Pixel2 жыл бұрын
That would be cool!
@Scier3572 жыл бұрын
You could just make the battery generator a part with a tube output and a bearing connection, that would make şt a bit more vanilla
@nickg63122 жыл бұрын
you should combine the mass of both parts when calculating the force
@ebbtheking83112 жыл бұрын
yes, a dedicated video on the desert world would be fun
@IsaacDaBoatSloth2 жыл бұрын
for the gearbox you can directly power the input rod thing
@miry.99442 жыл бұрын
these are very good parts of the mod. Are you going to do 2 parts?
@Dr-Pixel2 жыл бұрын
YES!
@ScottaHemi4402 жыл бұрын
2x2 bearing! actually an idea for the gearbox v2. automatric transmission ;) you knowhow the engine is usually ALL OR NOTHING!!! what if the transmission block transitioned the ALL of the engine into a stepped progression of power? preventing the wheelie of death issue?
@Dr-Pixel2 жыл бұрын
Not a bad idea, but I don't think I want to dive deeper into the physics of this...
@Luziferne2 жыл бұрын
@@Dr-Pixel Ask 00Fant for help with this, or at least look how he did his gearbox as inspiration. maybe set up modes for it as 1. gearbox for 90° angle of output, 2. Transmision to gear up/down with attached buttons/switch/logic or 3.as a differential that splits the output to 2(or more) sides
@suddeneevee94412 жыл бұрын
Science time: :) The power (Wattage) of an axle is it's torque multiplied by rotational speed. Or P = T×ω, where ω (omega) is rad/s. ( 2π radians= 1 rotation) So technically the 'dynamo' should measure speed and produce a torque opposite to that speed. Extra fun fact: This is an extension of straight line power: Power = Force × speed, or P = F×v.
@Dr-Pixel2 жыл бұрын
I'm done with school now, I don't want to understand anything you are saying. Spin go brrr! it's that simple. period.
@justinpatterson5291 Жыл бұрын
The "generator" could be used as regenerative braking, if it weren't for the fact electric motors come to almost a dead stop.
@KaneyoriHK2 жыл бұрын
You know something, there could be an interesting game mode with the desert world where you start with a small, terrible scrap vehicle with a crappy generator, you manually build up power at the start in order to drive around in order to fight wandering bots and scrap leftover vehicles on this long abandoned planet struck with desertification. Somebody's gotta make that game mode when it's an available option.
@Dr-Pixel2 жыл бұрын
Sounds nice, but a lot of work for me...
@TanningCat2 жыл бұрын
oh wow! i didn't know you could make scrap mechanic mods in lua. I've been coding in lua for around 4 years now and i kind of want to try this out
@Dr-Pixel2 жыл бұрын
Great, I have some tutorials coming soon
@SaremixUltrakill2 жыл бұрын
Gearbox Engine Is The Best Idea Ive Ever Seen In This Game And Im Very Happy To See That Now I Can Attach Gearbox Engine To My Wheels
@theredbuilder86862 жыл бұрын
Now we NEED SunShake Powered Engine, else i will come to your house and... XD
@Dr-Pixel2 жыл бұрын
^This
@Gta_dekone_81_YT2 жыл бұрын
pls more raft mechanic i love this series
@dudkipl28022 жыл бұрын
You should make a gearshift that has gears and can be shifted up or down using 2 buttons. the block should have a menu to set how many gears you want and if you want a reverse gear.
@AI-Idiot2 жыл бұрын
yeah, it should also make the load heavier on the grater gears and lower in the lower gears, I made one like that with the modpack (a blueprint) you connect the imput to the device and the device to the engine, and now you have a gearboxed engine... but its janky, a little too big, and definately not realistic, so a mod would be best
@geokou76452 жыл бұрын
“There is oil everywhere” Murica wants to know your location
@kvancgunesmarangoz18502 жыл бұрын
2:53 I SAW MY COMMENT (it was the portalgun)
@Dr-Pixel2 жыл бұрын
👀
@legofreak57692 жыл бұрын
it would also be nice to set a ratio in the gearbox
@BleachWizz2 жыл бұрын
7:40. nononono, it's: ( mass * distance (from axis of rotation) * velocity ^ 2 ) / 2 making it big straight like that shouldn't change it cuz it's distance 0
@Dr-Pixel2 жыл бұрын
I not smart. I just do funny stuff. You yoink all of my code and make it better.
@mediocreprogrammer2 жыл бұрын
What if with the gearbox, you connect two pipes going opposite directions?
@AlatroyX8 ай бұрын
America's daydream, oil county
@guillermoelnino2 жыл бұрын
I've been wanting to add a bunch of tiles to the survival mode, which seems to be easy to do, but can't really wrap my head around the rigid structure of survival map generation. I do like the road system and how it connects all the warehouses n such. but when you always start in a forest, the mechanic station is down the road to the right, the trader is behind the 1st packing station, etc. it gets old. Would love to see a truly random map where you don't know where anything is. Also a survival map size option would be sick.
@Dr-Pixel2 жыл бұрын
All doable. But there is no way to change the size once generated.
@Zipxarik2 жыл бұрын
You should eventually make a survival mod where the world is desert and you have cool parts so you can make cool desert vehicles like those ships the sandbenders use in Avatar The Last Airbender! I really like the raft mechanic mod and I think this would be cool to see
@mikedev1012 жыл бұрын
How about a clutch? Like two bearing inputs like the gearbox, but also a logic/number(modpack math?) input to set the clutch power?
@Zylop62 жыл бұрын
Please do more content like this! Its amazing!
@Dr-Pixel2 жыл бұрын
Definitely!
@qlek.2 жыл бұрын
the best video i have ever seen on your channel
@Dr-Pixel2 жыл бұрын
I'm glad you like it
@TheLaziestOfNerds2 жыл бұрын
I used the battery generator in survival and I had this kind of reactor where a lvl 5 controller spinned 60 t2 concrete and now I have infinite energy
@TheDutchRanger2 жыл бұрын
The gearbox would make a good differential by just adding the ability for a 3rd bearing
@DenserThanLead2 жыл бұрын
By any chance does the gearbox take into account the torque? Like if i stop the output from spinning will the input also stop?
@domcza49cz682 жыл бұрын
i didnt really excpect to mine be as the first one but thanks alot :D
@Dr-Pixel2 жыл бұрын
It seemed easy enough.
@domcza49cz682 жыл бұрын
@@Dr-Pixel ye
@fazmade2 жыл бұрын
You should make it so you can change the efficiency of the gear box
@DenserThanLead2 жыл бұрын
Gear ratio
@zxzx81732 жыл бұрын
i think you should make scrap mechanic but on the moon that would be really sick
@Dr-Pixel2 жыл бұрын
Yes, we can even change gravity!
@SomeoneNamedNatSi2 жыл бұрын
make 2 bearings have the same rotation so that you rotate one and the other one rotates the same anywhere on the same creation
@blackenderman92692 жыл бұрын
make an UI for the gearbox where you have a slider to adjust the ratio
@pascal20852 жыл бұрын
Kinetische Energie berechnet sich aus der linearen Geschwindigkeit, die mit steigendem Radius immer größer wird. Das spielt aber eh keine Rolle. Der Generator muss eine Last auf das Lager packen (im Endeffekt muss er also Bremsen). Die Masse bestimmt nur, wie viel Energie im System vorhanden ist und hat damit keinen Einfluss, wie viel Energie der Generator dem System für die Batterien entnehmen kann. Ich habe das jetzt Mal auf Deutsch geschrieben, weil ich kb sowas auf Englisch zu schreiben :D
@Dr-Pixel2 жыл бұрын
Yeah, I'm not too serious about the physics here anyway. With controllers you can always get infinite power.
@bricolomagnac10 ай бұрын
Hello could you help me? I'm trying to transform a joint in a mode _(I'm trying to turn the ball joint fromMrCrackx02 into a CV-joint)_ but I can't find any .lua or other files describing the behaviour of the joint in the mod, I'm probably missing something, would you know where that might be? Thanks in advance.
@mohammadnazriabdsamad82862 жыл бұрын
Is it possible to get drill heads to destroy cardboard blocks on contact when they spin (or does that mod already exists?).
@Dr-Pixel2 жыл бұрын
Yes, and I think someone made something like that.
@thatotherguy_092 жыл бұрын
how do you use the battery gen in survival mode?
@Fireheart3182 жыл бұрын
Can you make some sort of collisionless block that just goes through other blocks like pistons and suspension? It's so annoying to have to spend resources on stuff like that when you literally just want to make an axel or something.
@Dr-Pixel2 жыл бұрын
That is more of a survival issue really
@thefuturerex01972 жыл бұрын
S1 EP1:dr pixel doing devs work
@luckyowl8592 жыл бұрын
This was amazing!!!
@Dr-Pixel2 жыл бұрын
Thanks! I'd love to do more videos like this!
@luckyowl8592 жыл бұрын
@@Dr-Pixel Would you find the time to make some modding tutorials too? I’d love to get into this kind of stuff
@Dr-Pixel2 жыл бұрын
@@luckyowl859 The first I did kinda underperformed. I would definitley wait for full release of the 0.6.0 update.
@luckyowl8592 жыл бұрын
@@Dr-Pixel great to hear! Looking forward to it!!!
@cornbonzo70272 жыл бұрын
Would the battery generator and gearbox block have been possible within scrap mechanic before the update with filemodding? Or has the update opened up the game that much
@Dr-Pixel2 жыл бұрын
No, this was before the update.
@monke7919 Жыл бұрын
Every time I launch the game I get a warning that I can't download a mod because access was denied everything online says this means one of my mods was changed to private or was deleted but I can't figure out which mod it was how do I find the mod to uninstall it
@sarkilo2 жыл бұрын
What if you combine 4 gearboxes in such a way that they drive each other?
@8bitbunnie9362 жыл бұрын
this video makes modding look so easy
@Dr-Pixel2 жыл бұрын
Well, if you kinda now what you are doing, yes. But the last idea took 4 hours and is going to be its own video...
@8bitbunnie9362 жыл бұрын
@@Dr-Pixel oh, wow you really shortened it down in the video lol
@Dr-Pixel2 жыл бұрын
@@8bitbunnie936 Modding for this video took 3 and a half hours. The 4 hours are for a different video...
@8bitbunnie9362 жыл бұрын
@@Dr-Pixel oooh, sorry i misunderstood it previously.
@the_real_sublicious2 жыл бұрын
Axolot games should hire you
@glowytheglowbug2 жыл бұрын
4:30 explain what is on line 177 what have you done 💀
@Dr-Pixel2 жыл бұрын
I get all the things the block is connected to and then disconnect all objects that have a certain output type.
@glowytheglowbug2 жыл бұрын
@@Dr-Pixel whose children? have you yoinked
@danielrussell29592 жыл бұрын
Please make non elastic stabilized berrings lol just fix berrings and berring lag make them solid as a rock
@DenserThanLead2 жыл бұрын
Will just need like allot more procesing power, so no
@Dr-Pixel2 жыл бұрын
I don't think you can. You need to push a bearing to a desired angle, you cannot set it.
@danielrussell29592 жыл бұрын
Probs don't know what I'm talking about but if u have the Coordinates of the block on the creation relative to the creation not the world u can create a rotation point at a fixed axis relative to the creation that why there would be no stretch as it is fixed or even creat a solid part like the hellecoper motor on trailmakers a free spinning block that the block is the berring itself
@brblinko12462 ай бұрын
file download?
@trevismd2 жыл бұрын
Yoink that code! :) nice content.
@tigercub4752 жыл бұрын
mod is really cool but about gearbox block.... can you do more output torque, becouse with this torque car can't even start. engine is gust working but torque can't fully go throught gearbox actually two output bearings and for final part add gears choise (input 10n/m and 1rpm and output 10 rpm and 1n/m....) it can be about 7 or 9 gears from 20:1 to 1:1 if you try to do it will be really cool
@lucasjacobsen49202 жыл бұрын
Scrapmechanic scorched earth
@redpug50422 жыл бұрын
what if you made the gearbox use different bearing colors for different outputs, and then have an interface like a controller to determine interactions between the connected bearings
@turrboenvy46122 жыл бұрын
Isn't your gearbox actually a differential? If so it could allow two outputs so you could drive two wheels like a differential. It could even do the thing an open diff does where turning one wheel turns the other in the opposite direction, but you'd have to factor in one of the bearings' rotation being locked and sending 100% of the power to the other output bearing.
@Dr-Pixel2 жыл бұрын
Honestly I don't know what I'm doing. I just understood rotating rotation.
@suicidalbanananana2 жыл бұрын
Im desperate for a scriptable gate, i just wanna write some basic code instead of use 30 gates for the same, but (while i do have the lua experience to turn some text into some actual functionalities) i dont have the experience with mods required to make this, i noticed that the new version has saving and loading of json files now (wich as far as im aware was the reason we never got this in the past?) is there any chance at all that scriptable gates are possible now? and if so, mind having a stab at that? even if only in basic form?
@Dr-Pixel2 жыл бұрын
Someone already made a programmable processor I think
@hafizullahalhafiz7392 жыл бұрын
1:09 scorch earth scrap mechanic
@relt_2 жыл бұрын
could you link the flying vehicle blueprint? ive been looking for those for a long time
@Dr-Pixel2 жыл бұрын
"pocket flyer v1" Reverse Engineer built that thing!
@LordDEADTO0L2 жыл бұрын
and some more cuz there was no $20 button lol
@Dr-Pixel2 жыл бұрын
Should I perhaps put some effort into my YT memberships? I think there might be a few people interested in that.
@МаркБельо2 жыл бұрын
Can you add the function to gearbox possibility to lock output with switch. Imagine how it makes easier make gearbox for piston engine. Because onse I tried make the gearbox with only gears mod, but the problem was when engine start spinning to fast, and gears sas "can't handle that"
@relt_2 жыл бұрын
you should have made it a mod for 0.6.0, future proofing!
@Dr-Pixel2 жыл бұрын
I did. Look at the description!
@Cake_soup2 жыл бұрын
The gearbox is so useful for piston car
@somedudeontheinternetmenif99792 жыл бұрын
Add sticky tires
@mixer2.02 жыл бұрын
Amazing
@corrupted18502 жыл бұрын
the gearbox is perfect for piston engines
@monkedude2 жыл бұрын
Pretty Awsome dpp
@techsbyglebbagrov74702 жыл бұрын
Welcome to another episode of "I think i can just yoink this code" Episode #69
@danelaw3552 жыл бұрын
the concrete was wonky because the cornors was hitting each other it also generated infinite propulsion
@Dr-Pixel2 жыл бұрын
we don't talk about that...
@SumPatti2 жыл бұрын
where do you get this time to make these mods
@Dr-Pixel2 жыл бұрын
I don't have school for months now.
@LogoMasterWT2 жыл бұрын
is the gen and gearbox a mod?
@irakligegechkori38352 жыл бұрын
Can I add these mods to my game with steam workshop downloader? like an odd way to install mods
@nikkiofthevalley2 жыл бұрын
No, these are "filemods", you have to manually install them, as they overwrite game files to allow for a lot more freedom, and modding Survival at all. There's usually instructions on how to install filemods in the workshop description of them. Eventually the devs will add a way of installing them automatically, but for now we have to do it manually.
@Dr-Pixel2 жыл бұрын
Wrong, I uploaded all of these mods to the workshop. They will only work on the test branch for now, though.
@irakligegechkori38352 жыл бұрын
Thanks
@FuriousDarkness2 жыл бұрын
yis make video desert yessir
@heckerhecker82462 жыл бұрын
you should add missiles
@arturgame46142 жыл бұрын
A battery generator work on survival?
@Dr-Pixel2 жыл бұрын
No, it's not balanced anyway. No idea how axolot will do it.
@leonnundel24432 жыл бұрын
Can you convert the desert world to custom Game?
@logicbuilder12042 жыл бұрын
why didn't you just get energy from the angular velocity, then apply a force to the bearing proportional to the gained energy, that way it would be more realistic.
@siriusnmad40822 жыл бұрын
I think you should make the updates for scrap mechanic now 🤣🤣
@gamebeast45102 жыл бұрын
2:23 omg scrap max aka mad max mod
@troyt65322 жыл бұрын
Nice
@Tomatech2 жыл бұрын
Shouldn't the generator provide resistance as it absorbs the energy from rotation?
@Dr-Pixel2 жыл бұрын
Yes, but me stupid.
@carsextendedwarranty2 жыл бұрын
please please please add a stabilizer/gyroscope block to stablize creations
@nokodev2 жыл бұрын
If i where to make a battery container that connects to a electric engine that connects to a bearing providing power to the battery container and really heavy will it give us infinite power?
@Dr-Pixel2 жыл бұрын
I think so, but it's broken anyway. Just use controller or piston.
@cat4yp242 жыл бұрын
how interesting
@henrystickmin88122 жыл бұрын
Place the gearings on the bearbox
@dvanderspoelricksen2 жыл бұрын
make a mod with a yeet tool and yeet engine everytime you yeet a creation or animal you get more yeet energy batteries with those batteries you can power a yeet engine that yeets anything it touches so put the engine on the front of the vehicle and the yeet engine is way to powerful
@daviddobarganes91152 жыл бұрын
Offshore wind power otw
@stellmax53gameanddev882 жыл бұрын
#SCRAPMECHANIC Hire This Man :) / you are Legend Man
@otopotucek44072 жыл бұрын
Isn't there realy a way to add some roads to the desert?
@Dr-Pixel2 жыл бұрын
there is, but I was lazy. Didn't think the mod would catch on this much.
@otopotucek44072 жыл бұрын
@@Dr-Pixel yeah I understand. I had this idea on my mind for some time. Image building a lonely Gas station in a midle of desert.