Started refactoring on ground objects. WW2 factions will have WW2 style buildings. Added ground objects templates for : "village", "ww2bunker", "allycamp"
@@ -13,7 +13,7 @@ def load_templates():
|
||||
|
||||
groups = {} # type: typing.Dict[str, typing.Dict[int, typing.List[Static]]]
|
||||
|
||||
for static_group in temp_mis.country("USA").static_group:
|
||||
for static_group in temp_mis.country("USA").static_group + temp_mis.country("USAF Aggressors").static_group:
|
||||
for static in static_group.units:
|
||||
static_name = str(static.name).split()[0]
|
||||
tpl_name, tpl_idx = static_name[:-1], int(static_name[-1])
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
import pickle
|
||||
import typing
|
||||
|
||||
from dcs.mission import Mission
|
||||
from dcs.mapping import Point
|
||||
from dcs.terrain import *
|
||||
from dcs.unitgroup import VehicleGroup, StaticGroup
|
||||
from dcs import vehicles
|
||||
from dcs.mapping import Point
|
||||
from dcs.mission import Mission
|
||||
from dcs.terrain import *
|
||||
from dcs.unit import *
|
||||
from dcs.statics import warehouse_map, fortification_map
|
||||
|
||||
from game import db
|
||||
from gen.groundobjectsgen import TheaterGroundObject
|
||||
from theater.caucasus import CaucasusTheater
|
||||
from theater.persiangulf import PersianGulfTheater
|
||||
from theater.nevada import NevadaTheater
|
||||
from theater.persiangulf import PersianGulfTheater
|
||||
|
||||
m = Mission()
|
||||
m.load_file("resources/tools/cau_groundobjects.miz")
|
||||
|
||||
BIN
resources/ui/ground_assets/allycamp.png
Normal file
|
After Width: | Height: | Size: 206 B |
BIN
resources/ui/ground_assets/allycamp_blue.png
Normal file
|
After Width: | Height: | Size: 206 B |
BIN
resources/ui/ground_assets/derrick.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
resources/ui/ground_assets/derrick_blue.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
resources/ui/ground_assets/village.png
Normal file
|
After Width: | Height: | Size: 231 B |
BIN
resources/ui/ground_assets/village_blue.png
Normal file
|
After Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
BIN
resources/ui/ground_assets/ww2bunker.png
Normal file
|
After Width: | Height: | Size: 210 B |
BIN
resources/ui/ground_assets/ww2bunker_blue.png
Normal file
|
After Width: | Height: | Size: 210 B |