Page 1 of 1

Created Aussie Legend But dont know how to finish

PostPosted: Mon Jul 07, 2014 11:26 am
by IMSAGTP83
I have created a version of bathurst track. In track editor but cannot work out how to generate it. This is fairly close to original but I would like to get it working to see if it needs changes to layout.Thanks

Re: Created Aussie Legend But dont know how to finish

PostPosted: Mon Jul 07, 2014 2:33 pm
by h-j-s
IMSAGTP83 wrote:I have created a version of bathurst track. In track editor but cannot work out how to generate it. This is fairly close to original but I would like to get it working to see if it needs changes to layout.Thanks

Hello,
after reading the xml-file, I found that the category must be "road" and not Documents! Then you can build the Bathurst.ac file and test the track.
I wish much fun, cheers
Bathurst.zip

Re: Created Aussie Legend But dont know how to finish

PostPosted: Mon Jul 07, 2014 3:59 pm
by mungewell
I was able to build h-j-s' version with
Code: Select all
C:\Program Files\speed-dreams-2.1.0\data\tracks\road\bathurst>..\..\..\..\bin\sd
2-trackgen.exe -c road -n bathurst -a Bathurst.xml
00:00:00.000 Default  Info    Logger 'Default' created : Level threshold Debug:5

00:00:00.000 Default  Info    Date and time : 2014/07/07 09:50:31
00:00:00.000 Default  Info    Built on Windows-6.2
00:00:00.001 Default  Info      with CMake 2.8.12.1, 'Visual Studio 10' generato
r
00:00:00.002 Default  Info      with MSC 16.0.40219.1 compiler ('Release' config
uration)
00:00:00.004 Default  Info    Current OS is Windows 7  Service Pack 1 (build 760
1) (R6.1, 32 bits)
00:00:00.007 Default  Info    TrackGen 1.5.2.1 (Terrain generator for tracks)
00:00:00.008 Default  Info    Install dir is C:/Program Files/speed-dreams-2.1.0
/data/tracks/road/bathurst/../../../../ (from executable ..\..\..\..\bin\sd2-tra
ckgen.exe)
00:00:00.010 Default  Info    Parsing command line args (6)
00:00:00.011 Default  Info      -c road : option 'category'
00:00:00.013 Default  Info      -n bathurst : option 'name'
00:00:00.014 Default  Info      -a : option 'all'
00:00:00.016 Default  Info      Bathurst.xml : not a registered option
00:00:00.035 Default  Info    User settings in C:/Users/swood/Documents/speed-dr
eams-2.settings/ (from ~/speed-dreams-2.settings/)
00:00:00.036 Default  Info    Libraries in C:/Program Files/speed-dreams-2.1.0/d
ata/tracks/road/bathurst/../../../../lib/ (from lib/)
00:00:00.038 Default  Info    Executables in C:/Program Files/speed-dreams-2.1.0
/data/tracks/road/bathurst/../../../../bin/ (from bin/)
00:00:00.039 Default  Info    Data in C:/Program Files/speed-dreams-2.1.0/data/t
racks/road/bathurst/../../../../data/ (from data/)
00:00:00.078 Default  Info    Initializing random number generator for 'true ran
domness'
00:00:00.080 Default  Trace   Loaded tools/trackgen/trackgen.xml (00679C60)
00:00:00.081 Default  Info    Loading Track Loader ...
00:00:00.151 Default  Trace   Module C:/Program Files/speed-dreams-2.1.0/data/tr
acks/road/bathurst/../../../../lib/modules/track/trackv1.dll loaded
00:00:00.206 Default  Trace   Loaded C:/Program Files/speed-dreams-2.1.0/data/tr
acks/road/bathurst/../../../../data/tracks/road/bathurst/bathurst.xml (0067CCC8)

00:00:00.220 Default  Trace   Loaded C:/Program Files/speed-dreams-2.1.0/data/tr
acks/road/bathurst/../../../../data/tracks/road/bathurst/bathurst.xml (007557D8)

00:00:00.221 Default  Debug   Number of lights: 0
Track step: 20.00 ++++++++++++ Track ++++++++++++
name      = Bathurst
authors   = none
filename  = C:/Program Files/speed-dreams-2.1.0/data/tracks/road/bathurst/../../
../../data/tracks/road/bathurst/bathurst.xml
nseg      = 1474
version   = 4
length    = 5776.483887
width     = 10.000000
pits segs = 0
pits      = 0
XSize     = 1882.549194
YSize     = 1144.148804
ZSize     = 0.000000
Delta X   = -0.090393
Delta Y   = 0.033325
Delta Z   = 0.000000
Delta Ang = -0.001746 (-0.100011)
=== Indices Array Size   = 54320
=== Vertex Array Size    = 162960
=== Tex Coord Array Size = 108640
=== Indices really used = 34946
00:00:00.789 Default  Info    Track step: 20.00
00:00:00.792 Default  Info    Border margin: 50.00    step: 30.00    height: 15.
00
GenerateMesh: right, reverse order, interior
Relief: 0 vtx, 0 seg
Load Chains
Segments = 1474
xmin = 19.000061   ymin = 19.027954
xmax = 1863.543213   ymax = 1125.126099
Chains = 1
2948 Nodes
Renum Nodes, Triangles, Sides
GenerateMesh: left, normal order, exterior
Relief: 0 vtx, 0 seg
Load Chains
Segments = 1478
xmin = -50.000000   ymin = -50.000000
xmax = 1932.549194   ymax = 1194.148804
Chains = 2
3358 Nodes
Renum Nodes, Triangles, Sides
00:00:06.733 Default  Trace   Shutting down gaming framework.


It plays, but is rather flat and racing direction is reversed... good start though.
Simon