iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
k thanks one more thing

do you need to do anything to make your map playable online
As my name says "I RULE U ALL"
Drummin
17 years ago
If you've added your start positions and resouces then you should be go to go online. To make the map a playable skirmish map, follow the instructions in Fleetatks' tutorial regarding adding base areas and pathways.
iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
k thanks just making sure


one last question.

so when i set down a vehicle say a overlord how do i make it so i can just get infantry to take it over cause it wont work for me

As my name says "I RULE U ALL"
Drummin
17 years ago

when i set down a vehicle say a overlord how do i make it so i can just get infantry to take it over cause it wont work for me



There are two ways to do this. Considering how many units you're going to place might help you decide which way to go.

1: Name every unit
2: Make a team

1: Name each unit you place and write a script in the plyrcivilian folder to make these units unmanned.

*** IF ***
True.
*** THEN ***
Make Unit 'Overlord1' unmanned.
Make Unit 'Overlord2' unmanned.
Make Unit 'Overlord3' unmanned.

This action is found under Unit/Status.

2: Go to Edit/Edit Teams, select the civilan player and add a new team. Call it what you want... say, "UnForGrab". Write a script to make the whole team unmanned.

*** IF ***
True.
*** THEN ***
Make Team 'UnForGrab' unmanned.

This action is found under Team/Status.

Then when placing units on the map, assign them to team UnForGrab. The advantage of option two is that you don't need to name every unit which can be a time saver if you're placing large numbers.
iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
Ummmm yeahhhh❓ ❓ ❓

i have no idea how to write a script so im basically lost😞
As my name says "I RULE U ALL"
Drummin
17 years ago
No Problem.

Both Generals and Zero Hour WB script writing areas are close with some minor differences in finding the scripts... Generals will show a long dropdown list of scripts and Zero Hour uses a menu tree. You should be able to find things easy enough.

If you haven't yet added your skirmish players you'll need to do this. Go to Edit, then "Edit Player List...". When the window opens click the button that says "Add Skirmish Players" then click OK.

To write scripts go up to Edit, then from the dropdown click "Scripts...". You'll see the list of players. In most cases, all scripting is done in the PlyrCivilian folder. Left click on this folder and click "New Script...".

First thing to do is Name your script. Let's call it "MakeUnmanned".

Above the Name area you'll see tabs for the condition and action sections of your script. By default, the condition of a script will say "IF True" so you don't need to change that. What we want to do is change the action if true part of the script so click on that tab.

You'll see by default it says, "Null Operation [Does Nothing]". We don't want this so click the "Delete" button to the right.

Click "New..." and go to "Unit"... then "Status"... then "Make Unmanned". If you're using the Generals editor this all run together somewhere down the list.

OK.
Once you click "Make Unmanned", you'll see the script line in a window with some question marks "Make Unit '???' unmanned.". It's calling for a unit name. Click these question marks and a popup window will come up where you type in the name. You may also find your unit name in the textbox dropdown. Click Enter on your keyboard.

If you have more than one unit to make unmanned, left click on this action line you just made and click "Copy". Edit each line naming all your units.

Click OK when you're done with this script then OK to exit the script writing area. Save your game.

Your units will now be Unmanned.





iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
okay i followed it until you said "Click "New..." and go to "Unit"... then "Status"... then "Make Unmanned". If you're using the Generals editor this all run together somewhere down the list." i could not find that

please help lol

😭
As my name says "I RULE U ALL"
Drummin
17 years ago
Are you using Generals or Zero Hour?
Remember I said in the begining that there are some differences in the way you find the scripts.
iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
yeah i know

but do you know what it would say cause there is nothing in the units section that says unmanned
As my name says "I RULE U ALL"
Drummin
17 years ago
Give me a minute to switch world builders.

WELL,
I'm very surprized that I can't find "Make Unmanned" in Generals.
Sorry.
I'll post back when I get an answer for you.
iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
okay thanks drummin. 👍
As my name says "I RULE U ALL"
Phe0n1x
  • Phe0n1x
  • 100% (Exalted)
  • Administrator
17 years ago
There is no need to post multiple times. Please use the edit button. I removed the excess posts.
UserPostedImage
Drummin
17 years ago
Well I talked with our resident expert Me Myself and Pi and he gave me this answer.
"Nope, there is no action in just Generals to unman a unit. The best you can do is script Jarmen Kells to shoot the units. But of course, this only works for vehicles.

This is actually the technique that EA Games used in the first USA mission in Zero Hour."

So sorry Bud! I thought Generals would have the same type of scripting I've used in Zero Hour. If you wish, we can transfer the unit to a player when they "get to" the tank. Let me know. We can do that.
Me Myself and Pi
17 years ago
Scripting the Jarmen Kells isn't that hard. Here's how:

1) Go to the Player List & create two new players. Both under the Civilian faction & name them, Unmanned, & JarmenKells. (Give the same name to the Player Name & Player Display Name) If this is a solo player map, (not skirmish or multiplayer) then check them as AI controled.
2) Create the following scripts:
*** IF ***
    True.
*** THEN ***
  Player 'JarmenKells' considers Player 'Unmanned' to be Enemy ([Player] Change how a player relates to another player.)
  Team 'teamJarmenKells' begins hunting using Ability 'Command_GLAInfantryJarmenKellSnipeVehicleAttack'. ([Team} Set to hunt using commandbutton ability.)
  Set timer 'Delete Jarmen Kells' to expire in 3.00 seconds.
*** IF ***
    Timer 'Delete Jarmen Kells' has expired.
*** THEN ***
  Team 'teamJarmenKells' is removed from the world. ([Team] Delete a team.)
3) Go to all the units you want unmanned & change it's team to teamUnmanned
4) Now place a Jarmen Kell under the team of teamJarmenKell next to each unit.

That's all!
iruleuall
  • iruleuall
  • 100% (Exalted)
  • Captain Topic Starter
17 years ago
ohhh that sucks. oh well thanks though for telling me. for now im good.
As my name says "I RULE U ALL"