Re: Changing cars and fuel consumption
Kartik Mohta <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CABPY-JdXCSXGDWUSYmzMAD1sjhB=AYPphs_zDcOb9PimNHwi+Q@mail.gmail.com> |
On Sun, Sep 2, 2012 at 5:18 AM, Schnuck68 <[email protected]> wrote: > > kartikmohta wrote: >> >> 2. The other option is to recompile the robot code. The robot >> calculates the initial fuel based on a max fuel per meter variable in >> the code. For the berniw robot, you can change the value of the >> MyCar::MAX_FUEL_PER_METER variable in src/drivers/berniw/mycar.cpp >> file and recompile. >> > > Would this take into account the different racetracks? So I don't have to > play > with the fuel too often? > Yes, this mostly depends on the car, though the track has a minor effect which you can compensate by setting a slightly higher value. You shouldn't need to change this value at all once you tune it. -- Kartik ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/