Fan Patch 1.50.9 with Launcher 1.2

Information, How-to's, and discussion about mod'ing Master of Orion II.
User avatar
Green_Knight
Posts: 61
Joined: Wed Jul 18, 2007 3:10 am
Contact:

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Green_Knight » Fri Jul 14, 2017 4:57 pm

This looks very interesting.

Haven't played MOO2 for a couple of years, but after feeling somewhat let down by MOO4, I felt the urge to check back in.

Perhaps this, plus the ICE mod, will be more satisfying.

User avatar
Tapwater42
Posts: 5
Joined: Sat Jul 22, 2017 12:36 am
Location: Shanghai

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Tapwater42 » Thu Jul 27, 2017 2:49 am

Hey Y'all. Question about map generation and manipulating monsters with lua: Is there a lua command for extracting and then setting monster information?

I am learning to code and wanted to mess around with map generation. So I wrote a lua script to output the contents of the star and planet table to the orion2.log with the newgame_postprocessor_script switch. I then went into the game and entered the iseeall cheat so that I could compare the data with the actual map for learning purposes.

However, I noticed that there doesn't appear to be anything about the location of monsters in either the stars or planet table. Here are the stars and planet tables:

Code: Select all

lua print: 0{name=Orion,color=2,y=172,x=143,id=0,wormhole=-1,orbits={0=4,1=2,2=1,3=3,4=0}}
lua print: 1{name=Cryslon,color=2,y=141,x=302,id=1,wormhole=-1,orbits={0=5,3=44}}
lua print: 2{name=Kaht,color=6,y=53,x=387,id=2,wormhole=-1,orbits={}}
lua print: 3{name=Fullen,color=1,y=250,x=408,id=3,wormhole=-1,orbits={0=7,3=6}}
lua print: 4{name=Mochos,color=3,y=84,x=85,id=4,wormhole=-1,orbits={2=9,4=8}}
lua print: 5{name=Honte,color=4,y=117,x=193,id=5,wormhole=7,orbits={0=12,2=11,4=10}}
lua print: 6{name=Zin,color=3,y=243,x=286,id=6,wormhole=-1,orbits={0=16,1=14,2=17,3=15,4=13}}
lua print: 7{name=Concordia,color=1,y=189,x=401,id=7,wormhole=5,orbits={0=19,3=18}}
lua print: 8{name=Sssla,color=4,y=313,x=437,id=8,wormhole=-1,orbits={2=46,3=45}}
lua print: 9{name=Joshua,color=4,y=297,x=54,id=9,wormhole=-1,orbits={4=20}}
lua print: 10{name=Asterion,color=4,y=368,x=113,id=10,wormhole=-1,orbits={0=21,4=22}}
lua print: 11{name=Baaltis,color=3,y=344,x=234,id=11,wormhole=-1,orbits={0=24,1=25,2=23}}
lua print: 12{name=Sabaki,color=4,y=302,x=343,id=12,wormhole=-1,orbits={2=26}}
lua print: 13{name=Ogeima,color=0,y=352,x=338,id=13,wormhole=-1,orbits={0=29,1=28,2=27,3=31,4=30}}
lua print: 14{name=Sol,color=4,y=30,x=42,id=14,wormhole=-1,orbits={1=34,3=33,4=32}}
lua print: 15{name=Dunwich,color=3,y=24,x=116,id=15,wormhole=-1,orbits={0=37,3=35,4=36}}
lua print: 16{name=Yuzh,color=4,y=23,x=246,id=16,wormhole=-1,orbits={4=38}}
lua print: 17{name=Tur,color=3,y=370,x=400,id=17,wormhole=-1,orbits={3=39,4=40}}
lua print: 18{name=Zona,color=1,y=145,x=467,id=18,wormhole=19,orbits={4=41}}
lua print: 19{name=Moro,color=2,y=157,x=30,id=19,wormhole=18,orbits={0=43,3=42}}
lua print: 0{minerals=4,star=0,food_base=6,colony=-1,id=0,type=3,image=0,climate=9,size=4,orbit=4,gravity=1}
lua print: 1{minerals=2,star=0,food_base=4,colony=-1,id=1,type=1,image=2,climate=8,size=2,orbit=2,gravity=1}
lua print: 2{minerals=2,star=0,food_base=2,colony=-1,id=2,type=1,image=1,climate=4,size=2,orbit=1,gravity=1}
lua print: 3{minerals=4,star=0,food_base=0,colony=-1,id=3,type=1,image=1,climate=1,size=2,orbit=3,gravity=2}
lua print: 4{minerals=1,star=0,food_base=0,colony=-1,id=4,type=1,image=1,climate=1,size=2,orbit=0,gravity=1}
lua print: 5{minerals=2,star=1,food_base=4,colony=0,id=5,type=3,image=2,climate=8,size=2,orbit=0,gravity=1}
lua print: 6{minerals=2,star=3,food_base=2,colony=-1,id=6,type=3,image=2,climate=4,size=4,orbit=3,gravity=2}
lua print: 7{minerals=1,star=3,food_base=0,colony=-1,id=7,type=3,image=0,climate=1,size=0,orbit=0,gravity=0}
lua print: 8{minerals=1,star=4,food_base=0,colony=-1,id=8,type=2,image=0,climate=2,size=1,orbit=4,gravity=0}
lua print: 9{minerals=3,star=4,food_base=4,colony=-1,id=9,type=3,image=1,climate=6,size=1,orbit=2,gravity=1}
lua print: 10{minerals=0,star=5,food_base=0,colony=-1,id=10,type=2,image=0,climate=0,size=4,orbit=4,gravity=1}
lua print: 11{minerals=1,star=5,food_base=0,colony=-1,id=11,type=3,image=0,climate=2,size=2,orbit=2,gravity=1}
lua print: 12{minerals=2,star=5,food_base=0,colony=-1,id=12,type=3,image=2,climate=2,size=3,orbit=0,gravity=1}
lua print: 13{minerals=1,star=6,food_base=0,colony=-1,id=13,type=3,image=0,climate=0,size=4,orbit=4,gravity=1}
lua print: 14{minerals=1,star=6,food_base=0,colony=-1,id=14,type=1,image=0,climate=1,size=2,orbit=1,gravity=1}
lua print: 15{minerals=2,star=6,food_base=4,colony=-1,id=15,type=3,image=1,climate=6,size=0,orbit=3,gravity=0}
lua print: 16{minerals=1,star=6,food_base=0,colony=-1,id=16,type=3,image=0,climate=1,size=2,orbit=0,gravity=1}
lua print: 17{minerals=2,star=6,food_base=4,colony=-1,id=17,type=3,image=2,climate=8,size=2,orbit=2,gravity=1}
lua print: 18{minerals=2,star=7,food_base=2,colony=-1,id=18,type=2,image=0,climate=4,size=2,orbit=3,gravity=1}
lua print: 19{minerals=2,star=7,food_base=0,colony=-1,id=19,type=3,image=1,climate=1,size=3,orbit=0,gravity=1}
lua print: 20{minerals=1,star=9,food_base=0,colony=-1,id=20,type=2,image=2,climate=2,size=1,orbit=4,gravity=0}
lua print: 21{minerals=2,star=10,food_base=0,colony=-1,id=21,type=3,image=0,climate=0,size=1,orbit=0,gravity=1}
lua print: 22{minerals=0,star=10,food_base=0,colony=-1,id=22,type=2,image=1,climate=0,size=2,orbit=4,gravity=0}
lua print: 23{minerals=1,star=11,food_base=0,colony=-1,id=23,type=1,image=1,climate=0,size=2,orbit=2,gravity=1}
lua print: 24{minerals=2,star=11,food_base=2,colony=-1,id=24,type=3,image=2,climate=4,size=1,orbit=0,gravity=1}
lua print: 25{minerals=3,star=11,food_base=4,colony=-1,id=25,type=3,image=2,climate=6,size=1,orbit=1,gravity=1}
lua print: 26{minerals=1,star=12,food_base=0,colony=-1,id=26,type=1,image=1,climate=0,size=0,orbit=2,gravity=0}
lua print: 27{minerals=2,star=13,food_base=2,colony=-1,id=27,type=2,image=1,climate=3,size=1,orbit=2,gravity=1}
lua print: 28{minerals=4,star=13,food_base=0,colony=-1,id=28,type=3,image=0,climate=1,size=4,orbit=1,gravity=2}
lua print: 29{minerals=4,star=13,food_base=0,colony=-1,id=29,type=3,image=2,climate=0,size=2,orbit=0,gravity=2}
lua print: 30{minerals=4,star=13,food_base=0,colony=-1,id=30,type=1,image=2,climate=2,size=2,orbit=4,gravity=2}
lua print: 31{minerals=2,star=13,food_base=0,colony=-1,id=31,type=3,image=1,climate=1,size=2,orbit=3,gravity=1}
lua print: 32{minerals=1,star=14,food_base=2,colony=-1,id=32,type=2,image=1,climate=4,size=2,orbit=4,gravity=1}
lua print: 33{minerals=1,star=14,food_base=0,colony=-1,id=33,type=3,image=1,climate=0,size=0,orbit=3,gravity=0}
lua print: 34{minerals=2,star=14,food_base=4,colony=2,id=34,type=3,image=1,climate=8,size=2,orbit=1,gravity=1}
lua print: 35{minerals=2,star=15,food_base=0,colony=-1,id=35,type=2,image=2,climate=1,size=1,orbit=3,gravity=1}
lua print: 36{minerals=2,star=15,food_base=0,colony=-1,id=36,type=2,image=1,climate=2,size=2,orbit=4,gravity=1}
lua print: 37{minerals=0,star=15,food_base=0,colony=-1,id=37,type=3,image=1,climate=1,size=4,orbit=0,gravity=1}
lua print: 38{minerals=0,star=16,food_base=0,colony=-1,id=38,type=3,image=0,climate=0,size=3,orbit=4,gravity=1}
lua print: 39{minerals=1,star=17,food_base=0,colony=-1,id=39,type=1,image=1,climate=0,size=2,orbit=3,gravity=1}
lua print: 40{minerals=1,star=17,food_base=2,colony=-1,id=40,type=3,image=2,climate=4,size=4,orbit=4,gravity=1}
lua print: 41{minerals=2,star=18,food_base=0,colony=-1,id=41,type=3,image=2,climate=2,size=4,orbit=4,gravity=2}
lua print: 42{minerals=2,star=19,food_base=4,colony=-1,id=42,type=3,image=2,climate=8,size=2,orbit=3,gravity=1}
lua print: 43{minerals=1,star=19,food_base=2,colony=-1,id=43,type=3,image=2,climate=3,size=0,orbit=0,gravity=0}
lua print: 44{minerals=2,star=1,food_base=0,colony=-1,id=44,type=3,image=0,climate=2,size=4,orbit=3,gravity=2}
lua print: 45{minerals=2,star=8,food_base=0,colony=-1,id=45,type=3,image=2,climate=2,size=2,orbit=3,gravity=1}
lua print: 46{minerals=2,star=8,food_base=4,colony=1,id=46,type=3,image=1,climate=8,size=3,orbit=2,gravity=1}



