Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Modding Tool

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> RE: Modding Tool Page: <<   < prev  10 11 [12] 13 14   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: Modding Tool - 6/11/2017 7:03:25 AM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
The issue may be related to problems with Distant worlds..... I checked the validity of the Distant World Files and the report came back that over 600 files were corrupt.

Will test again over next few days.

_____________________________



(in reply to rjord2021)
Post #: 331
RE: Modding Tool - 6/11/2017 11:04:25 PM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
When loading my mod into your tool I get a warning that:

File has too many race biases, the hard limit is 30. No more race biases will be loaded. Please be aware that outputting the race biases form to disk will result in losing any extra race biases!

I have 112 race biases which seem to work fine in Distant Worlds and have not seen anything about race biases being limited to 30.

The manual does state that Race Families are limited to 30..... is this what should have been limited?

_____________________________



(in reply to rjord2021)
Post #: 332
RE: Modding Tool - 6/12/2017 4:50:45 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Ah, thanks for that. It was actually limited to 100, even though it was saying 30. At some point I must have decided to limit the race number (and by extension the biases) to 100 but I can't remember why, I remember once upon a time it was limited to 50 but I can't find documentation to suggest an arbitrary limit at the moment. I'll push a revision to fix that bug and set it to say 500 for now.

_____________________________


(in reply to rjord2021)
Post #: 333
RE: Modding Tool - 6/12/2017 5:11:18 AM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline

quote:

ORIGINAL: Sabranan

Ah, thanks for that. It was actually limited to 100, even though it was saying 30. At some point I must have decided to limit the race number (and by extension the biases) to 100 but I can't remember why, I remember once upon a time it was limited to 50 but I can't find documentation to suggest an arbitrary limit at the moment. I'll push a revision to fix that bug and set it to say 500 for now.



Keep in mind ships can only go from 0 to 50 so if you allow number of races and biases to be over 50 that your tool does not allow ships to be 51 or more. With 112 races I have many races sharing common ship sets.

_____________________________



(in reply to Sabranan)
Post #: 334
RE: Modding Tool - 6/12/2017 5:22:55 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
quote:

ORIGINAL: rjord1
Keep in mind ships can only go from 0 to 50 so if you allow number of races and biases to be over 50 that your tool does not allow ships to be 51 or more. With 112 races I have many races sharing common ship sets.


That's fine, the tool handles the ship images separately from the hard race limit anyway and I've just checked and they're already set to be limited at 50.

_____________________________


(in reply to rjord2021)
Post #: 335
RE: Modding Tool - 6/15/2017 8:27:30 PM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Seems to be something wrong with the validation as this came up:

Invalid character random appearance chance intelligence agent value "" found in Race Information record 0) Ackdarian, value changed to "0"

That is not invalid, the value is 1.0, not altered or edited as it's a vanilla file, changing the value to 0 would mean that the chance to appear would drop from normal to minimum.

Program could save time so I will watch it, see how it progresses and try it again in a few months.

Darkspire



_____________________________


(in reply to Sabranan)
Post #: 336
RE: Modding Tool - 6/15/2017 8:55:30 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Loading the vanilla race files only generates one validation error, which is the caution value for the Atuuk. As far as I can tell the check is correct... Can you send me a log or paste the input log here so I can have a look at what's going on?

I do agree about the default values though, I've set the character appearance chance defaults to 1 now instead of 0.

_____________________________


(in reply to Darkspire)
Post #: 337
RE: Modding Tool - 6/15/2017 11:30:43 PM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline

quote:

ORIGINAL: Sabranan

Loading the vanilla race files only generates one validation error, which is the caution value for the Atuuk. As far as I can tell the check is correct... Can you send me a log or paste the input log here so I can have a look at what's going on?

I do agree about the default values though, I've set the character appearance chance defaults to 1 now instead of 0.


That error was with all the vanilla race files that I had in the theme, not just the Atuuk.
I will PM you a log tomorrow but the data needs to be checked for values above and below the allowed values, only if a value is outside that range should a default value be substituted.

This error I pointed out was one of a quite a few, I picked that one as it was near the end of the readout once the theme was validated, I am very familiar with all the text files for DW as I have been on the beta team for years. For example are you aware of the victory conditions for pirates that are not listed? If not then those too will be throwing out errors, my theme is a complete one, it encompasses all the files, been writing it since Legends, every time I get close to releasing it I end up testing a new expansion and it is back to the drawing board which is what has happened with Universe

Darkspire

_____________________________


(in reply to Sabranan)
Post #: 338
RE: Modding Tool - 6/16/2017 12:24:14 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Well now I'm really confused lol.

The Atuuk are the only race where the vanilla files have a caution value outside of the range (between 50 and 150). Since the vanilla Atuuk race has a caution value of 40, when I load the default files into the tool I get this:

Beginning data validation on Race Information
Invalid caution value "40" found in Race Information record 1) Atuuk, value changed to "50"
Data validation on Race Information complete, found and corrected 1 values


Which is to be expected, since the value is out of range.

But if you're also loading the default files and getting more errors in the same category, well, that shouldn't be possible!

As for pirate victory conditions can they even be modded? As far as I knew you could only change them by changing the playstyle when you set up the game, and the values themselves were hardcoded.

_____________________________


(in reply to Darkspire)
Post #: 339
RE: Modding Tool - 6/16/2017 6:09:57 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Just loaded your editor and got the update.

Don't think you are understanding the problem, as the same file is getting the same error, the values for character appearances are in the range of 0 to 3.0, so a value of 1.3, 2.6 should be valid, a value of 3.2 is not and should be changed to 1.0 not 1.

As the editor does not pick up on the other values for character appearance within the race file IMO this needs looking at, example:

CharacterRandomAppearanceChanceLeader ;2.6
CharacterRandomAppearanceChanceAmbassador ;1.2
CharacterRandomAppearanceChanceGovernor ;1.4
CharacterRandomAppearanceChanceAdmiral ;0
CharacterRandomAppearanceChanceGeneral ;2.1
CharacterRandomAppearanceChanceScientist ;1.0
CharacterRandomAppearanceChanceIntelligenceAgen ;1.9
CharacterRandomAppearanceChanceShipCaptain ;2.0
CharacterRandomAppearanceChancePirateLeader ;3.6

All the above values are valid except the last one, that is an error and should be corrected to 1.0 not 1

Sorry but I do not have the time to go through any further problems with your editor.

All the best, I will keep an eye on how things progress.

Darkspire


_____________________________


(in reply to Sabranan)
Post #: 340
RE: Modding Tool - 6/16/2017 2:46:27 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
The modding guide indicates the maximum value is 5.0, and I'm pretty sure this is correct.

To show off what I mean, here's my test values for the Ackdarian:

CharacterRandomAppearanceChanceLeader ;3.0
CharacterRandomAppearanceChanceAmbassador ;4.0
CharacterRandomAppearanceChanceGovernor ;5
CharacterRandomAppearanceChanceAdmiral ;7.0
CharacterRandomAppearanceChanceGeneral ;10.0
CharacterRandomAppearanceChanceScientist ;100.0
CharacterRandomAppearanceChanceIntelligenceAgent ;1000000.0

And this is what comes up in game with those values:



As you can see, using 3.0, 4.0 and 5 all give different values (200%, 300% and 400%). But after 5, any higher number just gives 400% so there's no point. That's why the tool will set any value outside of 0 - 5 to a default value.

The default value is valid too, if it's a whole number you don't need the ".0", as the above test also proves.

< Message edited by Sabranan -- 6/16/2017 2:47:21 PM >


_____________________________


(in reply to Darkspire)
Post #: 341
RE: Modding Tool - 6/16/2017 10:51:08 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
In other news, I've finally solved an issue which has been preventing me from pushing a new update. The actual work has been done but this problem basically screwed my results up, so now that it's fixed we're right back on track.

