2019-01-01 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 13270
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2019-01-01 snapshot

Postby jlv » Mon Jan 07, 2019 2:47 am

DJ99X wrote:I managed to get a list of all the keys out. A couple of suggestions for your next round of additions:

Move billboard - I think this would be handy for animating a few things like dust, rain etc. Include a transparency factor
Play Sound - Play a sound, location based, % volume
Rider Wheel Spin (velocity) - Do things like play sound based on acceleration spin or braking sliding

All good ideas. For the wheel spin sounds (or chain sounds as Dabz suggests), that's actually something that I wouldn't mind hard coding into the game since it's something you'd want all the time. Putting that in the track script wouldn't make that much sense unless it was something special for the track.
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.

User avatar
DJ99X
Posts: 15503
Joined: Tue Jan 15, 2008 11:36 am
Location: Land Down Under

Re: 2019-01-01 snapshot

Postby DJ99X » Mon Jan 07, 2019 7:35 am

OK, I'm starting to get my head around the bone movements. I've realised that you pretty much have to define the bone centers as per how they are in blender, then set the bone position as the same if you want to get static rotation from the bone center.

Image

Code: Select all

function pose(seconds) {
   var statue_index = 0;
   var bone_count = 9;
   var a = 0.5*(Math.sin(seconds * 2)+1);
   var b = 250
   var bone_centers = [ -1.5, 0.8, 0, 1.5, 0.8, 0, -0.4, 0.8, 0, 0.4, 0.8, 0, 0, -3.8, 0, 0, -3.8, 0, 0, -0.9, 0, 0, -0.9, 0, 0, 0, 0 ];
   var bone_positions = [ -1.5, -0.5*a+0.8, 0, 1.5, -0.5*a+0.8, 0, -0.4, -0.5*a+0.8, 0, 0.4, -0.5*a+0.8, 0, 0, -3.8, 0, 0, -3.8, 0, 0, -0.5*a-0.9, 0, 0, -0.5*a-0.9, 0, 0, -0.5*a, 0 ];
   var bone_rotations = [
   Math.cos(a*Math.PI/8), -Math.sin(a*Math.PI/8), 0,
   Math.sin(a*Math.PI/8), Math.cos(a*Math.PI/8), 0,
    0, 0, 1,
   Math.cos(-a*Math.PI/8), -Math.sin(-a*Math.PI/8), 0,
   Math.sin(-a*Math.PI/8), Math.cos(-a*Math.PI/8), 0,
    0, 0, 1,
    1, 0, 0,
    0, 1, 0,
    0, 0, 1,
    1, 0, 0,
    0, 1, 0,
    0, 0, 1,
    1, 0, 0,
    0, Math.cos(a*Math.PI/8), -Math.sin(a*Math.PI/8),
    0, Math.sin(a*Math.PI/8), Math.cos(a*Math.PI/8),
    1, 0, 0,
    0, Math.cos(a*Math.PI/8), -Math.sin(a*Math.PI/8),
    0, Math.sin(a*Math.PI/8), Math.cos(a*Math.PI/8),
         1, 0, 0,
    0, Math.cos(-a*Math.PI/6), -Math.sin(-a*Math.PI/6),
    0, Math.sin(-a*Math.PI/6), Math.cos(-a*Math.PI/6),
    1, 0, 0,
    0, Math.cos(-a*Math.PI/6), -Math.sin(-a*Math.PI/6),
    0, Math.sin(-a*Math.PI/6), Math.cos(-a*Math.PI/6),
    1, 0, 0,
    0, 1, 0,
    0, 0, 1
   ];

   mx.pose_statue(statue_index, bone_count, bone_centers, bone_positions, bone_rotations);
   
}

jlv
Site Admin
Posts: 13270
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2019-01-01 snapshot

Postby jlv » Tue Jan 08, 2019 3:55 am

That's right, and your gif link didn't work.
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.

Motodad95
Posts: 9
Joined: Tue Mar 27, 2018 4:09 pm
Team: Privateer

Re: 2019-01-01 snapshot

Postby Motodad95 » Wed Jan 09, 2019 2:34 pm

mxcowboy14 wrote:
AtlasZoor wrote:Would sounds be possible to add? I think ambient noises could add a nice touch to the game!

this could make it to where you really can hear tom hanks in the ocean


WILLLSSSSOOONNNNNNNN

Braap677
Posts: 26
Joined: Sat Apr 08, 2017 5:39 am
Team: Privateer

Re: 2019-01-01 snapshot

Postby Braap677 » Thu Jan 10, 2019 1:18 am

i went to add in my editor/erode shortcut on my desktop ( -- editor) now i dont have an editor i have a free camera. what did i do wrong?

Braap677
Posts: 26
Joined: Sat Apr 08, 2017 5:39 am
Team: Privateer

Re: 2019-01-01 snapshot

Postby Braap677 » Thu Jan 10, 2019 1:24 am

