Robots

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
MR.M
Posts: 81
Joined: Wed Dec 21, 2011 4:35 am
Team: Privateer

Robots

Post by MR.M »

JLV should make the Robots faster..... :D :D
Photomorti
Posts: 417
Joined: Sat May 28, 2011 3:46 pm

Re: Robots

Post by Photomorti »

there is a way to "learn" the ai to drive faster laps , dunno how to do it but search for it :)
die996
Crushed Dissenter
Posts: 1394
Joined: Tue Jan 12, 2010 12:45 pm
Team: Privateer
Location: 8 miles off Barcelona, Spain

Re: Robots

Post by die996 »

I'd really like a tutorial to make robots. I enjoy offline racing, there people know how to hold their lines and don't turn suddenly against you to take you down
Howcanyoubesofuckingdumbthatyou'rereadingthis??
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Robots

Post by yzmxer608 »

Here's a little explanation by jlv.
http://forum.mxsimulator.com/viewtopic. ... es#p258977
jlv wrote:It they don't take off on the start you might have waited too long in the gate.

Once you have some lines in, add
--learn --practice --warp --nosound
to the command line args and set up a three lap race with one bot. Let it run for a while to decide which lines it likes. Sometimes running more than one bot will help, but that can slow things down since they get in each other's way.

The other important thing is to mark the gates that the AI shouldn't switch lines at. You don't want them to switch over jumps or whoops, so for those gates add 100000 to them and the bots will not switch there. Ideally you want them to switch in smooth straight areas, but you also want them to have at least one switching opportunity per straightaway. As an example, here are the Vegas SX gates. Pretty much only switches on corner entry.

firstlap:
0 1 100002 100003 4 100005 6 100007 100008 9 100010 11 100012 100013 100014 15 100016 100017 100018 19 100020 100021 22 23 100024 100025 100026 100027 28 29 100030 100031 32 1 100002 100003 4 100005 6 100007
normallap:
100008 9 100010 11 100012 100013 100014 15 100016 100017 100018 19 100020 100021 22 23 100024 100025 100026 100027 28 29 100030 100031 32 1 100002 100003 4 100005 6 100007
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Post Reply