usr_36GP - reactivated teammanager for pitting, alfatipo track setups

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1174 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e1b165ad0368fd005caf76810fd9fa44da99c11b
Former-commit-id: 0cb7e99ca80b08e2c28b4849c3945f34eee1e170
This commit is contained in:
andrewsumner 2009-07-23 02:31:56 +00:00
parent c92bda3579
commit adb776b431
36 changed files with 1294 additions and 6 deletions

View file

@ -52,6 +52,7 @@
<attnum name="tcl slip" min="0.5" max="8.5" val="4.0"/>
<attnum name="skid correction" min="0.0" max="8.5" val="0.1"/>
<attnum name="bump caution" min="0.0" max="4.0" val="0.4"/>
<attnum name="pit offset" min="-200.0" max="200.0" val="-50"/>
<attnum name="steer debug" min="-5" max="5" val="-1.0"/>
<attnum name="overtake debug" min="0" max="1" val="0"/>

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:34.65 -->
<!-- alfatipo 1:38.85 -->
<section name="private">
<attnum name="increase corner inverse" val="0.04"/>
<attnum name="base speed" val="11.20"/>
<attnum name="base brake" val="33.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="1.3"/>
<attnum name="slope factor" val="0.4"/>
<attnum name="skid correction" val="0.3"/>
</section>
</params>

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:33.80 -->
<!-- alfatipo 1:42.10 -->
<section name="private">
<attnum name="min corner inverse" val="0.0001"/>
<attnum name="increase corner inverse" val="0.04"/>
<attnum name="base speed" val="11.60"/>
<attnum name="base brake" val="18.00"/>
<attnum name="brake mod" val="1"/>
<attnum name="bump caution" val="0.0"/>
<attnum name="int margin" val="1.8"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="steer gain" val="1.0"/>
<attnum name="min steer time" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:27.30 -->
<!-- alfatipo 1:30.40 -->
<section name="private">
<attnum name="increase corner inverse" val="0.090"/>
<attnum name="base speed" val="10.20"/>
<attnum name="base brake" val="26.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="0.0"/>
</section>
</params>

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 2:31.20 -->
<!-- alfatipo 2:38.50 -->
<section name="private">
<attnum name="min corner inverse" val="0.0015"/>
<attnum name="increase corner inverse" val="0.040"/>
<attnum name="base speed" val="12.00"/>
<attnum name="base brake" val="27.00"/>
<attnum name="slope factor" val="0.50"/>
<attnum name="max steer time" val="1.5"/>
<attnum name="int margin" val="2.0"/>
<attnum name="ext margin" val="1.6"/>
<attnum name="0 bgn" val="1360"/>
<attnum name="0 end" val="1400"/>
<attnum name="0 rl right margin" val="1.0"/>
</section>
</params>

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:56.70 -->
<!-- alfatipo 1:59.30 -->
<section name="private">
<attnum name="increase corner inverse" val="0.050"/>
<attnum name="base speed" val="10.40"/>
<attnum name="base brake" val="23.00"/>
<attnum name="slope factor" val="0.30"/>
<attnum name="bump caution" val="0.70"/>
<attnum name="accel exit" val="1.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="min steer time" val="0.7"/>
<attnum name="0 bgn" val="1290"/>
<attnum name="0 end" val="1310"/>
<attnum name="0 speed limit" val="20"/>
</section>
</params>

View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:35.50 -->
<!-- alfatipo 1:39.90 -->
<section name="private">
<attnum name="min corner inverse" val="0.001"/>
<attnum name="increase corner inverse" val="0.030"/>
<attnum name="s1ope factor" val="0.2"/>
<attnum name="base speed" val="11.50"/>
<attnum name="base brake" val="22.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="0.8"/>
<attnum name="skid correction" val="1.5"/>
<attnum name="1 bgn" val="1300"/>
<attnum name="1 end" val="1380"/>
<attnum name="1 rl left margin" val="3"/>
<attnum name="0 bgn" val="1430"/>
<attnum name="0 end" val="1490"/>
<attnum name="0 rl left margin" val="3"/>
<attnum name="0 base speed" val="8"/>
</section>
</params>

