Re: Car flied up then went out of the track
Bernhard Wymann <[email protected]> Wed, 16 Nov 2016 23:46:03 +0100
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Yunzhu Yes, these conditions can lead to this: - damage > 10000 - car run out of fuel and is not moving - car did not complete the lap within a reasonable time (with an average speed of 10m/s and some "bonus time) - car did not clear a penalty within the required number of laps (can just happen in pro mode, semi pro is default for robots) See raceengine.cpp: http://torcs.cvs.sourceforge.net/viewvc/torcs/torcs/torcs/src/libs/raceengineclient/raceengine.cpp?revision=1.19.2.23&view=markup&pathrev=r1-3-1 Kind regards Bernhard On 16.11.2016 22:15, Yunzhu Li wrote: > Hi Bernhard, > > Is there any other cases that could lead to this situation? > I am pretty sure that there is no damage, yet the car is still been taken off the track by the (invisible) crane. > > Thanks! > Yunzhu > > >> -----Original Messages----- >> From: "Bernhard Wymann" <[email protected]> >> Sent Time: 2016-11-14 14:11:03 (Monday) >> To: "Yunzhu Li" <[email protected]>, [email protected] >> Cc: >> Subject: Re: [Torcs-users] Car flied up then went out of the track >> >> Hi >> >> Yes. If the car is totally broken (damage > 10000) it stops, and the >> virtual (invisible) crane takes it off the track to the side. >> >> Kind regards >> >> Bernhard >> >> On 14.11.2016 11:37, Yunzhu Li wrote: >>> Dear all, >>> >>> Has anyone encountered the following issue? >>> >>> I was writing a robot for torcs. After moving normally for a while, the >>> car suddenly flied up for a certain distance, then moved horizontally >>> towards the outside of the track, then dropped down. >>> >>> Any ideas of how to solve this? I am using torcs 1.3.4 with provided SRC >>> patch. >>> >>> Thanks in advance. >>> >>> Yunzhu >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> _______________________________________________ >>> Torcs-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/torcs-users >>> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Torcs-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/torcs-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Torcs-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/torcs-users > ------------------------------------------------------------------------------