.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 14th, 2006, 05:50 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Space Empires V Editor 1.2 Released

What Elsemeravin means, I think, is that the tech tree takes up a small section of the screen.

Speaking of the tech tree, when I try to load my mod it says "Can't find Min Parent Level! in an error box. Everything seems to work fine, except the tech-tree function doesn't work.

Probably because I have some rather twisted logic involved, including OR functions and nested IFs..
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #2  
Old November 14th, 2006, 06:01 PM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: Space Empires V Editor 1.2 Released

Quote:
Phoenix-D said:
What Elsemeravin means, I think, is that the tech tree takes up a small section of the screen.

It takes up the entire tab... I would make the individual controls resizeable so you could widen that section of the screen, but I haven't figured out how to do that - everything I've tried has failed.

Quote:

Speaking of the tech tree, when I try to load my mod it says "Can't find Min Parent Level! in an error box. Everything seems to work fine, except the tech-tree function doesn't work.

Probably because I have some rather twisted logic involved, including OR functions and nested IFs..
Yeah, that probably is exactly what's going on. I really wish Aaron had used XML - this whole process would have been 100x easier. Anyway, yes, the tech tree relies on the requirements formulas for tech dependencies being in the form

Code:

Get_Empire_Tech_Level("foo") >= N



It will compensate for extra whitespace, different character cases, or just a > symbol, etc, but anything more complicated than that and it gets confused when determining tech dependencies for the tree. Otherwise I'd have to parse ANY formula and that's a bigger job than I wanted to tackle for a simple editor.
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
  #3  
Old November 14th, 2006, 06:04 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Space Empires V Editor 1.2 Released

Yeah, I figured that. It actually isn't a problem- I can cut the arcane stuff down for the editor, then do a search and replace later.

Because I really doubt you'd want to code a way to parse..
(edited out the Requirements of Doom now that Devnull's seen them. )

..that. Its messy as hell.

Anyway, if you can't get it to re-size, a pop-up window, like you do with the various tools now, might work well..
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #4  
Old November 14th, 2006, 06:09 PM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: Space Empires V Editor 1.2 Released

You're right - I don't want to parse that for the tech tree The formula parser should actually handle it just fine, but the tech tree needs a pretty clear dependency graph to work.
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.