View file

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<section name="private">
<attnum name="min corner inverse" min="0" max="2" val="0.002"/>
<attnum name="increase corner inverse" min="0" max="2" val="0.030"/>
<attnum name="increase corner factor" min="0" max="4" val="3.500"/>
<attnum name="add avoid speed" min="-20" max="20" val="0.0"/>
<attnum name="avoid speed factor" min="-20" max="20" val="1.0"/>
<attnum name="avoid brake factor" min="-20" max="20" val="1.0"/>
<attnum name="base speed factor" min="0.0" max="50.0" val="1.15"/>
<attnum name="base brake factor" min="0.0" max="50.0" val="1.05"/>
<attnum name="base speed" min="0.0" max="50.0" val="10.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="21.00"/>
<attnum name="brake mod" min="0.0" max="1.0" val="1.00"/>
<attnum name="steer mod" min="0.0" max="1.0" val="1.00"/>
<attnum name="slope factor" min="0.0" max="1.0" val="0.20"/>
<attnum name="accel exit" min="0.0" max="10.0" val="0.40"/>
<attnum name="turn decel" min="0" max="2" val="0.4"/>
<attnum name="curve factor" min="0" max="2" val="0.11"/>
<attnum name="accel curve" min="0" max="2" val="1.20"/>
<attnum name="accel curve limit" min="0" max="6" val="1.5"/>
<attnum name="brake curve limit" min="0" max="6" val="2"/>
<attnum name="revs change up" min="0" max="2" val="0.84"/>
<attnum name="revs change down" min="0" max="2" val="0.64"/>
<attnum name="revs change down max" min="0" max="2" val="0.74"/>
<attnum name="steer skid" min="0" max="3" val="0.0"/>
<attnum name="steer gain" min="0" max="3" val="1.5"/>
<attnum name="max steer time" min="0.5" max="10" val="2.0"/>
<attnum name="min steer time" min="0.5" max="10" val="1.0"/>
<attnum name="int margin" min="0" max="2" val="1.7"/>
<attnum name="ext margin" min="0" max="2" val="1.3"/>
<attnum name="no team waiting" min="0" max="2" val="1"/>
<attnum name="inc factor" min="0" max="5" val="0.9"/>
<attnum name="overtake caution" min="-20" max="20" val="0.2"/>
<attnum name="abs slip" min="0.5" max="4.5" val="4.0"/>
<attnum name="abs range" min="0.5" max="10.5" val="9.0"/>
<attnum name="tcl slip" min="0.5" max="8.5" val="4.0"/>
<attnum name="skid correction" min="0.0" max="8.5" val="0.4"/>
<attnum name="bump caution" min="0.0" max="4.0" val="0.4"/>
<attnum name="pit offset" min="-200.0" max="200.0" val="-50"/>
<attnum name="steer debug" min="-5" max="5" val="-1.0"/>
<attnum name="overtake debug" min="0" max="1" val="0"/>
<attnum name="raceline debug" min="0" max="1" val="0"/>
</section>
</params>

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:22.10 -->
<!-- alfatipo 1:27.20 -->
<section name="private">
<attnum name="min corner inverse" val="0.0015"/>
<attnum name="increase corner inverse" val="0.030"/>
<attnum name="brake curve limit" val="3.0"/>
<attnum name="accel curve limit" val="2.0"/>
<attnum name="base speed" val="11.50"/>
<attnum name="base brake" val="29.00"/>
<attnum name="slope factor" val="0.40"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="2.0"/>
<attnum name="bump caution" val="0.0"/>
</section>
</params>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:30.50 -->
<!-- alfatipo 1:33.93 -->
<section name="private">
<attnum name="increase corner inverse" val="0.035"/>
<attnum name="base speed" val="12.20"/>
<attnum name="base brake" val="33.00"/>
<attnum name="accel exit" val="1.00"/>
<attnum name="int margin" val="1.5"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="skid correction" val="0.3"/>
</section>
</params>

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:40.80 -->
<!-- alfatipo 1:48.50 -->
<section name="private">
<attnum name="min corner inverse" min="0" max="2" val="0.0010"/>
<attnum name="base speed" val="11.50"/>
<attnum name="base brake" val="33.00"/>
<attnum name="bump caution" val="1.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="0 bgn" val="360"/>
<attnum name="0 end" val="480"/>
<attnum name="0 ext margin" val="3"/>
<attnum name="0 base speed" val="10"/>
</section>
</params>

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 2:06.80 -->
<!-- alfatipo 2:17.18 -->
<section name="private">
<attnum name="min corner inverse" min="0" max="2" val="0.0010"/>
<attnum name="base speed" val="10.80"/>
<attnum name="base brake" val="40.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="0.0"/>
<attnum name="skid correction" val="0.3"/>
<attnum name="steer mod" val="0.0"/>
<attnum name="0 bgn" val="800"/>
<attnum name="0 end" val="950"/>
<attnum name="0 ext margin" val="3"/>
<attnum name="1 bgn" val="2030"/>
<attnum name="1 end" val="2100"/>
<attnum name="1 ext margin" val="2"/>
</section>
</params>

