added scale parameter to roadgenerator.generateroadsegments()