Expansion mod

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: Icemania, elliotg

Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Sending EM exe file to various antivirus companies to remove false positive detection. Virus total show 7 of 71 still show false positive, already cleared with AVG and AVAST.
Xilot
Posts: 27
Joined: Fri Jul 28, 2023 10:39 am

Re: Expansion mod

Post by Xilot »

Following of the save bug (https://www.matrixgames.com/forums/view ... 6#p5113056)

I had a second time this bug in a slightly different way (DW didn’t have enough memory or something like that to save) and the two times I had this bug I had put my PC to sleep by keeping the game on (If it can help to reproduce and find the bug).
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

A couple of QoL requests:

1. In the colony screen troops tab I'd like to be able to shift or ctrl select multiple troops to garrison or whatnot.
2. In the colony screen facility tab I'd like to shift or ctrl select multiple colonies and mass facility build. Doing this singularly through 50+ colonies is bad.
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Retreat1970 wrote: Sat Aug 05, 2023 9:23 pm A couple of QoL requests:

1. In the colony screen troops tab I'd like to be able to shift or ctrl select multiple troops to garrison or whatnot.
2. In the colony screen facility tab I'd like to shift or ctrl select multiple colonies and mass facility build. Doing this singularly through 50+ colonies is bad.
First one already working in empire troops tab. I using this to garrison new troops en masse.
For second one I think new form or tab needed. And probably some filters beside selection to more easily build and destroy buildings.

Now I am working on design "auto fill" button feature to add missing modules and so on.
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

Yep about troops, but usually when I first colonize I start recruiting in the colony screen immediately and it would be nice just to group click them all and hit garrison right there. It's no big deal.

Design autofill is nice.

Edit: I forgot. One more nice thing would be that when you research a better troop tech (+25 or whatever), that it would apply to current troops as well instead of just fresh builds. Just a thought don't know if it's possible.
Xilot
Posts: 27
Joined: Fri Jul 28, 2023 10:39 am

Re: Expansion mod

Post by Xilot »

I had another bug that crashed my game.

And, I also have two three improvements:

Would it be possible to drastically reduce the number of mines/ planets that can be exchanged with other empires? Because 1 we end up with empires that have colonies/ mines at 5, 10 and even 20 sectors of their capital (which means that the galactic map sometimes becomes anything) and 2 the loading time to make an exchange with another empire (I’m talking about the diplo window for example to buy/ sell techs/ colos/ etc) becomes too long (I had to wait several minutes once for it to open !)

I also have a problem with the calculation of the military power (which can be seen in the statistics) I have about this in power of fleets currently: 2 fleets at 12k power, 4 at 7k and 12 at 2k which is 76k in total whereas I have in theory only 36k of military power (I give the memory figures). This is something I do not understand (or maybe it should review how this figure is determined) especially since I have a good technological lead thanks to scientific wonders and an excellent spy (unfortunately lost !) who spent his time stealing techs (so, I find myself for example with lvl2 zenox shields, yeah !) while other empires have a huge military power (150k for one of them) while they probably have less military strength than me.
Attachments
bug.png
bug.png (29.76 KiB) Viewed 1558 times
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Xilot wrote: Tue Aug 15, 2023 10:56 am I had another bug that crashed my game.
1)Will look at this bug.

2)I need to check code before I can tell if it possible and how difficult it would be.

3)Not sure about military strength, need to check code to tell you how exactly it calculated.
User avatar
Tanaka
Posts: 5084
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

Re: Expansion mod

Post by Tanaka »

Alvek wrote: Tue Aug 15, 2023 12:09 pm
Xilot wrote: Tue Aug 15, 2023 10:56 am I had another bug that crashed my game.
1)Will look at this bug.

2)I need to check code before I can tell if it possible and how difficult it would be.

3)Not sure about military strength, need to check code to tell you how exactly it calculated.
Just wanted to say thank you to you for keeping this great game updated and refreshed. I've also come back to DWU after trying DW2. Too many bugs and not fleshed out enough. You guys are doing great things here thank you!
Image
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Tanaka wrote: Sat Aug 19, 2023 8:26 pm Just wanted to say thank you to you for keeping this great game updated and refreshed. I've also come back to DWU after trying DW2. Too many bugs and not fleshed out enough. You guys are doing great things here thank you!
Thanks! DW:U still have a lot of bugs, just not as game breaking.
Xilot
Posts: 27
Joined: Fri Jul 28, 2023 10:39 am

Re: Expansion mod

Post by Xilot »

If you have time too, have the ability in any design to block certain components. Because when you use the auto design update, the game updates all the components to the one that costs the most in technology. In most cases, this is very good but in other cases, this is not desirable (for example the caslon/hydrogen reactors that are used one for the state and the other for the private, the auto upgrate puts all the design in the caslon reactor or some racial techs that are ignored despite their superiority)
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

The Caslon/Hydrogen - State/Private is a player choice. The AI will always choose the best options, and since there is more than enough abundant resources having a split is merely an aesthetic choice. If the racial tech isn't being chosen then it needs to be modified.

