Errors with road splines.

alexl102

Learning... slowly!
Hi All,

In <kuid2:342053:37085:1> DS Road 01 Roundabout No Paths amongst others, I have the following errors:

- Multiple track stretches between 'a.road1b' and 'a.road1c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road2b' and 'a.road2c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road3b' and 'a.road3c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road0b' and 'a.road0c' in container 'attached-track'. Track stretches must be unique.

Its something I'm getting in quite a few road-related bits of content in various routes. Please can someone explain how this can be fixed?


Cheers
 
Hi All,

In <kuid2:342053:37085:1> DS Road 01 Roundabout No Paths amongst others, I have the following errors:

- Multiple track stretches between 'a.road1b' and 'a.road1c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road2b' and 'a.road2c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road3b' and 'a.road3c' in container 'attached-track'. Track stretches must be unique.
- Multiple track stretches between 'a.road0b' and 'a.road0c' in container 'attached-track'. Track stretches must be unique.

Its something I'm getting in quite a few road-related bits of content in various routes. Please can someone explain how this can be fixed?


Cheers

Remove the duplicated vertice pairs from the config you can't have the same pair of vertices in more than one road

for example in the original config which I kept a.road1b and a.road1c appear in both road0 and road1


I fixed this around a year or so ago as below, not there are now only 4 vertices per road not 5.

Code:
attached-track
{
  road0
  {
    track                               <kuid2:342053:37015:1>
    useadjoiningtracktype               0
    
    vertices
    {
      0                                 "a.road0a"
      1                                 "a.road0b"
      2                                 "a.road0c"
      3                                 "a.road1b"
    }
  }
  
  road1
  {
    track                               <kuid2:342053:37015:1>
    useadjoiningtracktype               0
    
    vertices
    {
      0                                 "a.road1a"
      1                                 "a.road1b"
      2                                 "a.road1c"
      3                                 "a.road2b"
    }
  }
  
  road2
  {
    track                               <kuid2:342053:37015:1>
    useadjoiningtracktype               0
    
    vertices
    {
      0                                 "a.road2a"
      1                                 "a.road2b"
      2                                 "a.road2c"
      3                                 "a.road3b"
    }
  }
  
  road3
  {
    track                               <kuid2:342053:37015:1>
    useadjoiningtracktype               0
    
    vertices
    {
      0                                 "a.road3a"
      1                                 "a.road3b"
      2                                 "a.road3c"
      3                                 "a.road0b"
    }
  }
}
 
What should I replace the duplicates with? Can I just make up any value for 'a.road[0x]' where 0 and x represent a number or a letter, or does it have to be within a certain range of values?
 
For that asset just copy what I posted, it's from that roundabout, it's not replacing it's actually removing, they should never have been there.
 
Back
Top