There is, apart from orion, an eel at star 13. But this doesn't appear in this table, as far as I can tell.
Is there a command to extract that information?

Alex
Posts: 15
Joined: Mon Oct 10, 2016 9:09 am

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Alex » Thu Jul 27, 2017 7:26 am

Hi, in 1.50.8 there is no way to view or edit ships via Lua script. It might be present in next release. What did you have in mind, placing custom monsters?

User avatar
Tapwater42
Posts: 5
Joined: Sat Jul 22, 2017 12:36 am
Location: Shanghai

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Tapwater42 » Thu Jul 27, 2017 7:48 am

Alex wrote:Hi, in 1.50.8 there is no way to view or edit ships via Lua script. It might be present in next release. What did you have in mind, placing custom monsters?


Well, I wasn't thinking of monsters actually. I wanted to make a map with certain guaranteed systems near the homeworlds of each player. Then I realized that if these systems randomly generated with monsters it would be unfair. So actually I just wanted to detect the monster systems and then move those systems away from player starts, swapping them with systems that don't have that special.

In fact, I would also want to detect ancient artifacts, natives, etc. for balance purposes as well.

Shame that this isn't possible but for now I guess I will use the mapgen switches to terraform the monsters away. I might do that with natives as well, since they net a player about 5 extra pop by turn 50.
If you don't pick demo then you clearly have authoritarian tendencies :|

