Option to favorite gear/bikes/helmets

Post your suggestions here
jlv
Site Admin
Posts: 14910
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Option to favorite gear/bikes/helmets

Post by jlv »

NoFear345 wrote:Scripting could be something that would allow us to make features with the UI like a favorite option would it not?
Yes. Obviously the scripting system would need to have the functions to implement a UI and I'd have to convert the current UI to use it, but the scripting engine is obvious first step needed. The nice thing is writing that type of code goes way faster in a language like javascript which has automatic memory management vs C where you have to manually allocate and free memory.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
barrington314
Posts: 6614
Joined: Fri Feb 18, 2011 6:03 pm
Team: me
Location: Charleston, SC

Re: Option to favorite gear/bikes/helmets

Post by barrington314 »

Wheels just wanted the timing tower to work. Now he left us. :(
LKR47
Posts: 893
Joined: Fri Jan 18, 2013 4:26 am
Team: LCQ Studios
Location: McHenry, Illinois
Contact:

Re: Option to favorite gear/bikes/helmets

Post by LKR47 »

jlv wrote: Yes. Obviously the scripting system would need to have the functions to implement a UI and I'd have to convert the current UI to use it, but the scripting engine is obvious first step needed. The nice thing is writing that type of code goes way faster in a language like javascript which has automatic memory management vs C where you have to manually allocate and free memory.
Just curious, will you release documentation alongside scripting? I absolutely hate JS so a record of available functions and what they do would be really nice. I'd love to write a MXS specific utility that allows code to be written in C# that outputs JS. Might make things a little easier/safer at least for me if JS runs as a standalone like it does in the browser.
Image
Wahlamt
Posts: 7933
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: Option to favorite gear/bikes/helmets

Post by Wahlamt »

LKR47 wrote:
jlv wrote: Yes. Obviously the scripting system would need to have the functions to implement a UI and I'd have to convert the current UI to use it, but the scripting engine is obvious first step needed. The nice thing is writing that type of code goes way faster in a language like javascript which has automatic memory management vs C where you have to manually allocate and free memory.
Just curious, will you release documentation alongside scripting?
Also with this scripting, would there be documentation over everything accessible within the game?
ColtonD719
Posts: 631
Joined: Tue Jun 21, 2016 4:15 am
Team: Privateer
Location: Oregon
Contact:

Re: Option to favorite gear/bikes/helmets

Post by ColtonD719 »

Wahlamt wrote:Also with this scripting, would there be documentation over everything accessible within the game?
A complete MXS manual would be the greatest thing since the track editor.
jlv
Site Admin
Posts: 14910
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Option to favorite gear/bikes/helmets

Post by jlv »

barrington314 wrote:Wheels just wanted the timing tower to work. Now he left us. :(
Scripting will definitely be the next thing I... Hey look! A squirrel/online erode!
Wahlamt wrote:Also with this scripting, would there be documentation over everything accessible within the game?
The important stuff will definitely be documented. I'm also sure there will be some things I don't want to expose as public APIs.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
AtlasZoor
Posts: 338
Joined: Wed Aug 02, 2017 12:51 am
Team: Atlas Trackworks
Location: Corn

Re: Option to favorite gear/bikes/helmets

Post by AtlasZoor »

jlv wrote:
NoFear345 wrote:Scripting could be something that would allow us to make features with the UI like a favorite option would it not?
Yes. Obviously the scripting system would need to have the functions to implement a UI and I'd have to convert the current UI to use it, but the scripting engine is obvious first step needed. The nice thing is writing that type of code goes way faster in a language like javascript which has automatic memory management vs C where you have to manually allocate and free memory.
So does that mean the new UI idea that lars had could be implemented? http://forum.mxsimulator.com/viewtopic. ... 31#p766131
Image
jlv
Site Admin
Posts: 14910
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Option to favorite gear/bikes/helmets

Post by jlv »

AtlasZoor wrote:So does that mean the new UI idea that lars had could be implemented? http://forum.mxsimulator.com/viewtopic. ... 31#p766131
I'd like it to be skinnable. Not sure where I'd draw the line for what can be changed since ideally you wouldn't want to have to redo stuff every time I add a new setting if you made an alternate UI.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
808
Crushed Dissenter
Posts: 1037
Joined: Tue Feb 21, 2017 5:08 am

Re: Option to favorite gear/bikes/helmets

Post by 808 »

jlv wrote:
AtlasZoor wrote:So does that mean the new UI idea that lars had could be implemented? http://forum.mxsimulator.com/viewtopic. ... 31#p766131
I'd like it to be skinnable. Not sure where I'd draw the line for what can be changed since ideally you wouldn't want to have to redo stuff every time I add a new setting if you made an alternate UI.
With scripting, would having a timer on the finish line statue be something that could happen? Like they do irl?
James_122 wrote:The old folks home should limit you fossils on how much internet time you get a day. Hopefully they mashed your turkey meat up enough so you can chew it.
Image
jlv
Site Admin
Posts: 14910
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Option to favorite gear/bikes/helmets

Post by jlv »

808 wrote:With scripting, would having a timer on the finish line statue be something that could happen? Like they do irl?
It could potentially do anything. It's all a matter of what APIs are exposed to the scripts.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply