View Single Post
  #46  
Old October 18th, 2009, 02:24 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Map Forge Preview

Random commander & province name functionality appears to be working well.

Now toying with some rough tool scripting support. Nothing fancy, but here are some sample scripts:

Code:
=====================================
Sample script: "MarkNoStartTool.mfs"

# Mark all provinces nostart
:TOOL
  Mark all NoStart
:SELECT ALL PROVINCES
:THEN
  nostart = TRUE


=====================================
Sample script: "NoIndependentsTool.mfs"

# Make NI map (No Independents)
:TOOL
  Make NI Map
:SELECT ALL PROVINCES
:THEN
  poptype = 99

=====================================
Sample script: "MuddySeasTool.mfs"

# Make seas unattractive
:TOOL
  Muddy Seas
:SELECT PROVINCES WHERE
  tsea = TRUE
:THEN
  #kill is equiv to #land (clears province)
  kill = TRUE
  poptype = 99
  population = 0
The above scripts will likely come with MF. The following sample just gives a broader picture of what should be possible:

Code:
=====================================
Sample script: "SampleTool.mfs"

#sample script...
#comment line is ignored
:TOOL
  Sample Tool
:SELECT PROVINCES WHERE
  tplain = TRUE
  nostart = FALSE
:THEN
  #province data modified
  knownfeature = 268
  temple = TRUE
  lab = TRUE
  nostart = TRUE

:SELECT PROVINCES WHERE
  tforest = TRUE
:THEN
  #commander added to province
  comtype = 521
  comname = "Bob"
  bodyguard = 433
  bodyguardcount = 12
  item = "Thunder Whip"
Still a work in progress, but the idea is for you to be able to write your own simple tools and have them appear in a menu within Map Forge. Additional language elements may appear depending upon time and ease of implementation. I hope to be able to add simple functions for random selections. For example: 10-12 bodyguards, commander type 521,262,333 etc.

Thoughts?
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote