Re: Changing cars and fuel consumption
Schnuck68 <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
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. > Thanks to Kartik for this hint. Works very well. I used a value which completely prevents the refueling. Brilliant. Greetings. -- View this message in context: http://old.nabble.com/Changing-cars-and-fuel-consumption-tp34377285p34436193.html Sent from the torcs-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html