View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:39.90 -->
<!-- alfatipo 1:46.25 -->
<section name="private">
<attnum name="min corner inverse" val="0.001"/>
<attnum name="base speed" val="11.20"/>
<attnum name="base brake" val="35.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:20.40 -->
<!-- alfatipo 1:22.80 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" min="0" max="2" val="0.045"/>
<attnum name="brake curve limit" val="3.0"/>
<attnum name="base speed" val="11.60"/>
<attnum name="base brake" val="37.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:41.90 -->
<!-- alfatipo 1:54.40 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="base speed" val="12.30"/>
<attnum name="base brake" val="26.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="steer time" val="2.0"/>
</section>
</params>

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 0:50.80 -->
<!-- alfatipo 0:52.35 -->
<section name="private">
<attnum name="min corner inverse" val="0.0001"/>
<attnum name="increase corner inverse" val="0.040"/>
<attnum name="base speed" val="11.20"/>
<attnum name="base brake" val="35.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="steer time" val="2.0"/>
<attnum name="bump caution" val="0.0"/>
</section>
</params>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:07.50 -->
<!-- alfatipo 1:12.28 -->
<section name="private">
<attnum name="min corner inverse" val="0.0010"/>
<attnum name="increase corner inverse" val="0.0200"/>
<attnum name="base speed" val="12.40"/>
<attnum name="base brake" val="33.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="0.7"/>
</section>
</params>

View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:19.50 -->
<!-- alfatipo 1:19.76 -->
<section name="private">
<attnum name="base speed" val="10.60"/>
<attnum name="base brake" val="24.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="0.3"/>
<attnum name="brake curve" val="1.18"/>
<attnum name="0 bgn" val="1110"/>
<attnum name="0 end" val="1114"/>
<attnum name="0 speed limit" val="50"/>
<attnum name="1 bgn" val="740"/>
<attnum name="1 end" val="750"/>
<attnum name="1 speed limit" val="35"/>
<attnum name="2 bgn" val="480"/>
<attnum name="2 end" val="690"/>
<attnum name="2 int margin" val="2"/>
</section>
</params>

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 4:08.40 -->
<!-- alfatipo 4:34.25 -->
<section name="private">
<attnum name="base speed" val="10.80"/>
<attnum name="base brake" val="20.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="0 bgn" val="5500"/>
<attnum name="0 end" val="6500"/>
<attnum name="0 base speed" val="9.5"/>
</section>
</params>

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<section name="private">
<attnum name="base speed" val="10.50"/>
<attnum name="base brake" val="29.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 2:01.70 -->
<!-- alfatipo 2:09.25 -->
<section name="private">
<attnum name="base speed" val="10.80"/>
<attnum name="base brake" val="30.00"/>
<attnum name="accel exit" val="2.00"/>
<attnum name="min steer time" val="1.5"/>
<attnum name="max steer time" val="2.5"/>
<attnum name="int margin" val="1.5"/>
<attnum name="ext margin" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 2:16.20 -->
<!-- alfatipo 2:27.15 -->
<section name="private">
<attnum name="base speed" val="10.00"/>
<attnum name="base brake" val="29.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="2.0"/>
<attnum name="bump caution" val="2.4"/>
<attnum name="skid correction" val="0.8"/>
<attnum name="steer mod" val="0"/>
<attnum name="0 bgn" val="450"/>
<attnum name="0 end" val="550"/>
<attnum name="0 bump caution" val="-2"/>
<attnum name="1 bgn" val="1280"/>
<attnum name="1 end" val="1470"/>
<attnum name="1 bump caution" val="4"/>
<attnum name="1 base speed" val="8"/>
<attnum name="1 base brake" val="-8"/>
<attnum name="1 speed limit" val="34"/>
</section>
</params>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:18.10 -->
<!-- alfatipo 1:21.70 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" val="0.5"/>
<attnum name="base speed" val="10.20"/>
<attnum name="base brake" val="36.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="slope factor" val="0.3"/>
</section>
</params>

