deus-ex-randomizer
deus-ex-randomizer copied to clipboard
custom map variations
- [x] see
class LoadMapWindow
for reference of how to get a list of available map files - [ ] all maps should be in a format like
01_NYC_UNATCOISLAND_VARIANTNAME.dx
- [x] randomly change teleporters/mapexits/dynamicteleporters to point variants (might be tricky with DXREntranceRando too)
- [x] detect which variant we're in
- [ ] the map could either have a subclass of DeusExLevelInfo, or a separate class, we would definitely want to show the author's name, maybe creation date and last updated date?
- [ ] either have different lists of coordinates for variants, or have actors in the map itself with coordinates mappings
- [ ] the variants could have built in Placeholders for items/containers/enemies, so those won't need to be created by our code
- [ ] goals could be tricky if we add a new goal but an old map variant isn't updated to include it
- [x] python script for flipping coordinates of
t3d
files- [x] flip them all except the first one, like:
def MirrorList(l):
# ensure proper vertex order
return l[0:1] + l[-1:0:-1]
def test_mirror(self):
orig = [12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] # verticies are counter-clockwise, right?
desired = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
result = buildmapbase.MirrorList(orig)
self.assertListEqual(result, desired, 'mirror')
- [x] package flipped maps into installer
- [x] options menu for enabling and disabling maps?
it has begun... https://github.com/Die4Ever/unreal-map-flipper