Also use the researchprojectorder to force Ai into using what you wish to accomplish.
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Xilot wrote: Wed Aug 23, 2023 9:41 am If you have time too, have the ability in any design to block certain components. Because when you use the auto design update, the game updates all the components to the one that costs the most in technology. In most cases, this is very good but in other cases, this is not desirable (for example the caslon/hydrogen reactors that are used one for the state and the other for the private, the auto upgrate puts all the design in the caslon reactor or some racial techs that are ignored despite their superiority)
Design upgrades via advisor or auto button have a lot of problems, including one you mentioned.
For now I am working on auto fill button to add missing components or add more crew\hub\etc for easier manual design update.

Changing auto update behavior hard because updater need universal rules to find the best component. In case of reactors there is only component values and your empire focus on efficiency, power, etc. I don't see how to find best reactor and leave that at two different reactors for different designs. Only way I see to do this is to throw away completely current auto updater and implement new with detailed custom rules that you will need to create for each design and\or empire.

I think auto updater ignoring race tech is bug and planned to look into it, but complete change of behavior unlikely.
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

It's not a bug per se it's just that the racial is inferior somehow and needs to be modified.
Xilot
Posts: 27
Joined: Fri Jul 28, 2023 10:39 am

Re: Expansion mod

Post by Xilot »

Retreat1970 wrote: Wed Aug 23, 2023 2:44 pm It's not a bug per se it's just that the racial is inferior somehow and needs to be modified.
This is not always the case.

To take a concrete example of superior racial tech but still eliminated by the auto update (in DWUR) I have for example the specific tech of the ortain (troop transport) which gives 200 in transport size and which takes a little less space than conventional modules. But if by bad luck I looked for the superior tech of troop transport (huge troop module) since I did not have the opportunity to have access to this technology and now we have it, all our designs will have after auto update the wrong module since it is "superior" since it costs more to research.

Perhaps it would be possible to increase the research cost in the design (and only in the design !) of racial techs to better reflect their true value Alvek ?
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Xilot wrote: Fri Aug 25, 2023 12:16 pm
Retreat1970 wrote: Wed Aug 23, 2023 2:44 pm It's not a bug per se it's just that the racial is inferior somehow and needs to be modified.
This is not always the case.

To take a concrete example of superior racial tech but still eliminated by the auto update (in DWUR) I have for example the specific tech of the ortain (troop transport) which gives 200 in transport size and which takes a little less space than conventional modules. But if by bad luck I looked for the superior tech of troop transport (huge troop module) since I did not have the opportunity to have access to this technology and now we have it, all our designs will have after auto update the wrong module since it is "superior" since it costs more to research.

Perhaps it would be possible to increase the research cost in the design (and only in the design !) of racial techs to better reflect their true value Alvek ?
I haven't looked on upgrade code yet, but this round about way is bad. I think changing behavior for comparison of component values is better choice.
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

Right and this is why, for the Ai, you need to use the researchprojectorder in the race files to force races into techs. The game sees higher tech, higher damage, higher shield, etc... as better. It's the way it is, and to change game code when you can modify behavior yourself, isn't a good use of Alvek's time imo.
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

@xilot: I think I misinterpreted what you wrote. I have Ai on the brain.

For the player using Auto design, yes you are correct. This was one of the reasons I modified racials in RetreatUE 2.0 (actually it's probably 10.0), to be much more superior than the basic components. I believe I have the compact troop module starting at 600 in mine? Idk for sure but it's clearly the superior choice and for a long time so there's no argument. Considering the auto design doesn't min/max designs like a player, a bigger bonus doesn't affect the game too much (actually for the better for the computer).

You'll have to play around with values to get it how you like it. It took a long time for me to be somewhat happy with my game, but it's rewarding in the end. Sort of. My extreme setting is 99% impossible, which I thought I wanted, but I don't.
Xilot
Posts: 27
Joined: Fri Jul 28, 2023 10:39 am

Re: Expansion mod

Post by Xilot »

Ah agreed desolate for misunderstanding

Playing pirate, I also realized that they could directly create a spaceport on a colony with a constructor and I wonder if it would be possible to have the same function for a normal empire. (it’s not urgent + thank you for the job you do with this mod)
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Currently there are several algorithm to determine best latest component:
1)Maximum tech is best (even if not), if same tech level then component values compared to decide best.
2)Maximum tech cost is best (even if not)

As far as I can tell Bacon Mod ignores ship focus and use balanced for auto upgrade button.

Component types that use 2 algorithm: bombard, missile and their supper versions. Not sure about torpedo.
Everything else use 1 algorithm.

This way long range component with lower range and higher tech will be selected instead of better race tech of lower level.

Not sure what algorithm AI use, haven't found for now.
Alvek
Posts: 198
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Xilot wrote: Sun Aug 27, 2023 10:28 am Ah agreed desolate for misunderstanding

Playing pirate, I also realized that they could directly create a spaceport on a colony with a constructor and I wonder if it would be possible to have the same function for a normal empire. (it’s not urgent + thank you for the job you do with this mod)
This behavior was added for pirates specifically, to give them some advantage, so they could build bases everywhere. Doing same for regular empire would be cheating as you could build bases everywhere to deny resource or easy targets.
Post Reply

Return to “Design and Modding”