Sure we could Matthew but scripting is not that hard. You would learn a lot by going through it yourself.
Add the Skirmish players to your map. Then go to "Edit" then "Scripts" to open the script editor. Click on the PlyrCivilian folder then the button on the right that says "New Script..." which will open a window to make your script. Your curser will be in the textbox where you would name your script. Make up a name like "Game Settings". Notice the tabs at the top of this window. You'll see "Script Conditions" which by default will say "IF True" as the condition. If you wanted a different condition to activate your script as in a timer expired, this is where you would define these conditions.
What we want to do is change the "Action If True" part of the script. By default the Action will be "Null operation. (Does nothing.)". We don't want this Action so you can left click on this script line and either click "Edit" to edit this line or click "Delete" to remove this line. If you delete this line then click "New" to make a new action.
Notice in Pi's post that he not only gave you the script you need but told you where to find the Action.
Actions used:
Map/Shroud or Reveal/Shroud the entire map for a player.
Map/Modify/Adjust the tech tree for a specific object type.
Player/Science/Set science availability.
Go to "Map" then "Shroud or Reveal" then find the script that says "Shroud the entire map for a player". If you click on this script action another window will come up where you add the variables for the script line. You'll see '???' after the word player. Click on these '???' and type in "player0". Click "Enter" on your keyboard. You just make your script first line.
To make the others, click on this script then click the button on the right that says "Copy". Click "Edit" to change the player to "player1" then repeat until you've got all players (player0 – player7).
Make the other script lines the same way. Follow the path to the location as Pi listed in his post. Make the first line then copy and edit it. Before you know it you'll have made your first script map mod.
YES, I could have made this script for you and I could have done it faster than it took me to write this message, but what would you have learned if I did that.
Edited by user
17 years ago |
Reason: Not specified