|
|
|
 |
|

November 2nd, 2006, 09:03 PM
|
Private
|
|
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Space Empires V Editor 1.1 Released
Any chance will see an events editor??

|

November 2nd, 2006, 09:26 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Jan 2004
Location: Minnesota/South Dakota
Posts: 1,439
Thanks: 3
Thanked 3 Times in 3 Posts
|
|
Re: Space Empires V Editor 1.1 Released
Quote:
Hemperor said:
Any chance will see an events editor??
|
Oh man I hope we get one lol, this scripting stuff for events and AI is giving me a headache. I was just starting to figure out the AI for se4 and bam now I have to start all over again.
__________________
You can give a man fire and he will be warm for a day but set him on fire and he will be warm for the rest of his life.
A* Se+++ GdQ $? Fr! C* Css Sf-- Ai% Au M+++ Mp* S@ Ss++++ RNSHP Pw++ Fq+++ Nd++ Rp++ G++++ Mm++ Bb+++@ L+ Tcp--
Get the newest Version of Invasion! here: http://www.secenter.org/

|

November 2nd, 2006, 09:38 PM
|
Sergeant
|
|
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 2nd, 2006, 09:53 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|

November 2nd, 2006, 10:04 PM
|
Sergeant
|
|
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Space Empires V Editor 1.1 Released
Quote:
Phoenix-D said:
Components editor:
would it be possible to add a "Save anyway" box to the list of errors when saving?
|
Yes, though I'm a little leery of doing so as I have no idea what will be written at that point and I don't want to ruin the users data files.
Quote:
Also, the error list pops up twice when you try to save when errors are present.
|
hmm, hadn't noticed that. I'll look into it.
Quote:
Weapon Damage Type formulas aren't working properly. The editor can't, for example, handle the stock Plague Bomb damage type forumla.
|
I've tested it on the stock data and it didn't have any errors. Are you sure it's barfing on a stock formula? Can you paste the formula here?
Quote:
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.
|
The formula parser needs some work, I think. It mostly works, but sometimes gives strange results. I'm going to be revamping it a bit in Version 1.2 and hopefully I'll fix all the little glitches in it.
|

November 2nd, 2006, 11:03 PM
|
Sergeant
|
|
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 2nd, 2006, 11:15 PM
|
 |
Brigadier General
|
|
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
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.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta�s Big Bang Attack� Welcome to OBLIVION!
�Don Panoz made an awesome car and� an incinerator� Bill Auberlen
|

November 2nd, 2006, 11:30 PM
|
Sergeant
|
|
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
Code:
Weapon Space Display Effect Name := Torpedo 11
Weapon Ground Display Effect Name := Torpedo 11
These should be Torp 11, which actually does exist. So, the errors that it reports for the stock data file are actual errors.
|

November 2nd, 2006, 11:30 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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).
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|

November 2nd, 2006, 11:31 PM
|
Sergeant
|
|
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Space Empires V Editor 1.1 Released
Quote:
President_Elect_Shang said:
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.
|
The program reads the file "DamageTypes.txt" to get a list of valid damage types. Did you add your new damage type to that file?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|