Map Making: Feature Placer: Difference between revisions

From Spring
Jump to navigationJump to search
Line 12: Line 12:
= Using Feature Placer =
= Using Feature Placer =


'''If you use Evolution RTS for feature placer, once ingame be sure to disable the "Integral Menu" widget (f11 - Widget Menu), as the menu does not support paging.'''
When the spring starts up you will be presented with a tree that is sparkling green. Select it and you will have the option to build an entire host of features. There are also placement options on the menu such as "Jitter" and "Clustering", etc. Set these as desired.
 
<br/>You will need to go into the multiplayer lobby (one that supports modoptions and hosing your own games). Create a new game (not using a relay slave). In the modoptions set the game type to "Featureplacer" and add a NullAI.
 
 
 
When the game starts up you will be presented with a tree that is sparkling green. Select it and you will have the option to build an entire host of features. There are also placement options on the menu such as "Jitter" and "Clustering", etc. Set these as desired.


== Exporting the Feature List ==
== Exporting the Feature List ==


Once you have placed all the features on your map and are ready to export the placement, press F11 to bring up the widget menu, and select "Dump All Units Features". Click it 3 times. At this point, before exiting the game, alt+tab out to your spring install folder and look for a file called dumpedunitsfeatures.txt to make sure that the file was written properly. Once you have verified this, you may go ahead and close the game.
Simple click the "export set.lua" button. Then, look in your spring folder, under maps, and look for the file <yourmapname.lua>. Once you have verified that the file was written, you may go ahead and close the game.


= Adding the Feature List to your map =
= Adding the Feature List to your map =

Revision as of 14:08, 8 May 2013

FIXME: needs updating to use the information in thread about seperation of feature placer

Feature Placer

At this point, it is very strongly recommended that you go download "Spring Features" ( http://springfiles.com/spring/tools/spring-features ) and place it in your games folder. Spring features is an archive that contains all the map features ever made for spring mapping. The total number is somewhere around 500 features, so it will give you quite a bit of power when it comes time to spice up your map.

Spring Features is also available via the rapid tag: spring-features:stable

Feature placer is available for use via the rapid tag: feature-placer:test

You can use pr-downloader to get the latest version, either by using pr-downlaoder in the command line, or using Forboding Angel's pr-downloader menu ( http://goo.gl/kGJBx - Extract to spring folder, next to pr-downloader.exe (Windows only) ).

Using Feature Placer

When the spring starts up you will be presented with a tree that is sparkling green. Select it and you will have the option to build an entire host of features. There are also placement options on the menu such as "Jitter" and "Clustering", etc. Set these as desired.

Exporting the Feature List

Simple click the "export set.lua" button. Then, look in your spring folder, under maps, and look for the file <yourmapname.lua>. Once you have verified that the file was written, you may go ahead and close the game.

Adding the Feature List to your map

Open dumpedunitsfeatures.txt in a text editor and copy the entire contents. Then navigate to

mapcontainer.sdd/mapconfig/featureplacer/set.lua

Open up set.lua in a text editor, and paste the contents of dumpedunitsfeatures.txt into it. Be sure to remove any entries in the unitlist or buildinglist sections.