MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Thu Nov 21, 2024 5:41 pm



Post new topic Reply to topic  [ 122 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next   
Author Message
 Post subject: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 06, 2018 2:03 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
PLEASE READ THIS THREAD CAREFULLY!!!!!!!!!!!!

- I have increased the frequency of the multiplayer latency packet. Please let me know if there is any difference (or if it creates problems).

There are two different approaches to this patch:

1. If you are a track/drag maker, read the beginning part then everything else.
2. If you just want to play, you don't need to read the beginning part but you need to read everything else.

3. This patch requires you to have 0.41/0.42 already installed. Otherwise IT WON'T WORK!!!!!!!!!!!!!! Just copy paste the two files over the 0.41/0.42 installed files and it will work.

For track/drag makers

You can now make MTM1 style drags for the game. Here are the instructions how to do so:

- create the layout with Traxx as you normally would.
The following steps are MANDATORY so please read thoroughly. I assume you are creating the drag with the map pointing north (the default view in traxx, you don't have to always make drags pointing north but it's easier to explain):
Course Layout
- Course 0 MUST BE for the left lane. Always! Mandatory.
- Course 1 and Course 2 (yes, both) MUST BE for the right lane.
- Truck 1 MUST BE for the left lane.
- Truck 2 MUST BE for the right lane.

Failure to adhere to these rules will make the drag work incorrectly.

Checkpoints
- Checkpoint 0, 1 and 2 are the initial stages. CP0 is for prestage, CP1 is for Stage and CP2 is for the jump-start disqualification line.
- Checkpoint 3 is always the finish line.
- Checkpoint 4 and Checkpoint 5 are for the LEFT LANE ONLY. CP4 is the inside line. CP5 is the outside line.
- Checkpoint 6 and 7 are for RIGHT LANE ONLY. CP 6 is the inside line. CP7 is the outside line.
- You can overlap CP4 and CP6 to have a common inside line. Just place the checkpoints in the same place.
- If you want to create a J drag, then use CP4 and CP6 as the inside divider between the two truck lanes and then use CP5 and CP7 as the J route divider (which you have to go around in order not to be disqualified). In this case there will be no outside line. This is a remnant of how MTM1 drags were made.

These rules are very strict. Failure to set up the checkpoints as mentioned above will result in the disqualification system not working properly.

I have included a template for you guys to use as a starting point.

http://www.mtm2.com/~mtmg/misc/DragTemplate.zip - 10kb

Make the game recognize it as a drag

After you have done the above and created the .pod (make it as circuit or a rally, it doesn't matter) you must use c-pod or any of your favourite .pod unpacker. Open the XXXX.sit file and where it says Track Race Type change it to number 1 (usually it's track race type 2 or 3). Save the file and recreate the .pod using your favourite .pod utility and that's it. You just created a MTM2 drag.

Image

This process is impossible to make it compatible with the original mtm2 game. So making a proper drag like this is exclusive to this patch. If you want to make your drag track usable by the original MTM2 you have to do it as you've always done it (just create a circuit and that's it).

TIP: If you want to make the AI trucks competitive, increase the length of the straight line course otherwise the trucks will break too early. Making trucks be competitive in a J drag is a more complicated issue however.

For everyone

- Disqualifications work correctly and a disqualified truck will be given a 60sec finishing time. (this can be increased if people believe it's not enough)
- The tournament knockout system ala mtm1 has not been implemented yet. I plan on doing this but it's a complicated thing to code so it will take a while.
- The drag lines only show up in software mode and not in hardware mode. This is obviously something I am desperate to fix. A workaround is that you can create the textures using the software mode as inspiration and you yourself drawing the lines for hardware mode on the actual texture.
- While the drag disqualification works correctly and the disqualification commentary is fine, there are issues with the commentary in the stage/prestage. This will be fixed.
- MTM1 drags work. However the MTM1 stadium based drag races will have a nasty visual bug as the stadiums are not rendered correctly (but they work otherwise).
- The drag code is highly experimental and there are definite issues to it. It's been taken from MTM1 so it's written with mtm1 trucks in mind and it was also incomplete. So this is very much a work in progress. There are two separate issues to discuss:

For single player

- I have had issues getting the AI truck to run correctly if I have more than 70fps. For the record, you will achieve the best results if you limit the game to 20-25fps, especially if you want the trucks to work in the J drags.
- Some trucks do not line up correctly at the prestage/stage and end up disqualified. This has to do with the difference in truck sizes. Will be looked into.
- Only start with one AI truck. As of now (but will be fixed in the future) there is no way to automatically limit to 2 trucks only. I don't know what happens if you load more than 1 AI truck (and quite frankly I don't care either :p)

For multiplayer

