Cities
Posted: Mon Sep 21, 2015 2:34 pm
I hope to be part of making cities a more visually pleasing aspect of landing planetside.
It would be a multi-step process but some things can be done in parallell.
A) adding more buildings, variations, ..
B) altering the city generator to create more realistic layouts and taking new metadata into account
C) altering the terrain generator to create suitable landscapes underneath city layouts.
this is the metadata I have come up with so far:
mindensity, # default 0, (0-100?) city edge, small cities, single buildings, ...
maxdensity, # default 100, (0-100?) city core, high density skyscrapers
landscape: flat | sloped | any # default=any
function: industrial | business | residential | ... # default: none
faction: federation | empire | alliance | alien | ... # default: none
age: ruins | old | contemporary | modern | futuristic | ... # default: none
flags:
landmark, # default=false, should only be placed once in a city
city=__name__, # default=undefined, object can only be placed in city named __name__
atmospheric, # default=false, only placed on planets with breathable atmosphere
non-atmos, # default=false, only placed on planets entirely without atmosphere
military, # default=false, only placed in cities with military theme
# not all flags need to be set, flags are independent of eachother
# parser must handle undefined flags (futureproofing models)
# parser must handle models without any flags
example:
#
model=bigben.obj
city=london
landmark
example 2:
#
model=barn.obj
mindensity=0
maxdensity=10
function=industrial
atmospheric=true
example 3:
#
model=missilesilo.obj
military=true
It would be a multi-step process but some things can be done in parallell.
A) adding more buildings, variations, ..
B) altering the city generator to create more realistic layouts and taking new metadata into account
C) altering the terrain generator to create suitable landscapes underneath city layouts.
this is the metadata I have come up with so far:
mindensity, # default 0, (0-100?) city edge, small cities, single buildings, ...
maxdensity, # default 100, (0-100?) city core, high density skyscrapers
landscape: flat | sloped | any # default=any
function: industrial | business | residential | ... # default: none
faction: federation | empire | alliance | alien | ... # default: none
age: ruins | old | contemporary | modern | futuristic | ... # default: none
flags:
landmark, # default=false, should only be placed once in a city
city=__name__, # default=undefined, object can only be placed in city named __name__
atmospheric, # default=false, only placed on planets with breathable atmosphere
non-atmos, # default=false, only placed on planets entirely without atmosphere
military, # default=false, only placed in cities with military theme
# not all flags need to be set, flags are independent of eachother
# parser must handle undefined flags (futureproofing models)
# parser must handle models without any flags
example:
#
model=bigben.obj
city=london
landmark
example 2:
#
model=barn.obj
mindensity=0
maxdensity=10
function=industrial
atmospheric=true
example 3:
#
model=missilesilo.obj
military=true