Meet 1.0.15.0!

That's literally all of the data validation done (dialogues wouldn't benefit from it), I just need to test for bugs and wait for reports to see if I've got everything right. Once it's there, I'll push version 1.1.0.0 and that'll be that!

_____________________________


(in reply to Sabranan)
Post #: 342
RE: Modding Tool - 6/17/2017 3:44:12 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Guess it must be the beta tester in me that I had to have another look

Same file is now showing a different error (it has not been altered since the last time it was checked)

The current line contains invalid data in the C:\Matrix Games\Distant Worlds Universe\Customization\Darkverse\races\ackdarian.txt file, the "CharacterRandomAppearanceChanceIntelligenceAgen" variable is not recognised. It will be dropped if the races are outputted.

My character files work fine, no problems for years, this comes up (along with 216 similar messages for the other files)

Invalid race override value "aritri" found in Characters record 0) Dekshi Shokia of race "Aritri", value changed to "Aritri"

No problem with the resources either and this comes up.

Invalid location type value "0" found in Resources record 44) Kreil Pebble, value changed to "2"

The line in the resources file reads: (no problem with that either, works fine in game)

44, Kreil Pebble,44,8.0,2,0, N, N,0,0,0,11,0.156,0.4,0.8,

Darkspire







_____________________________


(in reply to Sabranan)
Post #: 343
RE: Modding Tool - 6/17/2017 12:49:02 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Ok, let's have a looksie:

quote:

The current line contains invalid data in the C:\Matrix Games\Distant Worlds Universe\Customization\Darkverse\races\ackdarian.txt file, the "CharacterRandomAppearanceChanceIntelligenceAgen" variable is not recognised. It will be dropped if the races are outputted.


You're missing a "T" at the end of that variable so that's why the tool doesn't recognise it.

quote:

My character files work fine, no problems for years, this comes up (along with 216 similar messages for the other files)

Invalid race override value "aritri" found in Characters record 0) Dekshi Shokia of race "Aritri", value changed to "Aritri"


You're right that's not really an error, but best practise is to maintain the same case. Although it'll generate a lot of data validation warnings, they are just warnings. As long as you can see that the value it's changed them to is correct, you can safely ignore them.

quote:

No problem with the resources either and this comes up.

Invalid location type value "0" found in Resources record 44) Kreil Pebble, value changed to "2"

The line in the resources file reads: (no problem with that either, works fine in game)

44, Kreil Pebble,44,8.0,2,0, N, N,0,0,0,11,0.156,0.4,0.8,


There is a problem with this resource line, you've set the location type to planet/moon and the subtype to argon. I figured people are more likely to be accurate with the sub-type, so it's setting the type to match. I imagine the in-game behaviour would be that this resource just doesn't spawn and empires only get it when they get a random event saying "Kreil Pebble discovered on colony X".

Seeing this though does make me realise I could probably go one step further and set the location type to be consistent with the resource type so thanks for that.

_____________________________


(in reply to Darkspire)
Post #: 344
RE: Modding Tool - 6/17/2017 4:42:45 PM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
quote:

You're missing a "T" at the end of that variable so that's why the tool doesn't recognize it.


I must have knocked off the 'T' when I was checking it from the first post regards number issues. Fixed.

quote:

You're right that's not really an error, but best practise is to maintain the same case. Although it'll generate a lot of data validation warnings, they are just warnings. As long as you can see that the value it's changed them to is correct, you can safely ignore them.


It picks up on capitalization? That did make me smile. I shall use capitals sir. Fixed

quote:


There is a problem with this resource line, you've set the location type to planet/moon and the subtype to argon. I figured people are more likely to be accurate with the sub-type, so it's setting the type to match. I imagine the in-game behaviour would be that this resource just doesn't spawn and empires only get it when they get a random event saying "Kreil Pebble discovered on colony X".


Thanks for spotting that, I have only just returned to modding the theme and DW due to family issues, the theme was spread all over the web and I have been putting it back together piece by piece, in this instance it was from an excel spreadsheet that I ported to text and put back in the theme folder, I should have checked it first, as your editor did not pick any others out I can only presume that none of the other values were incorrect, i will check them this evening.

Thanks for the output, very helpful, if anything I shall use the editor just to check through the theme as I put it together.

Regards the hidden victory condition values, try 60 through to 70, they are the pirate ones, 70 is still the same as 59, I can only presume the others are still there as I still use 70 for one of my races.

Darkspire

_____________________________


(in reply to Sabranan)
Post #: 345
RE: Modding Tool - 6/17/2017 8:56:33 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
quote:

It picks up on capitalization? That did make me smile. I shall use capitals sir. Fixed


Well yes and no, the tool has found a race in the "race override" field that doesn't match any race in the list the tool has generated from your race files (due to the capitalisation difference in this case). It responds by trying to determine which race is the most similar and uses that as the replacement value. I figured it might help people who have made simple typos or capitalisation errors.

quote:

Regards the hidden victory condition values, try 60 through to 70, they are the pirate ones, 70 is still the same as 59, I can only presume the others are still there as I still use 70 for one of my races.


That's interesting, they definitely appear in the race setup screen as race specific victory conditions but only appear in-game if you're a standard race with race-specific victory conditions set. Pirate races don't have that option during setup, would need to do some testing to see if they're still actually taken into account.

In any event they appear to be valid values as far as the game is concerned and you could at least use 64) "Eliminate the most pirate factions in the galaxy" as a standard race victory condition.

From what I can tell none of them except for 62 "Control X% of all pirate-controlled colonies in the galaxy" appear to have any value or additional data information, they're all boolean conditions which makes things easy.

I've just pushed a revision to account for those on the race form and make sure data validation knows about it too.

For anyone interested the undocumented victory conditions are:

60 Build the most Hidden Pirate Bases in the galaxy
61 Build a Hidden Pirate Fortress facility
62 Control [value]% of all pirate-controlled colonies in the galaxy
63 Complete the most pirate attack missions in the galaxy
64 Eliminate the most pirate factions in the galaxy
65 Complete the most pirate defend missions in the galaxy
66 Earn the most income from Smuggling in the galaxy
67 Earn the most income from Pirate Protection Agreements in the galaxy
68 Build a pirate criminal network
69 Complete the most successful Pirate Raids in the galaxy
70 Produce the most Colony Manufactured resources (same as 59)

_____________________________


(in reply to Darkspire)
Post #: 346
RE: Modding Tool - 6/18/2017 3:49:38 AM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
You indicated yesterday that you had pushed through an update to the tool.

Just a question...... where is the latest version of your tool. I had a look on the tool and dont see an update button .The attachment on your first post last modified in February has the files with a last modified date of 15th February.

Should I be downloading the tool from somewhere else?

< Message edited by rjord1 -- 6/18/2017 3:53:00 AM >


_____________________________



(in reply to Sabranan)
Post #: 347
RE: Modding Tool - 6/18/2017 6:21:05 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Been sitting up most of the night putting the theme back together, a few errors have been coming up, most of them due to converting from excel to text again, this one came up with the research tech levels, all that is missing is a space. Due to the space being missed and the error being changed to 0 a few other errors for that line were thrown up, I have amended the line with the space and will put the file in the theme and transfer it to the other system for testing and will update if there is still an error shown.

Invalid tech level value "10,11" found in Research record 425) Optimal Jamming, value changed to "0"

PROJECT			;425, Optimal Jamming, 10,11,      2, 14, 0, 40.0, 
COMPONENTS		;164
PARENTS			;424, N

EDIT: No further problems with the above with the space correctly added.

These on the other hand are somewhat confusing, could really do with a line number within the race file to show where the error is as I am none to sure where 'record #' is, the only one that is quite clear is the Maerzi one, that I will change to 59 although 70 is valid until you decide whether to update with the new victory conditions.