View file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 8:17.40 -->
<!-- alfatipo 8:37.40 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" val="0.045"/>
<attnum name="base speed" val="11.20"/>
<attnum name="base brake" val="21.00"/>
<attnum name="int margin" val="1.4"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="max steer time" val="1.5"/>
<attnum name="min steer time" val="1.2"/>
<attnum name="skid correction" val="0.4"/>
</section>
</params>

View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:31.50 -->
<!-- alfatipo 1:38.70 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" val="0.04"/>
<attnum name="base speed" val="11.80"/>
<attnum name="base brake" val="31.00"/>
<attnum name="int margin" val="1.8"/>
<attnum name="ext margin" val="1.3"/>
</section>
</params>

View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 1:35.30 -->
<!-- alfatipo 1:39.30 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" val="0.04"/>
<attnum name="base speed" val="11.50"/>
<attnum name="base brake" val="32.00"/>
<attnum name="int margin" val="1.9"/>
<attnum name="ext margin" val="1.6"/>
</section>
</params>

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : viper-gts-r.xml
created : Sat Mar 3 18:46:37 CET 2001
copyright : (C) 2001 by Eric Espié
email : Eric.Espie@torcs.org
version : $Id: e-track-1.xml,v 1.8 2003/08/23 01:03:31 berniw Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">
<params name="Viper GTS-R" type="template">
<!-- alfa12c 2:10.40 -->
<!-- alfatipo 2:20.00 -->
<section name="private">
<attnum name="min corner inverse" val="0.0005"/>
<attnum name="increase corner inverse" val="0.04"/>
<attnum name="base speed" val="12.20"/>
<attnum name="base brake" val="33.00"/>
<attnum name="slope factor" val="0.5"/>
<attnum name="int margin" val="1.8"/>
<attnum name="ext margin" val="1.3"/>
<attnum name="bump caution" val="1.0"/>
<attnum name="skid correction" val="0.4"/>
<attnum name="0 bgn" val="1230"/>
<attnum name="0 end" val="1310"/>
<attnum name="0 ext margin" val="4"/>
<attnum name="0 int margin" val="1"/>
<attnum name="0 base brake" val="-25"/>
<attnum name="0 base speed" val="5"/>
</section>
</params>

View file

@ -3056,7 +3056,12 @@ void Driver::update(tSituation *s)
pitpos = PIT_NONE;
}
#ifdef TORCS_NG
if (pitpos == PIT_NONE)
RtTeamReleasePit(teamIndex);
#else
car->_lightCmd = (char) pitpos;
#endif
pit->update();
alone = isAlone();

View file

