Posted by: Matthew9170 - Monday, October 19, 2009 1:27:38 PM
How do i make a mission because i am thinking of making a mission called the 32nd parralel
Posted by: Drummin - Monday, October 19, 2009 1:44:31 PM
See [url=http://www.cnclabs.com/forums/default.aspx?g=posts&t=8866]this post[/url] within the same forum section.
Posted by: Drummin - Wednesday, October 21, 2009 10:20:28 PM
To make a mission you should have a plan of specific things that will happen to trigger events. Sounds like you’ve got something in mind, and things can be much more involved than what I'll get into here but I'll run through a few basics to get you going.
*Set Players
*Set Camera Position
I will assume you've made or started a map and maybe in doing so, added PlyrCivilian as you added objects. In any case, go to Edit/Edit Player List. Because I want to make sure PlyrCivilian is setup and named correctly I'll add the skirmish players then remove all players except PlyrCivilian. You can skip this if you added this player when adding objects. You'll want to add buildings or units for the players on the map so add these players as well.
Add a new player for the human player. I'll name this player "ThePlayer".
Add a new player for the enemy player. I'll name this player "TheEnemy".
The names you choose doesn't matter but it's easier to keep things straight by using obvious names rather than default names like player0001. Check the Box so that "TheEnemy" player is computer controlled and be sure the human player is not checked. Set these two players as enemies.
Now place buildings for the enemy base. Use the object tool if you wish. Another option for missions is using the Build List Tool. Using this tool lets you choose what buildings are built at the beginning of the mission and what the enemy will build after the game begins. You can also set the number of times the building can be rebuilt, so the Build List Tool is great for missions.
Place at least one unit for the human player and a waypoint where you want the camera to be at the start of the game. Select "initial camera position" from the drop-down list to name this waypoint. Save your mission. This is a mission map. Where you go from here depends on the objectives of the mission you're creating.
On a mission map, everything needs to be scripted. What I talked about in the team building post was giving the enemy cash and telling him that they can build units.
Also, named Civilian units and buildings can be transferred to the player as they meet an objective in the mission. For example, when the player reaches and discovers a small outpost, the barracks is transferred to the player. They then move on to their next objective.
Hopefully this will help you get started. So in other words, making a mission just requires setting the players and adding the camera position. How you make it interesting and worth playing is up to you. If you have specific scripting questions ask here.
Posted by: towns1 - Sunday, October 25, 2009 9:39:18 AM
Hello All
do some of ou no how i can made Picture and Set it into a Unit
in command and conquer Generals zero Hour?
fx SSChemBunk_L that is the Pigture to ChemicalBunker.
but how to Use a Other Pigture From A Camara, and set it Into a Unit Like That?
Posted by: Annihilationzh - Sunday, October 25, 2009 1:19:24 PM
How many times have you been told to make your own thread, and not take another thread off topic?
Posted by: Matthew9170 - Friday, October 30, 2009 2:26:50 PM
wait do i also have 2 make an inerperemeter like for a multiplayer map?
Posted by: Drummin - Friday, October 30, 2009 2:36:50 PM
No. Missions and multiplayer only maps don't use skirmish scripts so you don't need those areas.
Posted by: Matthew9170 - Saturday, October 31, 2009 5:24:01 PM
Ok I think i got it wright but i need to know how to make an attack script and a script for no supers and one for now infantry for the player team
Posted by: Drummin - Saturday, October 31, 2009 7:44:42 PM
You will find an example of the basic hunt script on the "Basic Team Building" post I linked to above. Basically, you're just telling '' to hunt with a subroutine script set for the "On Create" action. To limit building of structures or unit types, go to Map/Modify/Adjust the tech tree for a specific object type.
Posted by: Matthew9170 - Sunday, November 1, 2009 10:30:14 AM
ok yai can't get the enemy to attack me
also i downloaded WAKedit and i can't figure it out
Posted by: Matthew9170 - Monday, November 2, 2009 1:14:12 PM
ok can some1 see if they can fix my map [ATTACH]493[/Attach]
Posted by: Drummin - Monday, November 2, 2009 1:51:03 PM
Is this map for Generals or Zero Hour?
Be sure when saving the wak file to save it as idk.wak or(the name of your map).wak and select "all files" (or whatever the other option is) and NOT a txt file when saving.
Posted by: Matthew9170 - Monday, November 2, 2009 2:46:03 PM
ok i need the basic scrips like the endding the mission and waves because only the 4 tank hunters attack from the gla hole thing
Posted by: Drummin - Monday, November 2, 2009 2:58:07 PM
How come you didn't answer my question about what game this is for?
In any case, here is a ZH version.
Just a few changes to your map.
*Subroutine scripts are set as always active.
*Made a script to give AI cash.
*Teams can only be built if required buildings are there for the unit type, so I marked the Palace and Black market as already built.
*On the Team/Behavior page, I removed the selected subs you had for "On All Clear" section.
--
To make teams build faster, I added a few to AI and so The Player has power at game start I adjusted a few things there as well. I added a temp reveal script to watch the action.
[ATTACH]494[/Attach]
Posted by: towns1 - Monday, November 2, 2009 9:43:29 PM
1 how can i set conditons on a computer player building from build list?
if conditon is true then start to build a building i have set conditon on.
fx.GLAStruktureBerracks conditon if timer start build berrack has expired,
and when exåired then start to build but only when expired.
2 how can i set a GLA Computer player to build fast?
when i create a compuer Player whith team GLA, and set team to build on Team Builder
then they whait to long time to build just one unit from it
how can i set them to build very fast?
Posted by: Matthew9170 - Tuesday, November 3, 2009 1:34:25 PM
I think i got it right but i can't find how to end the mission and i need it for the Gla to be more of an enemy.(it is 2 easy)
ps. sry abiut not saying earler it is for ZH
Posted by: Drummin - Tuesday, November 3, 2009 4:36:11 PM
That's the beauty of missions, you can make them as hard as you want. Notice that I copied the first team scripts to make the second team changing the names etc. Then in the team section I copied the first team and changed the scripts. This was done to show you how easy it is.
Make some different "Action" scripts like (Move '' to a location), ('' guard AREA) etc. Add some pathways and named waypoints and create scripts and teams for these actions. It's up to you to make it fun and challenging.
You know if you look around the script area you can find what you need to end the game.
[b]You need a condition.[/b]
Named unit destroyed? All units destroyed? All Factory's destroyed? Player has X buildings left? It's up to you.
[b]You need an action[/b]
sells everything and End game? You'll find a few choices for this.
TOWNS:
1)The only way to control the build list is by banning all buildings of a certain type and then allowing it later in the game. Build List items are not named so direct control over a building cannot be done.
2)The only way to build teams faster is to create a MOD for the game. Ask in the MOD section if that's your goal on a NEW POST not on someone's post. You can add more buildings to the player so teams can be produced faster as well.
[b]For BOTH of you:[/b] It's better to make many smaller teams of the same unit type than to have huge teams that take forever to be built. This will make the game action much more exciting.
Posted by: Matthew9170 - Friday, November 6, 2009 4:43:51 PM
I think i got it (i started a new mission)
if there is anything wrong tell me so i can fix
by the way i will add detail a little later on.[grin]
ps. there should not be power at the start of the map and it's for ZH [ATTACH]496[/Attach]
Posted by: Matthew9170 - Saturday, November 7, 2009 3:34:18 PM
OK here it is i fixed the endding so if you destroy every thing but 2 buildings or if you get a unit into the POW camp game over have fun
but it needs a city and a bit more dital
it is in .rar and .zip format and it's ZH [ATTACH]497[/Attach] [ATTACH]498[/Attach]
Posted by: Matthew9170 - Monday, November 9, 2009 3:03:51 PM
that is prob going to be all i do to that 1
Posted by: Matthew9170 - Tuesday, November 10, 2009 1:26:45 PM
OK i made a new one and now the enemy won't attack
Posted by: Drummin - Tuesday, November 10, 2009 1:41:30 PM
Did you setup the players correctly? I.e. All players computer controlled except human and players set as enemies?
Did you make an [u]action[/u] subroutine script, setting [S A nd] for the team as in hunt and set this script as the "On Create" action?
Posted by: Matthew9170 - Tuesday, November 10, 2009 3:43:09 PM
ok thanks Drummin i messed up on the teams and i coundn't figure it out but now i got it thanks
Posted by: Matthew9170 - Wednesday, November 11, 2009 6:46:23 AM
hey can some1 test out my map my computer is giving me an error message and shuting down ZH when i go to test
ps. I am not communist [ATTACH]499[/Attach]
Posted by: Drummin - Wednesday, November 11, 2009 7:58:35 AM
Creation trigger scripts and the "Run" script for the On Destroyed event need to be unique for each team. You can use common action scripts for use by all teams but anything related to the production of the team needs to be only used for that team. Just copy that set of scripts (over and over) and change the number or team name.
Posted by: Matthew9170 - Wednesday, November 11, 2009 12:23:29 PM
i found out that the mission only works if it doesn't have text(military brifing)
Posted by: Drummin - Wednesday, November 11, 2009 1:24:56 PM
Good work diagnosing the problem. Seems you can't have more than four line breaks. Remove the first one and it works fine.
Posted by: Matthew9170 - Friday, December 18, 2009 12:08:58 PM
ya another small question i am making a mission in which if an object(tank) goes into a certain area it imetditly becomes the other teams... but i tryed doing that but it won't work and the other team doesn't build anything eventhought on the build list icon it has command center already built...plz help
ps. I will make a short vid of the problem if you need a better description of the problem[smile]
Posted by: Matthew9170 - Friday, December 18, 2009 2:22:04 PM
Ok great now the mission won't load
Posted by: Drummin - Friday, December 18, 2009 2:26:01 PM
Post the map and someone will look at it. It's hard to say what the problem is.
Posted by: Matthew9170 - Friday, December 18, 2009 2:44:05 PM
now world builder won't load it can some1 look at it [ATTACH]509[/Attach]
Posted by: joey55 - Friday, December 18, 2009 10:59:28 PM
the problem were the map.str files
look at the attached file(file:old is yours file:new is the working 1)
after the modification wb loads it and you can play it.[smile]
you may have to show the briefing longer,it gets only to the seccond line.
[ATTACH]510[/Attach]
Posted by: Matthew9170 - Saturday, December 19, 2009 4:06:44 AM
Ok thanks Joey last night i was relly mad because it didn't want to respond[sunglasses]
Posted by: Matthew9170 - Saturday, December 19, 2009 2:30:32 PM
Hey if you want to see a preview of my map here it is
http://www.youtube.com/watch?v=TA_PrJ7ISGk this is the youtube link
[ATTACH]511[/Attach]
Posted by: Matthew9170 - Saturday, December 26, 2009 1:02:07 PM
how do you add your own personal music to a map?
Posted by: Matthew9170 - Friday, January 22, 2010 12:29:49 PM
How can I make a script that makes an object become another team's in an area
Posted by: Drummin - Friday, January 22, 2010 1:55:20 PM
Name the object and identify the player by using room type scripting in the condition. The "transfer named object" to the player can be found under Player for the action line.
See [url=http://www.cnclabs.com/forums/default.aspx?g=posts&t=5045]Krits tutorial[/url] on room scripting for help if needed.
Posted by: Matthew9170 - Saturday, January 23, 2010 3:48:21 PM
I shoud have said this earlier but not just 1 object like Any object (UNIT) to become the other players
like if i just built a unit and move it into "Area1" it becomes player1's
Posted by: Drummin - Saturday, January 23, 2010 4:33:43 PM
There is no way to make this happen because units you build are not named or belong to a specific team to be transferred.
Posted by: Matthew9170 - Sunday, January 24, 2010 4:16:42 AM
Ok thanks anyway
Posted by: Matthew9170 - Monday, February 22, 2010 3:53:02 PM
What does "FS SUPERWEAPON" mean... because i am trying an idea on a team has to build a super in an area to win
Posted by: Annihilationzh - Monday, February 22, 2010 9:36:41 PM
It means exactly that - superweapons. Particle cannons, nuke silos and scud storms.
Posted by: Matthew9170 - Tuesday, February 23, 2010 12:21:22 PM
ok i thought it might mean some thing else because of the FS part
Posted by: Matthew9170 - Tuesday, February 23, 2010 4:54:02 PM
OK... Here is My latest Attempt at a Mission...all it needs really is more forces.
If you like it or don't please feel free to say so... Also any comments on how to improve it will help.
Thx. [ATTACH]563[/Attach]
Posted by: Matthew9170 - Thursday, February 25, 2010 11:21:22 AM
How can i make the USA nuke launcher fire Toxic scudstorm missles?