added first work on setup weather for USR.

Code is not ready

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

Former-commit-id: 78f05d43c7bfc176ec79791d4d60cfd499dac344
Former-commit-id: 5804c28e50b7ab725997dfcc21e7249c26d3b9f3
This commit is contained in:
torcs-ng 2012-10-27 15:12:37 +00:00
parent 8a4c509a32
commit 4ab6356b40
10 changed files with 664 additions and 3 deletions

View file

@ -0,0 +1,67 @@
<?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$
-->
<!-- 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="sc-cavallo-360" type="template">
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" val="3.66"/>
</section>
<section name="2">
<attnum name="ratio" val="2.28"/>
</section>
<section name="3">
<attnum name="ratio" val="1.4"/>
</section>
<section name="4">
<attnum name="ratio" val="1.00"/>
</section>
<section name="5">
<attnum name="ratio" val=".86"/>
</section>
<section name="6">
<attnum name="ratio" val="0.75"/>
</section>
</section>
</section>
<section name="private">
<attnum name="base speed" val="14.90"/>
<attnum name="fuelperlap" val="0.98"/>
<attnum name="slope factor" val="0.50"/>
<attnum name="offtrack allowed" val="0"/>
<attnum name="int margin" val="1.7"/>
<attnum name="ext margin" val="1.4"/>
</section>
</params>

View file

@ -0,0 +1,81 @@
<?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$
-->
<!-- 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.001"/>
<attnum name="increase corner inverse" min="0" max="2" val="0.040"/>
<attnum name="add avoid speed" min="-20" max="20" val="0.0"/>
<attnum name="avoid speed factor" min="-20" max="20" val="0.80"/>
<attnum name="avoid brake factor" min="-20" max="20" val="0.9"/>
<attnum name="exit boost factor" min="-20" max="20" val="1.15"/>
<attnum name="avoid exit boost factor" min="-20" max="20" val="1.2"/>
<attnum name="brake margin" min="-20" max="20" val="1.5"/>
<attnum name="base speed factor" min="0.0" max="50.0" val="1.00"/>
<attnum name="base brake factor" min="0.0" max="50.0" val="1.02"/>
<attnum name="base speed" min="0.0" max="50.0" val="14.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="27.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.50"/>
<attnum name="accel exit" min="0.0" max="10.0" val="0.50"/>
<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="3"/>
<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.3"/>
<attnum name="min steer time" min="0.5" max="10" val="1.75"/>
<attnum name="int margin" min="0" max="2" val="1.3"/>
<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.75"/>
<attnum name="overtake caution" min="-20" max="20" val="0.2"/>
<attnum name="abs slip" min="0.5" max="4.5" val="2.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.5"/>
<attnum name="bump caution" min="0.0" max="4.0" val="0.4"/>
<attnum name="oversteer asr" min="-0.0" max="2.0" val="0.2"/>
<attnum name="side margin" min="0.0" max="4.0" val="1.0"/>
<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,81 @@
<?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$
-->
<!-- 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.001"/>
<attnum name="increase corner inverse" min="0" max="2" val="0.040"/>
<attnum name="add avoid speed" min="-20" max="20" val="0.0"/>
<attnum name="avoid speed factor" min="-20" max="20" val="0.80"/>
<attnum name="avoid brake factor" min="-20" max="20" val="0.9"/>
<attnum name="exit boost factor" min="-20" max="20" val="1.15"/>
<attnum name="avoid exit boost factor" min="-20" max="20" val="1.2"/>
<attnum name="brake margin" min="-20" max="20" val="1.5"/>
<attnum name="base speed factor" min="0.0" max="50.0" val="1.00"/>
<attnum name="base brake factor" min="0.0" max="50.0" val="1.02"/>
<attnum name="base speed" min="0.0" max="50.0" val="14.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="27.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.50"/>
<attnum name="accel exit" min="0.0" max="10.0" val="0.50"/>
<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="3"/>
<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.3"/>
<attnum name="min steer time" min="0.5" max="10" val="1.75"/>
<attnum name="int margin" min="0" max="2" val="1.3"/>
<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.75"/>
<attnum name="overtake caution" min="-20" max="20" val="0.2"/>
<attnum name="abs slip" min="0.5" max="4.5" val="2.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.5"/>
<attnum name="bump caution" min="0.0" max="4.0" val="0.4"/>
<attnum name="oversteer asr" min="-0.0" max="2.0" val="0.2"/>
<attnum name="side margin" min="0.0" max="4.0" val="1.0"/>
<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,81 @@
<?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$
-->
<!-- 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.001"/>
<attnum name="increase corner inverse" min="0" max="2" val="0.040"/>
<attnum name="add avoid speed" min="-20" max="20" val="0.0"/>
<attnum name="avoid speed factor" min="-20" max="20" val="0.80"/>
<attnum name="avoid brake factor" min="-20" max="20" val="0.9"/>
<attnum name="exit boost factor" min="-20" max="20" val="1.15"/>
<attnum name="avoid exit boost factor" min="-20" max="20" val="1.2"/>
<attnum name="brake margin" min="-20" max="20" val="1.5"/>
<attnum name="base speed factor" min="0.0" max="50.0" val="1.00"/>
<attnum name="base brake factor" min="0.0" max="50.0" val="1.02"/>
<attnum name="base speed" min="0.0" max="50.0" val="14.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="27.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.50"/>
<attnum name="accel exit" min="0.0" max="10.0" val="0.50"/>
<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="3"/>
<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.3"/>
<attnum name="min steer time" min="0.5" max="10" val="1.75"/>
<attnum name="int margin" min="0" max="2" val="1.3"/>
<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.75"/>
<attnum name="overtake caution" min="-20" max="20" val="0.2"/>
<attnum name="abs slip" min="0.5" max="4.5" val="2.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.5"/>
<attnum name="bump caution" min="0.0" max="4.0" val="0.4"/>
<attnum name="oversteer asr" min="-0.0" max="2.0" val="0.2"/>
<attnum name="side margin" min="0.0" max="4.0" val="1.0"/>
<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