@ -250,6 +250,7 @@ class Driver {
float *radius;
int alone;
int carindex;
int teamindex;
float collision;
float global_skill;

View file

@ -46,6 +46,7 @@ Opponent::Opponent() :
t_impact(0.0f),
state(0),
team(0),
teamindex(0),
index(0),
overlaptimer(0.0f),
car(NULL),
@ -99,7 +100,10 @@ void Opponent::update(tSituation *s, Driver *driver, int DebugMsg)
if (team == -1)
{
if ((!strcmp(car->_teamname, mycar->_teamname)))
{
team = TEAM_FRIEND;
teamindex = RtTeamManagerIndex(car, track, s);
}
else
team = TEAM_FOE;
deltamult = 1.0 / s->deltaTime;

View file

@ -102,6 +102,7 @@ class Opponent {
float t_impact;
int state; // State variable to characterize the relation to the opponent, e. g. opponent is behind.
int team;
int teamindex;
int index;
float overlaptimer;

View file

@ -72,6 +72,7 @@ static double Max(double x1, double x2)
LRaceLine::LRaceLine() :
MinCornerInverse(0.001),
IncCornerInverse(1.000),
IncCornerFactor(1.000),
BaseCornerSpeed(0.0),
BaseCornerSpeedX(1.0),
DefaultCornerSpeedX(1.0),
@ -373,7 +374,8 @@ void LRaceLine::AllocTrack( tTrack *ptrack )
OvertakeCaution = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_OVERTAKE_CAUTION, (char *)NULL, 0.0f );
SkidCorrection = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_SKID_CORRECTION, (char *)NULL, 1.0f );
MinCornerInverse = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_MIN_CORNER_INV, (char *)NULL, 0.002f );
IncCornerInverse = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_INC_CORNER_INV, (char *)NULL, 1.002f );
IncCornerInverse = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_INC_CORNER_INV, (char *)NULL, 0.400f );
IncCornerFactor = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_INC_CORNER_FACTOR, (char *)NULL, 1.0f );
CornerSpeed = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_BASE_SPEED, (char *)NULL, 15.0f );
BaseCornerSpeedX = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_BASE_SPEED_X, (char *)NULL, 1.0f ) * (0.8 + MIN(0.25, ((12.0-skill)/12) / 4));
AvoidSpeedAdjust = GfParmGetNum( carhandle, SECT_PRIVATE, PRV_AVOID_SPEED, (char *)NULL, 0.0f );
@ -977,6 +979,7 @@ void LRaceLine::CalcZCurvature(int rl)
{
tTrackSeg *seg = tSegment[tDivSeg[i]];
#if 0
vec2f sl, el, sr, er, rp, vp;
sl.x = seg->vertex[TR_SL].x; sl.y = seg->vertex[TR_SL].y;
el.x = seg->vertex[TR_EL].x; el.y = seg->vertex[TR_EL].y;
@ -1001,6 +1004,9 @@ void LRaceLine::CalcZCurvature(int rl)
tz[rl][i] += (seg->vertex[TR_SR].z - avgz) * (1.0 - srdist/dist2);
tz[rl][i] += (seg->vertex[TR_EL].z - avgz) * (1.0 - eldist/dist2);
tz[rl][i] += (seg->vertex[TR_ER].z - avgz) * (1.0 - erdist/dist1);
#else
tz[rl][i] = RtTrackHeightG(seg, tx[rl][i], ty[rl][i]);
#endif
}
for ( i = 0; i < Divs; i++ )
@ -1149,7 +1155,7 @@ void LRaceLine::TrackInit(tSituation *p)
if (rI > MinCornerInverse)
{
if (rI > IncCornerInverse)
rI *= (1.0 + (rI - IncCornerInverse) * 50);
rI *= (1.0 + (rI - IncCornerInverse) * 50 * IncCornerFactor);
if (CornerSpeedX)
rI *= MIN(1.0, (1.0 - (rI*20*CornerSpeedX) + (3.0+CW)/30));
double tca = GetModD( tCornerAccel, i );
@ -1182,7 +1188,7 @@ void LRaceLine::TrackInit(tSituation *p)
{
// look for a sudden downturn in approaching track segments
double prevzd = 0.0, nextzd = 0.0;
int range = MAX(40.0, MIN(100.0, MaxSpeed)) / 10.0;
int range = int(MAX(40.0, MIN(100.0, MaxSpeed)) / 10.0);
bc += rI * 80;
@ -1539,7 +1545,7 @@ void LRaceLine::GetRLSteerPoint( vec2f *rt, double *offset, double time )
void LRaceLine::GetSteerPoint( double lookahead, vec2f *rt, double offset, double time )
{
int maxcount = ((int) lookahead) / DivLength + 1;
int maxcount = int(lookahead / DivLength + 1);
int count = 0;
tTrackSeg *seg = car->_trkPos.seg;
int SegId = car->_trkPos.seg->id;

View file

@ -106,6 +106,7 @@ class LRaceLine {
double MinCornerInverse;
double IncCornerInverse;
double IncCornerFactor;
double BaseCornerSpeed;
double BaseCornerSpeedX;
double DefaultCornerSpeedX;

View file

@ -37,7 +37,7 @@
#include <robottools.h>
#include <robot.h>
//#define TORCS_NG
#define TORCS_NG
#ifdef TORCS_NG
#include <teammanager.h>

View file

@ -3,7 +3,7 @@
ProjectType="Visual C++"
Version="8.00"
Name="usr_36GP"
ProjectGUID="{A2F45E6D-B16A-4CE6-8B30-EE7EB029E3EB}"
ProjectGUID="{706F50A3-034A-4E02-911A-49D944E90581}"
>
<Platforms>
<Platform

View file

@ -36,6 +36,7 @@
#define PRV_SKID_CORRECTION "skid correction"
#define PRV_MIN_CORNER_INV "min corner inverse"
#define PRV_INC_CORNER_INV "increase corner inverse"
#define PRV_INC_CORNER_FACTOR "increase corner factor"
#define PRV_BASE_SPEED "base speed"
#define PRV_BASE_SPEED_X "base speed factor"
#define PRV_AVOID_SPEED "add avoid speed"