Ride Liner's Miscellaneous Tools
+2
OTDE
Ride Liner
6 posters
Page 1 of 1
Ride Liner's Miscellaneous Tools
RL-Misc-Tools-1.0.zip
Contents:
- Macros:
- Helps with drawing lines.
Instructions:- Install AutoHotKey
- Double click lr-macros.ahk
Default Key Binding Action V, Ctrl+V, Shift+V Redraw the most recent line C, Ctrl+C, Shift+C Redraw the second most recent line X, Ctrl+X, Shift+X Redraw the second most recent line, then the most recent line Ctrl+F Fills a generalized quadrilateral(bounded by the two most recently drawn lines) using a number of lines specified by %FillLineCount% P, Shift+P Draw a regular polygon with %PolyEdgeCount% edges; the initial point of the last line drawn is the center, while the terminal point is the first vertex Ctrl+E Toggles all macros on or off. While suspended, the script will remember the last two lines drawn prior to suspending Ctrl+Esc Exit the script completely
Tips:- Most useful with the line tool selected, but there are applications for other tools
- Hold down a hotkey to rapidly repeat that action
- Parameters and hotkeys are modifiable by opening lr-macros.ahk in your favorite text editor
- Results for fill/polygon commands might look odd if you leave line snap on
- Works in any version of Line Rider (lrjs users may want to rebind the V command to something else)
- Also works in any other program, so make sure to suspend the script when switching tasks
I have only tested this extensively in LRA, so let me know if you encounter issues using it in your preferred version. - Install AutoHotKey
- LineCopy Tool:
- Copies the last line drawn in a .trk file however many times you want. Modifies the file in-place, so make sure to have a backup. I spent a total of 1 minute making this user friendly and don't care to spend another one, so if you can't figure out how to use this it may be best just to ask me or someone else for assistance.
Instructions:- Compile LineCopy.cpp
- Run the output executable in the command line
Note that you will have to manually update the line count near the beginning of the .trk file in order for LRA to load the extra lines. I have found Frhed adequate for this. Little endian, so the bytes will "look backwards" from their typical hex representation. See this post if you are having trouble finding it.
This will not work if the last line is:- red, and any red line has a red line multiplier
- solid, and any line has a zoom trigger
- snapped
- a scenery line, and any scenery line has non-default width
If you need any of these (except line snap maybe) you can just change LINE_SIZE and the bounds in increment() appropriately and recompile. Again, refer here. - Compile LineCopy.cpp
Last edited by Ride Liner on Fri Dec 30, 2016 4:33 pm; edited 2 times in total
Ride Liner- Line Rider Legend
Re: Ride Liner's Miscellaneous Tools
perfect spot.
this is fanstastic.
this is fanstastic.
OTDE- Administrator
- the postham mindset
Re: Ride Liner's Miscellaneous Tools
Now all I need is an HDMI cable.
Let's get ready bois
Let's get ready bois
ScrungleBlumpkus- Member
- Interior Crocodile Alligator
Re: Ride Liner's Miscellaneous Tools
Don't have a chance to chexk right now, but is this mac compatible.
Re: Ride Liner's Miscellaneous Tools
The macros use AHK which appears to be Windows only. Line copy tool should work on any platform.Sheldon wrote:Don't have a chance to chexk right now, but is this mac compatible.
Ride Liner- Line Rider Legend
Re: Ride Liner's Miscellaneous Tools
damnRide Liner wrote:The macros use AHK which appears to be Windows only.Sheldon wrote:Don't have a chance to chexk right now, but is this mac compatible.
Re: Ride Liner's Miscellaneous Tools
- Code:
*(int*)(&line[1])+=1;
JealousCloud- Member
- see you, space cowboy...
Re: Ride Liner's Miscellaneous Tools
Thanks for the suggestion. Wouldn't this be dependent on the endianness of the machine though? My increment function is decidedly terrible, but it should work on any system, and I have verified it for inputs of up to 50,000.JealousCloud wrote:might function better than the increment function you wrote, which seems to support a maximum of 254 copied lines.
- Code:
*(int*)(&line[1])+=1;
Personally, I would be very happy if LRA had a way to make to make multiline stacks with as many lines as desired so that I could just discard this ugly little program altogether (hint hint ).
Ride Liner- Line Rider Legend
Re: Ride Liner's Miscellaneous Tools
DamnSheldon wrote:Damn
ScrungleBlumpkus- Member
- Interior Crocodile Alligator
Re: Ride Liner's Miscellaneous Tools
Yeah, it's on the way. Technically i've implemented the feature but I haven't given it a proper release. Whenever the next version comes out you'll get it.Ride Liner wrote:Personally, I would be very happy if LRA had a way to make to make multiline stacks with as many lines as desired so that I could just discard this ugly little program altogether (hint hint ).
JealousCloud- Member
- see you, space cowboy...
Re: Ride Liner's Miscellaneous Tools
excelenteJealousCloud wrote:Yeah, it's on the way. Technically i've implemented the feature but I haven't given it a proper release. Whenever the next version comes out you'll get it.Ride Liner wrote:Personally, I would be very happy if LRA had a way to make to make multiline stacks with as many lines as desired so that I could just discard this ugly little program altogether (hint hint ).
Ride Liner- Line Rider Legend
Re: Ride Liner's Miscellaneous Tools
as far as I know, it's in there but only supports 50 lines at a time
ScrungleBlumpkus- Member
- Interior Crocodile Alligator
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Mar 18, 2024 11:03 am by alpha leonis
» bubblegum - Pure5152
Thu Nov 23, 2023 4:36 am by Rafael
» Started in 2020 - thoughts?
Mon Jul 24, 2023 1:21 pm by cvang
» Hypersonic Motion - Preview and explanation
Mon Jul 24, 2023 12:15 pm by alpha leonis
» Track question
Mon Jul 24, 2023 12:14 pm by alpha leonis
» Line Rider Pointy Wobbly Italian Rat ~ Leonis
Mon Jul 24, 2023 12:12 pm by alpha leonis
» Line Rider Prism ~ Leonis
Mon Jul 24, 2023 12:11 pm by alpha leonis
» Playtime - pure5152
Tue May 16, 2023 4:05 pm by Sheldon
» I coded today!
Mon Mar 20, 2023 6:53 am by jimmysanders