Invalid condition 2 value value "50" found in Race Information record 1) Aritri, value changed to "0"
Invalid condition 3 value value "50" found in Race Information record 1) Aritri, value changed to "0"
Invalid condition 4 value value "50" found in Race Information record 1) Aritri, value changed to "0"
Invalid caution value "40" found in Race Information record 2) Atuuk, value changed to "50"
Invalid condition 1 type value "70" found in Race Information record 20) Maerzi, value changed to "0"
Invalid condition 1 value value "100" found in Race Information record 26) Negharu, value changed to "0"
Invalid condition 1 additional data value "2" found in Race Information record 26) Negharu, value changed to "0"
Invalid condition 2 value value "100" found in Race Information record 26) Negharu, value changed to "0"
Invalid condition 3 value value "100" found in Race Information record 26) Negharu, value changed to "0"
Invalid condition 4 value value "100" found in Race Information record 26) Negharu, value changed to "0"
Data validation on Race Information complete, found and corrected 10 values


Just a word on the victory conditions from 60-70, they are for a pirate race, you can select if a race is a normal or pirate empire from the race file, adding those victory conditions to a pirate race were meant to be so a race could have been both a normal empire and pirate, bit fuzzy on memory as it was a while ago but I seem to remember discussing the idea that a race would have its own folder like the design templates with a pirate folder inside it so that the two were separated, as it is now you can need to make a separate race for a pirate unfortunately.

Any chance of adding an option to send the input info to a text file on desktop?

Darkspire


< Message edited by Darkspire -- 6/18/2017 11:18:17 AM >


_____________________________


(in reply to rjord2021)
Post #: 348
RE: Modding Tool - 6/18/2017 2:18:02 PM   
darkriot

 

Posts: 32
Joined: 7/5/2014
Status: offline
Nice work on this tool! The validation it does is great!
I have noticed using this tool that there was a mistake in the modding guide that your tool is doing. For targeting components and counter measures they both use value 2 and not 1 as stated in the guide. After validating the research and component files both counter measures and targeting had 0% bonus.

(in reply to Darkspire)
Post #: 349
RE: Modding Tool - 6/18/2017 3:21:41 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline

quote:

ORIGINAL: rjord1

You indicated yesterday that you had pushed through an update to the tool.

Just a question...... where is the latest version of your tool. I had a look on the tool and dont see an update button .The attachment on your first post last modified in February has the files with a last modified date of 15th February.

Should I be downloading the tool from somewhere else?


The latest version is 1.0.15.3, I haven’t uploaded these data validation builds as an attachment but the tool should automatically update if there’s a newer version when you run it. Being a clickonce application I don’t think there’s a way to programmatically call an update check.

If it isn’t doing it by itself, that probably indicates that either you’re not connected to the internet at the time, or more likely the tool is being blocked by your security software.

When I push 1.0.15.4, I’ll include a button to test the connection to my NAS. I’ll update the op with that as an attachment too so you can get it even if there is an issue.

Also, I think updates may have been broken for the past 24 hours or so since a firmware update to my NAS changed my webdav server to deny access to guests by default. I’ve changed that now so it should be good to go.


quote:

ORIGINAL: Darkspire
These on the other hand are somewhat confusing, could really do with a line number within the race file to show where the error is as I am none to sure where 'record #' is, the only one that is quite clear is the Maerzi one, that I will change to 59 although 70 is valid until you decide whether to update with the new victory conditions.


I would like to include a line number, but by this point the data is all stored in an array so that kind of detail is lost. That said, it shouldn’t be too difficult to figure out what’s going on.

So for example in:

quote:

Invalid condition 2 value value "50" found in Race Information record 1) Aritri, value changed to "0"