@ -27,8 +27,8 @@
<attnum name="brake margin" min="-20" max="20" val="1.5"/>
<attnum name="base speed factor" min="0.0" max="50.0" val="1.00"/>
<attnum name="base brake factor" min="0.0" max="50.0" val="1.02"/>
<attnum name="base speed" min="0.0" max="50.0" val="12.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="25.00"/>
<attnum name="base speed" min="0.0" max="50.0" val="14.00"/>
<attnum name="base brake" min="10.0" max="100.0" val="27.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.50"/>
@ -63,7 +63,6 @@
<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,71 @@
<?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$
-->
<!-- 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="sc-cavallo-360" type="template" mode="mw">
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" val="3.26"/>
</section>
<section name="2">
<attnum name="ratio" val="2.08"/>
</section>
<section name="3">
<attnum name="ratio" val="1.59"/>
</section>
<section name="4">
<attnum name="ratio" val="1.12"/>
</section>
<section name="5">
<attnum name="ratio" val="0.90"/>
</section>
<section name="6">
<attnum name="ratio" val="0.96"/>
</section>
</section>
</section>
<section name="private">
<attnum name="fuelperlap" val="1.3"/>
<attnum name="base speed" val="15.50"/>
<attnum name="base brake" val="28.00"/>
<attnum name="revs change up" val="0.87"/>
<attnum name="revs change down" val="0.72"/>
<attnum name="int margin" min="0" max="2" val="1.7"/>
<attnum name="ext margin" min="0" max="2" val="1.1"/>
<attnum name="slope factor" val="0.1"/>
</section>
</params>

View file

