Matthew9170
17 years ago
how do u make a maze mod for 2 players like no radar for every time and no air and superweapons?
Wow, it has been a long time since I was last here.
Sponsor
Me Myself and Pi
17 years ago
This can be done easily. But I need to know a few things before I tell you:

1) Do you know how to make scripts?
2) Which game are you using, Generals, or Zero Hour?
3) Would you like the black shroud?
4) Would you like no spy drones too? If you plan to make a Zero Hour multiplayer map with random players, then you won't be able to remove the satellite scan.
5) If you want to remove the spy satellite, you'll need to make a Map.ini file. How much do you know about them?
Matthew9170
17 years ago
i know a little about making scrips
i am using zero hour
and i want no spy drones
i have no idea about how to make map.ini files

also is it posiable for on the map that one player not be able to click on to anothers base and let the troops jest go the right way

i wnt people to think how to get out of the base and into someone elses base with out cheating by going in to there base and clicking anywhere and the troops just go any way that is right
Wow, it has been a long time since I was last here.
Me Myself and Pi
17 years ago
Okay then. But you didn't say whether or not you want to remove the satellite scan. (It can't be done if you intend this to be an ordinary multiplayer map.) I also found that you can't disable able the radar. You can only force enable it.

Anyway, create a script like this, leaving the condition as True.
*** IF ***
    True.
*** THEN ***
  [???]The world is shrouded for Player 'player0'.
  [???]The world is shrouded for Player 'player1'.
  [???]The world is shrouded for Player 'player2'.
  [???]The world is shrouded for Player 'player3'.
  [???]The world is shrouded for Player 'player4'.
  [???]The world is shrouded for Player 'player5'.
  [???]The world is shrouded for Player 'player6'.
  [???]The world is shrouded for Player 'player7'.
   'AmericaParticleCannonUplink' becomes Buildable (No)
   'AirF_AmericaParticleCannonUplink' becomes Buildable (No)
   'Lazr_AmericaParticleCannonUplink' becomes Buildable (No)
   'SupW_AmericaParticleCannonUplink' becomes Buildable (No)
   'ChinaNuclearMissileLauncher' becomes Buildable (No)
   'Infa_ChinaNuclearMissileLauncher' becomes Buildable (No)
   'Nuke_ChinaNuclearMissileLauncher' becomes Buildable (No)
   'Tank_ChinaNuclearMissileLauncher' becomes Buildable (No)
   'GLAScudStorm' becomes Buildable (No)
   'Demo_GLAScudStorm' becomes Buildable (No)
   'Slth_GLAScudStorm' becomes Buildable (No)
   'Chem_GLAScudStorm' becomes Buildable (No)
  [???] Player 'player0' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player1' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player2' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player3' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player4' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player5' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player6' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
  [???] Player 'player7' set Science 'SCIENCE_SpyDrone' availability to Science availability 'Hidden'.
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.

So to refer to the human players in the game, you just type player0, player1, ect... where ever the condition/action asks for one. Just ignore the 3 question marks that appear.

Also, about the PM you sent me. It would be better if we just talk through the forums. This way, other memeber can bring up something I might've missed.
Drummin
17 years ago
I beleive he wanted airports removed as well. So if that's true matthew, just use the same type of script line that Pi showed you for the SuperWeapons and make Airports unbuildable for all factions as well. Matthew these scripts are fairly easy to make as you just create one line then copy it and edit the variables.
Matthew9170
17 years ago
where would i put that sript in?
or can u just add the script for me in a new map and than upload it so i can just add the rest of the map my self because i know i will have a lot of problem
Wow, it has been a long time since I was last here.
Drummin
17 years ago
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.
Matthew9170
17 years ago
ok i ust tryed the map and it did not work plz help

ok i just cheacked world builder and it shows that all my scrips are gone

do i just put them all back in (also i saved the scrips)

Wow, it has been a long time since I was last here.
Drummin
17 years ago
Bummer buddy!
When you're done making a script click "OK" on the script writing page to exit the script area then save you map. It's possible that world builder did an Autosave when you were working on things. If you know the timeframe, go to your documents side of ZH. This is the same place where your "Maps" folder is. You should see a WorldBuilderAutosave.map file. Hover over this file and check the time it was saved. If you think it's "the one" or you just want to open it, go to "Open" in WB and click browse for this file. If that's not the one, I guess you'll need to remake the script.
FatalSwoop
17 years ago
Hey
Limiting what I can build and how I use them is still cheating,,,,,,,

As for a tactical advantage,,, you wont always be able to dictate what I can build!! and then what??????

Back to wear you started with only a strings of cheats and scripts to use as training and credited experience,

Be Fatal be Swooping,

TECstar operates within the shadow of FatalSwoop!! Making its tactical line up highly Fatal and oh so Swooping,,,

FaTalSwoop XV// 003

Real time tag,. made on location at Fallen Empire... destroyed 2 GLA armies using 9 ground units ( no loses )and a constant bombardment of Air,,,,
Drummin
17 years ago
Keeping a map shrouded for all players brings a bit of realism to the game, as you wouldn't know where the enemy is building up their forces or if they're sneaking up on you. It's just a different way of playing. Not a cheat. Scripting and Mods are just that, modifications to the map or game. Life is full of twists and turns and playing something different than the "same old thing" can be fun and a challenge.
Matthew9170
17 years ago
Like what Drummin sayed it is not cheating i want people to think how to do everything not just cheat
Wow, it has been a long time since I was last here.
Matthew9170
17 years ago
i put the scrips in and the maps are not working heres the map can u help

WARNING:i for got to put a read me in it   MAZE!.zip (1,064kb) downloaded 2 time(s).
Wow, it has been a long time since I was last here.
Drummin
17 years ago
Looks like it's working to me.
Try exiting the game then restarting and loading the game.
Matthew9170
17 years ago
but i tried a few times and i can just cilck on there part of the map and go over and i want the map to re hide afer like 3 seconsd(i want it to go back to black like as if no one was there at all

Wow, it has been a long time since I was last here.
Drummin
17 years ago
Give this a go.
I just divided your script into two and made the shroud script re-evaluate every three seconds.   MAZE!.zip (1,064kb) downloaded 2 time(s).
Matthew9170
17 years ago
ok i tryed the map and the tank general can still build an airfild and in the scrips i can not find airfild in tank generals strucktors

Wow, it has been a long time since I was last here.
Drummin
17 years ago
Yes, for some reason, Tank_ChinaAirfield is found in the vanilla China folder. Just copy your China Airfield line of your script and edit the line by going to the regular China folder to find the tank airfield.

I almost always add an "Object List" to my PlyrCivilian folder. What this does is group objects by type. So instead of scripting twelve copies to cover each faction, you can make one line.
*** IF ***
    True.
*** THEN ***
   'AirField' becomes Buildable (No)
I attached a Zero Hour object list to this post. Just extract this file and import these scripts into your PlyrCivilian folder while in the script editor.   Set Object List.zip (5kb) downloaded 1 time(s).
Matthew9170
17 years ago
the scrips are not working drummin and it is wierd i can still make spy drones satelights and spy scans
also i can still go over to there base click and then the troups always goes the right way itt makes me so mad

Wow, it has been a long time since I was last here.
Drummin
17 years ago
Not sure what's up with the spy drone scripts. As far as unit movement, if there is a path to the area where you click then the units will get there. They don't rely on sight to know where they're going.