Re: Workflow from XML to a track

"hj- schuessler" <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
Hi Arkady,
i tried the last xml-file with the command: trackgen.exe -c road -n  
example_track -a
and in the folder example_track is now a ac-file, but it will not run in  
torcs!!!!
Because: In the xml-file the name of the ac-file is test.ac!!! This must  
be ident
with the track-folder and the build ac-file!!!
<attstr name="3d description" val="example_track.ac" />
I hope this helps....



Am Mon, 03 Sep 2012 18:05:26 +0300 schrieb Arkady English  
<[email protected]>:

> I've just tried again with the latest build of my track generator. It's  
> worse:
>
> It now says:
>
> trackgen -c road -n test_track
> ++++++++++++ Track ++++++++++++
> name      = test_track
> author    = Arkady English - track creator
> filename  = tracks/road/test_track/test_track.xml
> nseg      = 0
> version   = 1
> length    = 0.000000
> width     = 14.000000
> pits      = 0
> XSize     = 0.000000
> YSize     = 0.000000
> ZSize     = 0.000000
>
> ... and then crashes (trackgen.exe has stopped working... Windows is
> checking for a solution).
>
> The XML produced for this version is attached. It is worth noting this
> does produce a .ac file, but the .ac file is size 0.
>
> On 3 September 2012 15:52, Arkady English <[email protected]>  
> wrote:
>>
>> Hi everyone.
>>
>> Back in July I posted that I was having difficulty converting XML to a  
>> track.
>>
>> I tried what was suggested, but realise I didn't give much information  
>> and focussed on the meat and bones of the project I was actually doing.  
>> I'd like to try to get trackgen working. I've attached a sample track  
>> XML and the console output for it.
>>
>> Console output:
>> ++++++++++++ Track ++++++++++++++
>> name = test
>> author = Vicente Marti [node to self: I need to change this line]
>> filename = tracks/test/example_track/example_track.xml
>> nseg = 323
>> version = 4
>> length = 1265.484131
>> width = 14.000000
>> pits = 0
>> XSize = 571.576416
>> YSize = 217.999969
>> ZSize = 0.000000
>> Delta X = 0.000549
>> Delta Y = -0.001114
>> Delta Z = 0.000000
>> Delta Ang = -0.000006 (-0.000318)
>> === Indices array size =19790
>> === Vertex array size = 59370
>> === Tex coord array size = 39580
>> === Indices really used = 7454
>>
>>
>> At this point I get the Windows "trackgen has stopped working, Windows  
>> is searching for a solution..."
>>
>> The XML is attached.


-- 
Erstellt mit Operas revolutionÀrem E-Mail-Modul: http://www.opera.com/mail/
example_track.ac (application/octet-stream, 740.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.