Any plans to improve the Editor?

Norm Koger's The Operational Art of War III is the next game in the award-winning Operational Art of War game series. TOAW3 is updated and enhanced version of the TOAW: Century of Warfare game series. TOAW3 is a turn based game covering operational warfare from 1850-2015. Game scale is from 2.5km to 50km and half day to full week turns. TOAW3 scenarios have been designed by over 70 designers and included over 130 scenarios. TOAW3 comes complete with a full game editor.

Moderators: ralphtricky, JAMiAM

User avatar
golden delicious
Posts: 4134
Joined: Tue Sep 05, 2000 8:00 am
Location: London, Surrey, United Kingdom

RE: Any plans to improve the Editor?

Post by golden delicious »

ORIGINAL: ralphtrick
CSV is short for comma separated value (value, value, value.)

Well, to be ultra-anal, "value,value,value".... [:'(]
"What did you read at university?"
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
XPav
Posts: 549
Joined: Wed Jul 10, 2002 2:25 am
Location: Northern California
Contact:

RE: Any plans to improve the Editor?

Post by XPav »

ORIGINAL: ralphtrick
Eventually, I plan to expost all the events in a scripting language called Python. You'll be able to use it in addition to the current event engine.

For now, I did add in F6/F7 (Event Load/Save) The current format is CSV, and very unfriendly, but it should be useful for some things, especially translation.
Excellent! Python's a great choice. I'd be interested to know how much of the inside guts will be available to the script -- and if these scripts can run at other times besides at the beginning of each turn.

I love it when a plan comes together.
XPav
Posts: 549
Joined: Wed Jul 10, 2002 2:25 am
Location: Northern California
Contact:

RE: Any plans to improve the Editor?

Post by XPav »

ORIGINAL: golden delicious

ORIGINAL: ralphtrick
CSV is short for comma separated value (value, value, value.)

Well, to be ultra-anal, "value,value,value".... [:'(]

No, it's "value", "value", "value"

:)
I love it when a plan comes together.
User avatar
golden delicious
Posts: 4134
Joined: Tue Sep 05, 2000 8:00 am
Location: London, Surrey, United Kingdom

RE: Any plans to improve the Editor?

Post by golden delicious »

ORIGINAL: XPav

No, it's "value", "value", "value"

Aren't quotemarks only required for alphanumeric fields?
"What did you read at university?"
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
User avatar
Jeff Norton
Posts: 506
Joined: Tue Aug 08, 2000 8:00 am
Location: MD, USA (You're not cleared for specifics...)
Contact:

RE: Any plans to improve the Editor?

Post by Jeff Norton »

ORIGINAL: golden delicious

ORIGINAL: XPav

No, it's "value", "value", "value"

Aren't quotemarks only required for alphanumeric fields?
Just covered this in SQL class. http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm gives a pretty good overview of how it works...
-Jeff
Veritas Vos Liberabit
"Hate America - love their movies" -Foos Babaganoosh - Anchor - Jihad Tonite
Image
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Any plans to improve the Editor?

Post by ralphtricky »

ORIGINAL: XPav
ORIGINAL: ralphtrick
Eventually, I plan to expost all the events in a scripting language called Python. You'll be able to use it in addition to the current event engine.

For now, I did add in F6/F7 (Event Load/Save) The current format is CSV, and very unfriendly, but it should be useful for some things, especially translation.
Excellent! Python's a great choice. I'd be interested to know how much of the inside guts will be available to the script -- and if these scripts can run at other times besides at the beginning of each turn.

I'll know more as I get into it, but I don't expect them to be only at the beginning of the turn. I can see events before entering a hex, and on a unit's destruction, at least.

Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Any plans to improve the Editor?

Post by ralphtricky »

ORIGINAL: golden delicious

ORIGINAL: ralphtrick
CSV is short for comma separated value (value, value, value.)

Well, to be ultra-anal, "value,value,value".... [:'(]
OK, I'm going to have to be precise then...

The events are outputted as a series of values, with no spaces between, that are separated by commas. Unlike a normal CSV file, there are no quotation marks around the alpha fields. The final section, the 'news' section can contain commas, although this may make it difficult for other programs like Excel to read them.

I've attached a sample.

This should be readable by anyone who has access to a spreadsheet program. In addition support by a program like ODD is possible.

When the events are read back in, they replace the existing event, that means that if you remove events, you will have to manually remove them from the scenario as well.
Attachments
Operation..04Event.txt
(31.42 KiB) Downloaded 14 times
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Any plans to improve the Editor?

Post by ralphtricky »

ORIGINAL: ralphtrick
ORIGINAL: golden delicious

ORIGINAL: ralphtrick
CSV is short for comma separated value (value, value, value.)

Well, to be ultra-anal, "value,value,value".... [:'(]
OK, I'm going to have to be precise then...

The events are outputted as a series of values, with no spaces between, that are separated by commas. Unlike a normal CSV file, there are no quotation marks around the alpha fields. The final section, the 'news' section can contain commas, although this may make it difficult for other programs like Excel to read them.

I've attached a sample.

This should be readable by anyone who has access to a spreadsheet program. In addition support by a program like ODD is possible.

When the events are read back in, they replace the existing event, that means that if you remove events, you will have to manually remove them from the scenario as well.
Someone will have to check, but I believe that I pay attention to the event number, as well, so if you update one event, and only include it in the file that you're uplocading, that is the event number that will be updated. It may be possible that people will develop small libraries of code templates and samples based on event 600, 700, etc.

Ralph


Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
Curtis Lemay
Posts: 15064
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Any plans to improve the Editor?

Post by Curtis Lemay »

ORIGINAL: ralphtrick
ORIGINAL: XPav
ORIGINAL: ralphtrick
Eventually, I plan to expost all the events in a scripting language called Python. You'll be able to use it in addition to the current event engine.

For now, I did add in F6/F7 (Event Load/Save) The current format is CSV, and very unfriendly, but it should be useful for some things, especially translation.
Excellent! Python's a great choice. I'd be interested to know how much of the inside guts will be available to the script -- and if these scripts can run at other times besides at the beginning of each turn.

I'll know more as I get into it, but I don't expect them to be only at the beginning of the turn. I can see events before entering a hex, and on a unit's destruction, at least.


I'm still hoping to have Theater Options that can be optioned and executed at the start of turn 1 (or at the start of any other turn, for that matter).
My TOAW web site:

Bob Cross's TOAW Site
Post Reply

Return to “Norm Koger's The Operational Art Of War III”