@ -0,0 +1,71 @@
<?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$
-->
<!-- 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="sc-cavallo-360" type="template" mode="mw">
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" val="3.26"/>
</section>
<section name="2">
<attnum name="ratio" val="2.08"/>
</section>
<section name="3">
<attnum name="ratio" val="1.59"/>
</section>
<section name="4">
<attnum name="ratio" val="1.12"/>
</section>
<section name="5">
<attnum name="ratio" val="0.90"/>
</section>
<section name="6">
<attnum name="ratio" val="0.96"/>
</section>
</section>
</section>
<section name="private">
<attnum name="fuelperlap" val="1.3"/>
<attnum name="base speed" val="14.50"/>
<attnum name="base brake" val="26.00"/>
<attnum name="revs change up" val="0.85"/>
<attnum name="revs change down" val="0.72"/>
<attnum name="int margin" min="0" max="2" val="1.7"/>
<attnum name="ext margin" min="0" max="2" val="1.1"/>
<attnum name="slope factor" val="0.1"/>
</section>
</params>

View file

@ -0,0 +1,73 @@
<?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$
-->
<!-- 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="sc-cavallo-360" type="template" mode="mw">
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" val="3.26"/>
</section>
<section name="2">
<attnum name="ratio" val="2.08"/>
</section>
<section name="3">
<attnum name="ratio" val="1.59"/>
</section>
<section name="4">
<attnum name="ratio" val="1.12"/>
</section>
<section name="5">
<attnum name="ratio" val="0.90"/>
</section>
<section name="6">
<attnum name="ratio" val="0.96"/>
</section>
</section>
</section>
<section name="private">
<attnum name="fuelperlap" val="1.3"/>
<attnum name="base speed" val="7.00"/>
<attnum name="base brake" val="2.00"/>
<attnum name="revs change up" val="0.82"/>
<attnum name="revs change down" val="0.72"/>
<attnum name="int margin" min="0" max="2" val="1.1"/>
<attnum name="ext margin" min="0" max="2" val="1.5"/>
<attnum name="exit boost factor" min="-20" max="20" val="1.05"/>
<attnum name="slope factor" val="0.1"/>
<attnum name="brake mu" val="0.50"/>
</section>
</params>

View file

@ -0,0 +1,68 @@
<?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 Espie
email : Eric.Espie@torcs.org
version : $Id$
-->
<!-- 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="sc-cavallo-360" type="template" mode="mw">
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" min="0" max="5" val="3.26"/>
</section>
<section name="2">
<attnum name="ratio" min="0" max="5" val="2.08"/>
</section>
<section name="3">
<attnum name="ratio" min="0" max="5" val="1.59"/>
</section>
<section name="4">
<attnum name="ratio" min="0" max="5" val="1.12"/>
</section>
<section name="5">
<attnum name="ratio" min="0" max="5" val="0.90"/>
</section>
<section name="6">
<attnum name="ratio" min="0" max="5" val="0.96"/>
</section>
</section>
</section>
<section name="private">
<attnum name="fuelperlap" val="1.3"/>
<attnum name="base speed" val="14.60"/>
<attnum name="base brake" val="30.00"/>
<attnum name="exit boost factor" val="1.17"/>
<attnum name="revs change up" val="0.87"/>
<attnum name="revs change down" val="0.75"/>
<attnum name="slope factor" val="0.1"/>
</section>
</params>

View file

@ -0,0 +1,69 @@
<?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$
-->
<!-- 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="sc-cavallo-360" type="template" mode="mw">
<section name="Front Wing">
<attnum name="angle" unit="deg" val="0"/>
</section>
<section name="Rear Wing">
<attnum name="angle" unit="deg" val="0"/>
</section>
<section name="Gearbox">
<section name="gears">
<section name="r">
<attnum name="ratio" val="-2.0"/>
</section>
<section name="1">
<attnum name="ratio" val="3.66"/>
</section>
<section name="2">
<attnum name="ratio" val="2.28"/>
</section>
<section name="3">
<attnum name="ratio" val="1.4"/>
</section>
<section name="4">
<attnum name="ratio" val="1.20"/>
</section>
<section name="5">
<attnum name="ratio" val="1.00"/>
</section>
<section name="6">
<attnum name="ratio" val="0.90"/>
</section>
</section>
</section>
<section name="private">
<attnum name="fuelperlap" val="1.84"/>
<attnum name="slope factor" val="0.1"/>
</section>
</params>