Difference between revisions of "FAQ"

From ALiVE Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
== ALiVE module usage ==
 +
 
=== I'm getting an error with placement modules and markers. ===
 
=== I'm getting an error with placement modules and markers. ===
  

Revision as of 01:32, 24 January 2014

ALiVE module usage

I'm getting an error with placement modules and markers.

Warning no location found for placement, you need to include military location within the TOAR marker

Try the placement module without any TAOR marker defined and with debug switched on in the module, once the game starts take a screen shot of the map so you can see what locations are available over the whole map. Then place your TAOR marker (making sure the marker covers the center point of an existing location from you screen shot). Alternatively expand the size of your TAOR marker until some location is found.


How do I define a custom objective for OPCOM

In the latest release you can define a custom location for OPCOM to take into account. Place a Game Logic location (any type) and sync it to an OPCOM module. Now OPCOM will send troops to attack / defend that objective. You can also add these variables to the game logic init field:

this setVariable ["priority",50]; this setVariable ["size",150];