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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #101  
Old November 25th, 2005, 04:13 PM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Python = snake that strangles its prey before it devours it.

I don't think I want this in my computer
Reply With Quote
  #102  
Old November 26th, 2005, 07:49 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Contemplating a graphical Templatizer...

Python = hilarious British comedian. Why don't you want your computer filled with sketches about silly walks and dead parrots?
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #103  
Old November 26th, 2005, 09:41 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Isn't it also a gun?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #104  
Old September 13th, 2006, 12:10 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Thread necromancy strikes again! :twisted:
I was thinking of returning the templatizer to Java, and making it more user-friendly, more along the lines of DavidG's SE4Modder. Version 6 (which is still in beta) of Java allows you to mix Java and Javascript (http://java.sun.com/developer/techni...ing/index.html for details), which means that I could have it so the user interface is in Java, but all the template code (the code that the user actually writes) is in Javascript. So you might have some field, say, Tonnage Structure, with a text box where you can type in a formula, or hit buttons to insert variables. Since Javascript in Java 6 can manipulate real Java objects, I might even make it so you can type field names (such as Tonnage) into other fields (such as Tonnage Structure) - or drag fields around - to make "references" between them. I'd have to prevent circular references, of course, but that shouldn't be too hard - just give each field a reference tree and make sure no object appears in its own reference tree!
Of course, this might all be rather irrelevant with SE5 coming out in the next month or so... any thoughts?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #105  
Old September 13th, 2006, 02:12 PM

Dizzy Dizzy is offline
Corporal
 
Join Date: Mar 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Dizzy is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Wow, that'd be a nice tool! I hope you do it. I'm sure there will still be a lot of SE4 still going on for a long while...
Reply With Quote
  #106  
Old September 13th, 2006, 02:24 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

I would suggest that you duplicate the entry from the data file, with editable fields that can take either hard text or a formula. I would just supply the user with the allowable formula elements in the help file etc. and a few variables like "level" or "range". The user would then select from a drop box the number of levels to make for the item and then the program exports the entries to a .txt file that can be copy/pasted into the appropriate data file.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #107  
Old September 13th, 2006, 04:00 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Contemplating a graphical Templatizer...

Drag and drop for everything seems like wasted effort for something like this. If you are savvy enough to use exotic formulas for generating data files, you don't need no stinkin' drag and drop in a cluttered interface. Something like Kwok's suggestion would IMO be better; even "hard text" is still technically a formula.

Why not just keep the template code in Python? You can have the templatizer write out python scripts, then execute them. In fact, this would be preferable, basically building a front-end to the current python templatizer. This way, advanced users can just make/edit the python scripts directly. In also has the advantage of not wasting time duplicating all of your previous efforts.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #108  
Old September 13th, 2006, 04:43 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

What do you mean "duplicate the entry from the data file"?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #109  
Old September 13th, 2006, 04:57 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Basically your interface consists of a replica of the data file entry, with the exception of textboxes or lists for data entry.
Code:

Name := *************
Description := *************
Pic Num := *************
Tonnage Space Taken := *************
Tonnage Structure := *************
Cost Minerals := 450 + ([%Level%] * 50) <--- Example Formula
Cost Organics := *************
Cost Radioactives := *************
Vehicle Type := *************
Supply Amount Used := *************
Restrictions := *************
General Group := *************
Family := *************
Roman Numeral := Auto
Custom Group := *************
Number of Tech Req := [Droplist of numbers?]
Tech Area Req 1 := *************
Tech Level Req 1 := *************
Number of Abilities := [Droplist of numbers]
Ability 1 Type := [Droplist of Abilites?]
Ability 1 Descr := ********************************
Ability 1 Val 1 := *************
Ability 1 Val 2 := *************
Weapon Type := [Droplist]

__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #110  
Old September 13th, 2006, 05:04 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

I like the idea of not changing the templatizer, just making a front-end to generate scripts.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
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 06:36 AM.


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