Hey guys I am working on an easier way to change beam lengths for simulating hydraulics within the game. So i would love to get your feedback on whats needed from your point of view. What i have sketched out right now: Using number keys (1-0) as default functions Mod author can provide own inputmaps/input_actions.json to have custom keys Planned command features for v 1: Reusing hydros code: in/out/autocenter rate. In/Out Limits Functions: Press+hold to go in/out: auto-centering Toggle: toggle between completely in/start/out Smoothing: command beams will allow to specify how smooth they start/stop "power" supply: pressure generator? electric? Any more things i forgot? What do you want?
Oh wow... well, an ice cream would help But hey. This is great, it gives a really good image when you interact with the community so openly about future. A way to make multiple beams extend and multiple beams shorten at the same time with one key? Also maybe a way to make this magic happen with different speeds? Like beam A and beam B extend with the same key but A does it faster.
Extendable beams, mmmm But yeah, that sounds really good! Electric power supply sounds good too... Also, would it be possible to have a hydro with 2 inputs? (for instance, having pop up headlamps being able to be manually opened using a key binding, while also working with the headlamp on/off state)
a proper implementation that is. I want to make it easier to use. You can certainly hack it together already.
Hi, some ideas: Basically all features RoR commands had would be great, all of them made sense imho: Basic features (from RoR Wiki): normal command just moves as long as a button is pressed inside it's boundaries, stops and rests when button is released r: Makes the command beam behave like a rope or a winch. c: Makes the command beam auto-center: It will automatically return it to its starting position when a lengthening/shortening key is released. f: Stops the command moving faster when engine revs increase. p: Activates press-once functionality: A single press of a shortening/lengthening key will lengthen/shorten the command beam as much as possible. A second keypress of the key which started the command moving stops the automatic movement. o: is like p, but it will stop in the center position. Affects engine: Means that moving this command won't affect engine RPM, so it is independent. Value larger than 0 specifies how much engine power will be needed for this command to move. Additionaly, these special features would be great: Toggleable import- and forwardcommands to send or receive button presses for commands. Ability to bind one command to another with a transfer factor: Compressing one command extends another, transfer factor to simulate different diameters of hydraulic cylinders. I think this would need one command to be defined as master, one as slave. Might also be useful to simulate a rope going over a pulley. Maybe possible with some sort of trigger beams which can control commands via lua. Target value: Command slowly moves to a position which can be entered via user interface or received from a trigger beam Best aggregate would be hydraulic imho, more common than electric. But only difference would be sounds? Greetings, sputnik_1
first version of it work in progress: Code: "commands": [ ["id1:", "id2:", "inputSource", "inLimit", "outLimit", "inRate", "outRate"], ["t1rr","b4rr", "tailgate", 0, 2.15, 1, 1], ["t1ll","b4ll", "tailgate", 0, 2.15, 1, 1], ], Ported most of the hydro's features for now. Now to the additional things
First off, command beams sounds great! I'd love to see trigger beams. With something like that it would be possible to crate working airbags, once predefined beams in e.g the front bumper or the roof get collapsed, the airbag beams for that part of the car get triggered. Another possibility would be overrun brakes for trailers, which would require beams that could also affect things like the break input.
uh, look what came out as side product: Code: "ropes": [ ["name", "id1:", "segments", "length"] ["rope1", "t1rr", 10, 1] ],
You can run the rope between nodes now Code: "ropes": [ ["name", "id1:", "segments", "length"] ["rope1", "t1rr", 10, 0, {"id2:":"t1ll"}] ["rope1", "t1rr", 10, 1,] ],
This is what sputnik's link says: ...Triggers are special beams which trigger user-specified events when extended/contracted to a given bound...
Tdev, i really appreciate this feature. Will it be possible to open all the car doors and maybe add some of RoR functions, like real tow trucks or so.... thank you in advance