Jump to content

Home

Random map scripting language?


KurtS

Recommended Posts

New random maps for SWGB are described in a scripting language. Where can I get the documentation for that language?

 

More background:

These random maps are named *.rms, and get placed in the "Random" folder in the SWGB folder.

Here is a snippet of that scripting language from a publicly-posted map which seems to work just fine in SWGB:

 

--- Begin Snippet --------------

 

if ZALORIIS

base_terrain ROCK3

else

if GREENBASE

base_terrain GRASS3

elseif BROWNBASE

base_terrain DIRT1

endif

endif

 

 

create_object OBJ-NOVA

{

number_of_groups 2

number_of_objects 2

group_placement_radius 3

set_tight_grouping

set_gaia_object_only

set_place_for_every_player

min_distance_to_players 11

max_distance_to_players 16

min_distance_group_placement 10

max_distance_to_other_zones 7

}

 

--- End Snippet --------------

Link to comment
Share on other sites

  • 2 weeks later...

I have found all the documentation for the SWBG scripting language on the web. Here are the URLs:

 

Tutorial: http://www.rtscentral.com/readPosting.asp?PostingId=687683

 

Good background page:

 

http://www.rtscentral.com/readTopic.asp?hdr=&PostingId=266362

 

 

Full docs: http://www.throughtheages.com/knowledge/downloads/rmsg.zip

 

 

I have done a few random maps now, and it is quite interesting. It has added a whole new dimension to an already excellent game.

 

FYI, LucasArts tech support wasn't much help. They seemed more concerned that someone was using SWGB features that they didn't document, than in pointing me to any useful resources.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...