Alex
Posts: 15
Joined: Mon Oct 10, 2016 9:09 am

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Alex » Thu Jul 27, 2017 2:23 pm

Monsters can be suppressed with mapgen /monsters = 0. To edit Orion change star 0. But planet specials are undetectable for now.

Zyrixion
Posts: 1
Joined: Tue Aug 22, 2017 7:56 am

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Zyrixion » Wed Aug 23, 2017 4:14 am

Hopefully this thread is a decent place to attract mod dev attention, as I seem to have found a couple config options that produce no actual effect.

Code: Select all

armor_extra heavy_armor_multiplier     = 2; # 3
armor_extra reinforced_hull_multiplier = 2; # 3


Seems to have no effect, no matter what the values are set to. At least, assuming this controls how much the systems multiply ship armor and structure.

User avatar
Rocco
Posts: 228
Joined: Sat Mar 29, 2008 9:16 am
Contact:

Re: Fan Patch 1.50.8 with Launcher 1.1.1

Postby Rocco » Fri Sep 01, 2017 2:25 am

Zyrixion wrote:Hopefully this thread is a decent place to attract mod dev attention, as I seem to have found a couple config options that produce no actual effect.

Code: Select all

armor_extra heavy_armor_multiplier     = 2; # 3
armor_extra reinforced_hull_multiplier = 2; # 3


Seems to have no effect, no matter what the values are set to. At least, assuming this controls how much the systems multiply ship armor and structure.


Tx for the report.
Name of parameters does not make this clear but they are for Star Base, not for ships. These two are also untested (could be buggy).

User avatar
Rocco
Posts: 228
Joined: Sat Mar 29, 2008 9:16 am
Contact:

Re: Fan Patch 1.50.9 with Launcher 1.2

Postby Rocco » Sun Sep 24, 2017 8:53 am

1.50.9 is here!
The pack also contains updated Launcher 1.2 and ICE 16.


Return to “Game Modifications”

Who is online

Users browsing this forum: No registered users and 1 guest