tsunami334
  • tsunami334
  • 50.75% (Neutral)
  • Private Topic Starter
18 years ago
I've got a couple how to questions. How would you add a car to a map on waypoints to follow and how would you make the supply dock/pile hold more supplys? And my map I've been working on is mesed up when I join the map I can only see about 1/4 of the map?
Sponsor
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
18 years ago
Units Following Waypoints:
1. Create the path in which you want your vehicle to follow with the Waypoint tool. Make sure the loop is complete.
2. Give this waypoint path a label such as "Car1".
3. Place the units you want to follow waypoints onto the map.
4. Give the units a name each in the Object Properties box.
5. Go into the Scripts window through [Edit > Scripts...]
6. Create a new script under PlyrCivilian and give it a name.
7. Make sure the Script Conditions is:
***IF***
True
[This should be the default condition]
6. Go to the "Actions if true" tab and create a new script. Select [Unit > Move > Set a specific unit to follow a waypoint path.]
7. Click "Unit '???'" and select your vehicle (the name you gave it)
8. Do the same for "Waypoint Path '???'" selecting the waypoint you want for the particular unit to follow.
9. Repeat procedures 7 and 8 for the remaining units.
10. Click "OK" and exit out of the Scripts window (Also clicking "OK").

And your unit following waypoint script should be done.

Parts of map not showing:
Make sure your border size is set to the appropriate size (Around 20 should be fine).
UserPostedImage 
Me Myself and Pi
18 years ago
To give more resorces to a supply dock, create a script like Krit said & use the action, "Unit\Set cash value of Warehouse."

There are two borders for a map. One is the main border that contains the whole map & there's another border that's adjustable. You have to make sure these borders match up or you won't get good result. To do this, show impassable terrain & map boundaries. (They can be showed in the View menu.) When showing impassable terrain, you'll see all the impassable terrain shown in red as well as a black line that that goes around the map. (If you don't see it, then go to File->Resize... & put in the border text field, 75) The other border is in orange. Click the the border tool. Image Insert:
UserPostedImage
1.78 KB
Now click & drag the top right corner of the orange border & match it up with the black. (If you click somewhere else & you see a new border appears, click & drag the top right corner of it down to the bottum right corner to get rid of it.)

That should do it!