i added the snapshot into my program files x86 in mx simulator then created a shortcut to my desktop. from there copied my short cut again then went into properties to add my -- editor. is this correct or what did i do wrong? not super computer savvy and cant remember what i did for the last snapshot.

User avatar
AtlasZoor
Posts: 270
Joined: Wed Aug 02, 2017 12:51 am
Team: Atlas Trackworks
Location: Zimbabwe

Re: 2019-01-01 snapshot

Postby AtlasZoor » Thu Jan 10, 2019 2:24 am

Braap677 wrote:i added the snapshot into my program files x86 in mx simulator then created a shortcut to my desktop. from there copied my short cut again then went into properties to add my -- editor. is this correct or what did i do wrong? not super computer savvy and cant remember what i did for the last snapshot.


are you sure you just didn't hit tab enough lol. try cycling through it. I know it sounds stupid but spectator was added into single player for whatever reason.
Image

Braap677
Posts: 26
Joined: Sat Apr 08, 2017 5:39 am
Team: Privateer

Re: 2019-01-01 snapshot

Postby Braap677 » Thu Jan 10, 2019 3:14 am

AtlasZoor wrote:
Braap677 wrote:i added the snapshot into my program files x86 in mx simulator then created a shortcut to my desktop. from there copied my short cut again then went into properties to add my -- editor. is this correct or what did i do wrong? not super computer savvy and cant remember what i did for the last snapshot.


are you sure you just didn't hit tab enough lol. try cycling through it. I know it sounds stupid but spectator was added into single player for whatever reason.

i just tried to double check and still nothing. dont know what is wrong?

User avatar
AtlasZoor
Posts: 270
Joined: Wed Aug 02, 2017 12:51 am
Team: Atlas Trackworks
Location: Zimbabwe

Re: 2019-01-01 snapshot

Postby AtlasZoor » Thu Jan 10, 2019 3:49 pm

Make sure you don’t have a space after the 2 dashes it should just be this —editor
Image

Braap677
Posts: 26
Joined: Sat Apr 08, 2017 5:39 am
Team: Privateer

Re: 2019-01-01 snapshot

Postby Braap677 » Fri Jan 11, 2019 2:40 am

AtlasZoor wrote:Make sure you don’t have a space after the 2 dashes it should just be this —editor

Rookie mistake here. that was it. dont know how many times ive put the editor in and i overlook something that simple lol. thank you for the help atlas

User avatar
AtlasZoor
Posts: 270
Joined: Wed Aug 02, 2017 12:51 am
Team: Atlas Trackworks
Location: Zimbabwe

Re: 2019-01-01 snapshot

Postby AtlasZoor » Fri Jan 11, 2019 2:45 am

Braap677 wrote:
AtlasZoor wrote:Make sure you don’t have a space after the 2 dashes it should just be this —editor

Rookie mistake here. that was it. dont know how many times ive put the editor in and i overlook something that simple lol. thank you for the help atlas


haha its all good.
Image

Motocrosser_44
Posts: 160
Joined: Thu Aug 06, 2015 12:22 am
Team: MGFX
Location: Massachusetts
Contact:

Re: 2019-01-01 snapshot

Postby Motocrosser_44 » Wed Jan 16, 2019 12:32 am

how do we get the new dynos? or are there no 19 dynos out currently? cant find any info in this thread
Albert Tranghese #444 | VERGE MX

User avatar
Wahlamt
Posts: 7142
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: 2019-01-01 snapshot

Postby Wahlamt » Wed Jan 16, 2019 12:34 am

Motocrosser_44 wrote:how do we get the new dynos? or are there no 19 dynos out currently? cant find any info in this thread

Won't be any '19 dynos.

Motocrosser_44
Posts: 160
Joined: Thu Aug 06, 2015 12:22 am
Team: MGFX
Location: Massachusetts
Contact:

Re: 2019-01-01 snapshot

Postby Motocrosser_44 » Wed Jan 16, 2019 12:34 am

Wahlamt wrote:
Motocrosser_44 wrote:how do we get the new dynos? or are there no 19 dynos out currently? cant find any info in this thread

Won't be any '19 dynos.


at all? thats a rip and a half lol
Albert Tranghese #444 | VERGE MX

Cody Dawe
Crushed Dissenter
Posts: 48
Joined: Thu Jan 04, 2018 8:37 pm
Team: Next Level Racing

Re: 2019-01-01 snapshot

Postby Cody Dawe » Wed Jan 16, 2019 7:10 pm

Im liking what im seeing so far. I do have a complaint regarding view switching. Can you make it an option to not go into free cam when your on your rider? Im someone who switches between third and first person alot and rapidly while racing and it keeps screwing me over to get back in the right view. I have not been able to run the snapshot for the series due to this.


Return to “General Discussion”

Who is online

Users browsing this forum: DrewHD, Seabolt19 and 5 guests