- Only run this with two players if you want to play a proper drag race. If you start the drag with more players, the placements are randomized so the person (or persons) that are not going to line up for the drag are going to be randomized. The people that are not lined up still need to finish the race though or wait until they are disqualified for the race to properly end.
- MANDATORY that you reclick your truck and skill level when you first join the multiplayer lobby otherwise the game refuses to synchronize correctly.
- The drag system is a bit finnicky when playing online. 1 out of 2 races, the prestage/stage will not sync correctly between the two players. What this means is that despite finding myself correctly at the prestage/stage, the information will not be correctly relayed to the other person and his game will believe that I have missed the staging. In this case what happens is that my game runs correctly, but his game will wait for me to be disqualified first (on his end) before he gets the green light to race. The game time will then synchronize correctly though. I am aware of this issue and this will be something that will be looked into but this has to do with network code which is something I don't know anything about yet.
- As I said, the above issue is about 50% of the time. Luckily drags are short so you can just restart the race and there's a good chance it will sync correctly on the second try.

I'm sure there were more stuff I wanted to point out. I will do so as I remember them. Please upload your drags as 2.1Drag to let users know it's supposed to only work with the patch.

http://www.mtm2.com/~mtmg/misc/Beta0.43.zip - 13mb


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 06, 2018 2:13 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
I have added the GAME.POD from MTM1 which has the mtm1 races and drags. You just pod it like you would any other regular .pod file and the tracks will show up.

http://www.mtm2.com/MTM2/Tracks/dl.php?dl=5932


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 06, 2018 7:20 pm 
Member
User avatar

Joined: Mon Oct 27, 2003 7:28 pm
Posts: 608
Dude.

DUDE.

So initial impressions are: it works rather flawlessly! CPU trucks are a bit slow but that's to be expected. The behavior of the trucks in the J drags are the same as MTM1 running on a way faster system - so no surprises there. Double DQ seems to award the win to the player by default, which isn't a huge deal at this point. I want to play around with this a lot, track making is usually not my forte' but this is right up my alley so there's some fun to be had here.

Also - wonder if the bracket screen might be better handled as a dialog box rather than a menu screen?


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 06, 2018 8:30 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
Don't know but throw down ideas. I haven't had time really think about it and I probably won't have time for the next 2-3 months but I'll look into all sorts of solutions. I have a simple way of randomizing the AI trucks start to add a little realism rather than always having the same reaction time, once the bracket screen is implemented I will take a better look at the double DQ (obviously for brackets you want a rerun), I have some ideas on how to get multiplayer working if there are more than 2 players (and how to select who is a spectator and who races) but right now they are ideas, don't know for sure if they will work.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Mon May 07, 2018 6:42 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Wow sweet update

_________________
Image


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Mon May 07, 2018 8:51 pm 
Member
User avatar

Joined: Sun Feb 05, 2017 5:17 am
Posts: 71
Location: Geelong, Victoria, Australia.
Seriously mate, well done for bringing the drags back to MTM2. Even though not everything is implemented, and the MTM1 stadium drags are a bit buggy, at least it's now possible to simulate actual monster truck events without the use of an online league. Cheers!!! :D :D :D


Last edited by SparkTB11 on Tue Sep 03, 2019 1:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Mon May 07, 2018 9:11 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
Won't be having much time to look into it for a while but I am hoping to try and see if I can fix the stadium issue. The problem is that MTM1 used stadiums as a background (basically the way a regular race uses background) whereas MTM2 uses stadiums as an object. It's weird the way they've done it but anyway. The part of the code that transformed stadiums into backgrounds is gone so I will have to re-create that from scratch.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Tue May 08, 2018 6:33 pm 
Member
User avatar

Joined: Mon Oct 27, 2003 7:28 pm
Posts: 608
How does it differ from the MTM2 arenas (Torture Pit etc.)? I was always under the assumption it was the same mechanism.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Tue May 08, 2018 9:20 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
I'm not sure exactly. I deduced this from the comments in the code but there's no actual code that deals with this. In mtm1 the arena was loaded as a full background and thus had no other background (like the far away mountains). Whereas in MTM2 an arena is a "normal" object that's big enough to cover the whole view which is why the mtm1 arena drags have that weird clipping issue. It's simply because they do not have a background loaded as MTM2 doesn't know how to place the arena. You can even see in the .sit file that the arena was set as a background (which is not used in mtm2).

And if you open the track in traxx, the stadium is hidden somewhere in the middle of the track.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Tue May 08, 2018 9:49 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Sounds like it just makes it really big, but I am confused because I remember seeing the arena and hitting it and everything else in mtm1. Even clipped into it before and drove into the hall of mirrors.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Tue May 08, 2018 11:36 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
Traxx seems to think they used groundboxes as invisible barriers. Not sure. But either way you can still hit them. So despite the stadium not being there, you can't just drive off into the hall of mirrors.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Fri May 11, 2018 3:48 pm 
Member
User avatar

