Skip to content

Commit

Permalink
Update positions editor to work with MotE (?)
Browse files Browse the repository at this point in the history
March of the Eagles uses the newer positions format of lists of coordinates, but does not have a built-in nudge tool like other newer games. Hopefully this fixes that gap.
  • Loading branch information
mmyers committed May 22, 2022
1 parent ef0e66b commit f87edbb
Show file tree
Hide file tree
Showing 8 changed files with 378 additions and 79 deletions.
95 changes: 95 additions & 0 deletions PositionsEditor/position_types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,98 @@ hoi3 = {

}

mote = {
display = "March of the Eagles"
map_inverted = no
has_sea_list = yes
land = {
position = {
garrison_unit/xy
unit/xy
unknown1/xy
unknown2/xy
unknown3/xy
}
rotation = {
garrison_unit/rotation
unit/rotation
unknown1/rotation
unknown2/rotation
unknown3/rotation
}
height = {
garrison_unit/height
unit/height
unknown1/height
unknown2/height
unknown3/height
}
}
sea = {} # don't have any example sea provs to fill this in with
}


ck2 = {
display = "Crusader Kings 2"
map_inverted = no
has_sea_list = yes # not accurate, but CK2's sea_zones system isn't implemented in this editor
land = {
position = {
city/xy
unit/xy
councilor/xy
text_position/xy
port/xy
wonder/xy
coastal_wonder/xy
}
rotation = {
city/rotation
unit/rotation
councilor/rotation
text/rotation
port/rotation
wonder/rotation
coastal_wonder/rotation
}
height = {
city/height
unit/height
councilor/height
text/height
port/height
wonder/height
coastal_wonder/height
}
}
sea = { # looks the same as land even though most of the positions aren't used
position = {
city/xy
unit/xy
councilor/xy
text_position/xy
port/xy
wonder/xy
coastal_wonder/xy
}
rotation = {
city/rotation
unit/rotation
councilor/rotation
text/rotation
port/rotation
wonder/rotation
coastal_wonder/rotation
}
height = {
city/height
unit/height
councilor/height
text/height
port/height
wonder/height
coastal_wonder/height
}
}
}

3 changes: 2 additions & 1 deletion PositionsEditor/src/posed/EditorDialog.form
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.1" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.3" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="0"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<Events>
<EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/>
Expand Down
Loading

0 comments on commit f87edbb

Please sign in to comment.