It tells you it’s “Race Information”, which means it’s in the Aritri race file. It’s the condition 2 value value (a bit of a mouthful admittedly) so it’s talking about the “value” variable of victory condition 2. Basically it’s saying that whatever type victory condition 2 is, it either doesn’t use a value variable or said value variable is out of whatever range it’s supposed to be.

It’s much the same for the additional data, whether or not it’s valid is going to depend on what victory condition type you’ve chosen for that race.

I suspect the “Invalid condition 1 type value "70"” is now fixed in 1.0.15.3, so you shouldn’t see that again once you update. As I mentioned to rjord above, updates may have failed over the last day or so, probably worth just checking the version number of the tool in the “About” section on the main menu.

quote:

Just a word on the victory conditions from 60-70, they are for a pirate race, you can select if a race is a normal or pirate empire from the race file, adding those victory conditions to a pirate race were meant to be so a race could have been both a normal empire and pirate, bit fuzzy on memory as it was a while ago but I seem to remember discussing the idea that a race would have its own folder like the design templates with a pirate folder inside it so that the two were separated, as it is now you can need to make a separate race for a pirate unfortunately.


I guess the real question here is do they actually work in-game for a pirate race? When I start it up I can ironically only get them to be visible if I’m playing as a non-pirate race, with the “Race Specific Victory Conditions” option set. But when playing as a pirate race you don’t get the option to enable race victory conditions at all, it’s replaced with the pirate specific ones which come from the “playstyle” of your pirate race.

quote:

Any chance of adding an option to send the input info to a text file on desktop?


I could do that sure, will probably need to write it to a rtf or something since you’d lose all the text colours with plain text. That’ll be in 1.0.15.4 too.


_____________________________


(in reply to Darkspire)
Post #: 350
RE: Modding Tool - 6/18/2017 3:56:15 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline

quote:

ORIGINAL: darkriot

Nice work on this tool! The validation it does is great!
I have noticed using this tool that there was a mistake in the modding guide that your tool is doing. For targeting components and counter measures they both use value 2 and not 1 as stated in the guide. After validating the research and component files both counter measures and targeting had 0% bonus.


Oh that's annoying lol...

Although it seems like the regular countermeasures/targeting uses value 1, it's just the fleet ones that are value 2.

Bah, the Scanner Jammer uses value 2 as well apparently...

Ah well, I'll fix them for 1.0.15.4

_____________________________


(in reply to darkriot)
Post #: 351
RE: Modding Tool - 6/18/2017 4:28:44 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Ok, just pushed 1.0.15.4.

That sorts the data validation issues that darkriot brought up, includes a (very) simple test to see if the tool can hook up to my NAS (for log reporting or updates) and also includes a button to write the contents of the input/output log on to an rtf file on your desktop.

And the OP is updated with this version, just in case anyone is having trouble with the updates. You should be able to use the tester to trigger a connection attempt and configure your firewall appropriately.

Whew!

_____________________________


(in reply to Sabranan)
Post #: 352
RE: Modding Tool - 6/18/2017 5:09:32 PM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline

quote:

ORIGINAL: Sabranan

Ok, just pushed 1.0.15.4.

That sorts the data validation issues that darkriot brought up, includes a (very) simple test to see if the tool can hook up to my NAS (for log reporting or updates) and also includes a button to write the contents of the input/output log on to an rtf file on your desktop.

And the OP is updated with this version, just in case anyone is having trouble with the updates. You should be able to use the tester to trigger a connection attempt and configure your firewall appropriately.

Whew!



Got the new version...... I had been on version 1.0.0.0 for a while.

When the tool starts I get
* Partial new feature release 1.0.15.0

- Main Menu
- New "Write Log to File" button added.
- New "Test Internet Connection" button added.

- Data Validation
- Fleet Countermeasures, Fleet Targeting and the Scanner Jammer component types now use value 2 instead of value 1.



Now on version 1.0.15.4


_____________________________



(in reply to Sabranan)
Post #: 353
RE: Modding Tool - 6/18/2017 6:35:34 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Ah ok, so this'll be your first look at the new data validation on input features. Might be worthwhile hitting the connection test, this should give you two messages:

"Downloaded connectiontesting.txt, integer value recieved: X" - where X is any whole number.

and once you click OK on that, another should appear:

"Upload working, the newly downloaded integer was incremeneted."

If you get these two messages, it means it downloaded a file, read the integer contained within it and then uploaded the file with an incremented value. Then it downloads it again to check that it's actually been able to write to the file.

If it's done this then there's no reason why you shouldn't be able to update the tool automatically or use the log reporting function. I have found certain people just upload blank files which suggests that their firewall is preventing them from writing to a remote server, even though it doesn't mind creating a new file.

If something fails along the way it'll report an error message to you, but basically this is just going to mean it can't connect or it can't transfer data.

_____________________________


(in reply to rjord2021)
Post #: 354
RE: Modding Tool - 6/18/2017 6:38:22 PM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
Connection test was ok.........


_____________________________



(in reply to Sabranan)
Post #: 355
RE: Modding Tool - 6/19/2017 5:10:22 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Got the new update and just validated the current theme to test the new write to log option. I altered nothing in the theme from the previous test, which validated correctly, as the theme is on one of my other systems and this came up.

Darkspire



_____________________________


(in reply to rjord2021)
Post #: 356
RE: Modding Tool - 6/19/2017 9:31:06 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
I've just pushed a revision to squish that bug Darkspire, and the character validation should now check traits against each other to make sure they're not opposite types.

_____________________________


(in reply to Darkspire)
Post #: 357
RE: Modding Tool - 6/19/2017 11:17:35 PM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Not sure what happened but yesterday the editor was correctly telling me that on fleet countermeasures component improvements were:

- Fleet Countermeasures: Value1=countermeasures bonus percentage for fleet, Value2-7 unused

Now today it is telling me that it is value two that is the correct place to put the value, had a look in the research part of your editor and it is definitely showing the value should be in two not one.

Invalid component improvement 1's value 1 value "25" found in Research record 186) Advanced Fleet Countermeasures, value changed to "0"

Darkspire

< Message edited by Darkspire -- 6/19/2017 11:19:29 PM >


_____________________________


(in reply to Sabranan)
Post #: 358
RE: Modding Tool - 6/20/2017 12:00:21 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
I'm assuming the research project you're quoting is from vanilla? If so the component improvement line would be:

COMPONENT IMPROVEMENTS ;90, 5, 35, 20, 0, 0, 0, 0, 0,

But the vanilla project definitely uses 20% as the bonus, and doesn't seem to use the 35 value at all.

darkriot reported this a few posts up. Turns out that despite what the modding guide and the text files say, for the scanner jammer, fleet countermeasures and fleet targeting systems it actually uses value 2 as the % effectiveness.

_____________________________


(in reply to Darkspire)
Post #: 359
RE: Modding Tool - 6/20/2017 4:32:22 AM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline

quote:

ORIGINAL: Sabranan

I'm assuming the research project you're quoting is from vanilla? If so the component improvement line would be:

COMPONENT IMPROVEMENTS ;90, 5, 35, 20, 0, 0, 0, 0, 0,

But the vanilla project definitely uses 20% as the bonus, and doesn't seem to use the 35 value at all.

darkriot reported this a few posts up. Turns out that despite what the modding guide and the text files say, for the scanner jammer, fleet countermeasures and fleet targeting systems it actually uses value 2 as the % effectiveness.


As I said, I have been away from modding for the last year or so, my memory on the matter was a tad fuzzy, I had put the values in the second slot originally but changed them to the first slot Sunday as I thought I must have got them in the wrong slot upon reading the guide and text file, I will change my data and text files back again.

Darkspire



_____________________________


(in reply to Sabranan)
Post #: 360
Page:   <<   < prev  10 11 [12] 13 14   next >   >>
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> RE: Modding Tool Page: <<   < prev  10 11 [12] 13 14   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.406