Joined: Thu May 10, 2018 11:33 pm
Posts: 24
Location: Imagination
Oh my gosh, dude that's amazing! I gotta try out this beta drag type for the game sometime soon. ^^
I was hoping someone would bring back the drag racing feature in my most favorite MTM game that I play with more, and it's finally happening. :D Can't wait to see it finalized someday when it reaches that stage.

Man, I've been waiting for YEARS on the return of the Drag type in MTM2.
I always wondered why they removed the Drag type for that game?... It never made any sense to me as a kid and it still doesn't for me as of today. :?
I guess we may never know unless it's been answered already.

Please do increase the finishing time if you can. 60 seconds is not enough for me lol.
If we can have more than 60 seconds, we can make longer epic Drag type tracks for MTM2! XD

By the way, I got a few questions since I'm curious.
I'd love to hear your thoughts on these no matter the outcome of the anwsers.

1; Would you consider a Freestyle type for MTM2 tracks?
OK this is just a maybe here, I doubt this would work but hey that'd be cool, for now I can dream with this one lol.
I can picture the player trucks would be able to do this, but I just doubt the AI trucks would be able to unless the proper coding is all done for them which would be challenging.

2; Would you consider to make 3+ trucks racing work in the Drag type MTM2 tracks?
That'd be epic... 3+ trucks racing each other in a drag race would be something, lol.

and 3; Would you consider the idea of having more than 8 trucks in a race?
We know 8 trucks is the common limit of how many trucks you can have in a race where 1 is the player and 7 are the AI, but it would be interesting.
If you guys can increase the pod number limit in a community patch, then I am sure even the truck number limit can be increased as well if you go beyond 8.
And yes I'm aware there can be limitations because of highly detailed trucks in a race could make the race more laggy, but if the limits were increased in most sections f the game then I am sure even that can be done too perhaps.

_________________
I'm the creator of the Army Armstrong voice model on Uberduck.ai. :)
But Uberduck.ai removed all the contributed voices so that site sucks now. :( Will re-upload it soon!

MTM Community Discord Server
https://discord.gg/JvF4sMYRbA
Feel free to join if you wish.

Founder of Team_Legendz
https://truckerlegends.voobly.com/

"Hey buddy, ready to get muddy?" ~ Army Armstrong
Addons is art!


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Fri May 11, 2018 6:11 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
1. I am going to go and say that's probably almost impossible to make it happen at this point because it WILL require a lot of coding and I won't have the time. To get this working requires a dedicated 8 hours a day. Basically proffesional job like.
2. This is something that can be done but I will only look into it once I have a chance to get the original 2 truck racing work correctly from all aspects.
3. This will only be looked into after I manage to port the game to OpenGL and/or DirectX9. In the current state of the game there is no reason to increase the truck number as the game simply cannot handle too many trucks from a graphic performance point of view (it will start lagging). Once ported to OpenGL/Dx9 the performance issues will be taken care of and in that case yeah, I can look into it.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Fri May 11, 2018 7:45 pm 
Member
User avatar

Joined: Thu May 10, 2018 11:33 pm
Posts: 24
Location: Imagination
Fila wrote:
1. I am going to go and say that's probably almost impossible to make it happen at this point because it WILL require a lot of coding and I won't have the time. To get this working requires a dedicated 8 hours a day. Basically proffesional job like.

Lol yeah, I wanna say almost impossible to straight up impossible. :lol:
It would take a lot of time as well other than just lots of coding, both are needed.
Thanks for your input on this idea, I was quite curious if you were considering that, and now anyone who wanted to ask that should know by now. :P
Even though it's a cool type idea, but I can see that not happening anyway. Oh well, at least there's free roam (circuit/rally) stuff for freestyle tracks people made normally, which is still OK with me!


Fila wrote:
2. This is something that can be done but I will only look into it once I have a chance to get the original 2 truck racing work correctly from all aspects.


Of course. :)
I can definitely see 3+ trucks being worked on later on after you've done so much testing and tweaking for the drag racing system you're bringing back into MTM2 with just only 1 player truck and 1 AI truck racing each other at this time. Anyway, that would be great to see later on. For now, I just wanna see the original 2 truck racing as-is to keep getting better and be working 100% fully. :P Looking forward to that in the future when it's time.


Fila wrote:
3. This will only be looked into after I manage to port the game to OpenGL and/or DirectX9. In the current state of the game there is no reason to increase the truck number as the game simply cannot handle too many trucks from a graphic performance point of view (it will start lagging). Once ported to OpenGL/Dx9 the performance issues will be taken care of and in that case yeah, I can look into it.


Oh really?
That would be awesome. I can also see that being worked on later on as well. I'm not sure what would be the best new number of trucks we can have in a race within the community patch, but I'll be happy with any new number you can give once all the testing is done with however many we can have racing beyond 8 trucks. Looking forward to that in the future too when it's time.

