![]() |
Re: Space Empires V Editor 1.1 Released
|
Re: Space Empires V Editor 1.1 Released
Quote:
|
Re: Space Empires V Editor 1.1 Released
ok, I've got 1.1.1 released on the website. It fixes all of the things I listed above. Feel free to pick more holes in it so we can get a solid and stable editor. I'm really hoping to get this thing stable and useful by the end of this week because then my vacation is over and it's back to work. Who knows how much time I'll have after that to work on this.
|
Re: Space Empires V Editor 1.1 Released
Components editor: would it be possible to add a "Save anyway" box to the list of errors when saving? Also, the error list pops up twice when you try to save when errors are present.
Weapon Damage Type formulas aren't working properly. The editor can't, for example, handle the stock Plague Bomb damage type forumla. Weapon Min/Max Damage formula isn't handling some forumlas right. For the Flak cannon, the forumla is: iif([%Range%] <= 100, (50 + (([%Level%] - 1) * 5)) - ([%Range%] * 0.8), 0) which is correct. The parser doesn't read it correctly, however, and says "Invalid parameter count. The function iif requires 3 parameter(s)." The first parameter is 100, the second is (([%Level%] - 1) * 5)) - ([%Range%] * 0.8), the third is 0. |
Re: Space Empires V Editor 1.1 Released
Quote:
Quote:
Quote:
Quote:
|
Re: Space Empires V Editor 1.1 Released
You're right - the parser is barfing on some of the stock formulas. I was apparently testing the wrong data file earlier.
I've got the saving part fixed so you can still allow saves and I've fixed the plague bomb formula problem. The min/max damage formulas are a bit tougher. For some reason, the parser is thinking that (50 + (([%Level%] - 1) * 5)) - ([%Range%] * 0.8) is two parameters. If I surround the whole thing with parens, it works fine. But this definitely does seem to be an issue with the parser. I'm looking into it more now. |
Re: Space Empires V Editor 1.1 Released
I found a problem with the components editor:
Unknown key 'Weapon Damage Type' I have created a new form of damage and your program can’t seem to handle anything out of the stock forms. |
Re: Space Empires V Editor 1.1 Released
ok, got all the formula parsing fixed. There was a bug in the actual parser library that didn't like relational operators as parameters to functions.
The remaining errors in the "stock" components.txt are..actual errors. Basically, some of the components refer to effects that don't exist. For example, Crystalline Torpedo has the lines <font class="small">Code:</font><hr /><pre> Weapon Space Display Effect Name := Torpedo 11 Weapon Ground Display Effect Name := Torpedo 11 </pre><hr /> These should be Torp 11, which actually does exist. So, the errors that it reports for the stock data file are actual errors. |
Re: Space Empires V Editor 1.1 Released
Shang: are you using the 1.08 patch? Because it looks like the editor is seeing an old components.txt line and freaking out (the damage type line was Weapon Damage Type before 1.08, when it changed to Weapon Damage Type Formula).
|
Re: Space Empires V Editor 1.1 Released
Quote:
|
All times are GMT -4. The time now is 02:00 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.