One more thing, I'm glad we have a 200 pods limit!
I'll enjoy having that many podded when I try all this out asap!

Thanks for your thoughts.
Keep up the good work, much luck and many blessings to you on making MTM2 even better dude. 8)

_________________
I'm the creator of the Army Armstrong voice model on Uberduck.ai. :)
But Uberduck.ai removed all the contributed voices so that site sucks now. :( Will re-upload it soon!

MTM Community Discord Server
https://discord.gg/JvF4sMYRbA
Feel free to join if you wish.

Founder of Team_Legendz
https://truckerlegends.voobly.com/

"Hey buddy, ready to get muddy?" ~ Army Armstrong
Addons is art!


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 8:05 am 
Member
User avatar

Joined: Sun Feb 05, 2017 5:17 am
Posts: 71
Location: Geelong, Victoria, Australia.
Can't seem to get my drag track to work, I'm pretty sure I've done everything according to the instructions, but all I get is the stages not working, and the AI trucks just seems to be stuck in staging mode (moving along slowly) down the track.

Here's the file for inspection.

http://www.mtm2.com/MTM2/Tracks/dl.php?dl=5934


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 9:48 am 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
If you replace your invisible checkpoints with ckbox you will have your answer why it's not working.

If you're not sure what I'm talking about, load ckbox in my template above and replace the checkpoints and see what happens. Use ckbox as an assist for the correct orientation then you can just delete the model from the model list. The checkpoints will then become invisible checkpoints again. You must change the sizes of the invisible checkpoint using the correct orientation otherwise it won't work. They still function as a normal checkpoint does in a circuit. There is only one correct side of the checkpoint that you can go through for it to register. (think only the outside checkpoints can be triggered from both sides).


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 10:46 am 
Member

Joined: Sat Jul 08, 2017 3:56 pm
Posts: 3
Also be sure to limit the fps to around 20. In MTM1, if you're at 60 fps the cpu trucks just sit there.


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 12:32 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Bjcon215 wrote:
Also be sure to limit the fps to around 20. In MTM1, if you're at 60 fps the cpu trucks just sit there.

An interesting idea. Can we have an FPS limiter built into the game engine?
You would have to find the render loop and put a wait on it, might be tricky. I wouldn't be surprised if there is a commented out piece of debug code for locking framerates for test purposes.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 12:49 pm 
Member
User avatar

Joined: Mon Jul 02, 2001 2:01 pm
Posts: 1426
Location: Lost in Translation
Slayer wrote:
Bjcon215 wrote:
Also be sure to limit the fps to around 20. In MTM1, if you're at 60 fps the cpu trucks just sit there.

An interesting idea. Can we have an FPS limiter built into the game engine?
You would have to find the render loop and put a wait on it, might be tricky. I wouldn't be surprised if there is a commented out piece of debug code for locking framerates for test purposes.


There isn't. I checked. And I've tried to do it but it's tricky because... there's actually 3 different places where there is a framerate code and changing each of these occurrences changes the game speed. It's mind boggling. O_O

I'm trying to learn to code on multiple fronts so it's going a bit slow but at this moment my two biggest desires are to port the game to opengl/dx9 and to decouple the game physics from the framerate (which basically means stop the framerate from affecting the game physics). I've read articles on how to do this but so far I've been unsuccessful. It's obvious that I'm not fully understanding how graphics rendering works yet (started reading a book about this).


Top
 Profile  
 
 Post subject: Re: MTM2 Beta Patch 0.43 - Drag me to the finish line
PostPosted: Sun May 13, 2018 4:59 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Fila wrote:
Slayer wrote:
Bjcon215 wrote:
Also be sure to limit the fps to around 20. In MTM1, if you're at 60 fps the cpu trucks just sit there.

An interesting idea. Can we have an FPS limiter built into the game engine?
You would have to find the render loop and put a wait on it, might be tricky. I wouldn't be surprised if there is a commented out piece of debug code for locking framerates for test purposes.


There isn't. I checked. And I've tried to do it but it's tricky because... there's actually 3 different places where there is a framerate code and changing each of these occurrences changes the game speed. It's mind boggling. O_O

I'm trying to learn to code on multiple fronts so it's going a bit slow but at this moment my two biggest desires are to port the game to opengl/dx9 and to decouple the game physics from the framerate (which basically means stop the framerate from affecting the game physics). I've read articles on how to do this but so far I've been unsuccessful. It's obvious that I'm not fully understanding how graphics rendering works yet (started reading a book about this).

Your probably can't decouple the two (within reasonable effort). It's usually a result of not enough precision in the calculation.
Too bad you can't send the code around for everyone to take a look.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 122 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next   


Who is online

Users browsing this forum: Google [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group