Jump to content


Photo

World Builder


  • Please log in to reply
80 replies to this topic

#61 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 21 July 2006 - 07:05 PM

okok forget da lame water.

when making a script, where on earh do i find the ***IF*** or ***THEN***, cuz about that attacking thing, it appears that i need this 2 commands so it moves on to the next step, but all i can find is TRUE or FALSE, so it still dnt work, although im sure i had it but no.

I AM STILL STUCK!!

p.s. i made a new team called Attack and selected some random units but how do u put like x10 so insted of 1 theres ten or so?? also shud this be CPU controlled or not?

#62 00 Nobody

00 Nobody

    Founder of 00 Nobody Maps

  • Members
  • 1,586 posts
  • Location:Oklahoma
  • Projects:00 Nobody Maps
  •  Mapper and Founder of 00 Nobody Maps

Posted 22 July 2006 - 03:34 PM

Do not make it a computer player, simply put it on the civilian player.

click on the add new requirement or whatever, and it brings up a list of scripts that you can use. click on a folder in the list to expand it.
After that, click on the "What to do if true" tab near the top of the script window. Then, double-click on the words "null operation" and choose the script that I mentioned earlier.

Then go on to the next script in the 2-part script chain.
00 Nobody Maps and Missions
Desert Legends RPG C&C's ONLY
Desert Doorway Defenders
Desert Corps.
BattleTanx
Operation: The Dragon's Den
Construct additional pylons. No, seriously. The power's out. Those power lines are overloaded. WE NEED MOAR PYLONS!

#63 Bob

Bob

    Marine Corps Expeditionary Fighting Vehicle (EFV)

  • Project Team
  • 1,252 posts
  • Location:The country music capital - Nashville TN, U.S.A.
  • Projects:Project Raptor, ZH Maps
  •  "If everyone is thinking alike, someone isn't thinking."

Posted 22 July 2006 - 06:24 PM

Are you doing a mission or multiplayer skirmish map?

On a multiplayer skirmish map, Ive done this:

*** IF ***
True.
*** THEN ***
Player 'PlyrCivilian' considers Player '<Local Player>' to be Enemy

Command located under - Player>Alliances>Change how a player relates to another player.

Then when you place you enemy units on the map, they all must be on the 'PlyrCivilian' side. You must change the object properties box of each unit you place to be on the 'PlyrCivilian' side.

Here are the caveats that I have found though in using this on a muti-player map.

1.) Only defensive structures (i.e. patriots, gattling cannons, stinger sites, militia .50 cal gunner, etc...) will fire at you. No tanks, units, or infantry will fire at you

2.) These structures will only fire on your happy a**, and not fire at AI skirmish units. In other words your enemy.

3.) All civilian 'Tech' structures such as the arty platform and the tech sam site. will also fire at you from the start of the game.

4.) Because the script uses '<Local Player>' in the script, the script may not work in multiplayer online games.


Another option that I've seen done can be found here:
http://www.cncden.co...er7_teams.shtml

EDIT: There is a map with an example of this technique RVMECH used, but I can't find it right now. I will post it once I find the map again.

By the way,

*** IF *** = Any command that you put under the 'script conditions' tab.
*** THEN *** = Any command that you put unter the 'Actions if true' or 'Actions if false' tabs.

Edited by Bob, 22 July 2006 - 06:31 PM.

Posted Image
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Posted Image

- Bob

Posted Image

#64 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 22 July 2006 - 07:23 PM

thanks ill go and have another pop at it, what im trying to do, cuz hards are easy atm is amp where you are on hill and there 2 hard armies playing as usual but a rush will take place to make uo 4 da AIs slow attack times. the map ill make it well textured and so and ill get 1 of my m8s to help test.

#65 Bob

Bob

    Marine Corps Expeditionary Fighting Vehicle (EFV)

  • Project Team
  • 1,252 posts
  • Location:The country music capital - Nashville TN, U.S.A.
  • Projects:Project Raptor, ZH Maps
  •  "If everyone is thinking alike, someone isn't thinking."

Posted 23 July 2006 - 01:02 AM

Here's the map I was mentioning in my last post:
http://www.cncseries.com/files/?157

It's by Waraddict, not RVMech. Excuse the brain fart. :p
Posted Image
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Posted Image

- Bob

Posted Image

#66 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 23 July 2006 - 01:12 PM

that map has helped abit, but if i put plyrcilivian to consider local player to be enemy, if i put some defence structres on a map to stop me wud they only shoot at me and not anyone else, is so that will be rather cool and i cud make a sorta challenge thing for my self. becuz i wud have to fight mi way through a think line of defence to get to them howeverthey wont.

also im just about to give up making sum random units go to mi base and attack me, it just seems to be hard work, but wud they attack me if i put then as cilivan but made a script like ( forgot the actual terms) team ???? follows waypoint path and attack anything in area 'mybase' ~?

aslo dat link to da den was amazenly clear and idiot proof now i can make then follow a loop and engage nething that gets in there way, BUT WILL THEY ONLY ATTACK ME OR EVERYONE!!!?!?!??!?!

and is it atall possible to make a war factry build units for cilivian plry in a skirmish, and wait for a small group and then send them in on me, i want this in a skirmish.

also i have asked this b4 but how do change da water to a nice colour insted of dat crappy black, its really annoying me now!!! :dry:

and can i make a nuclear missile fire at me randomly throughout a game at mi high cost areas cuz that wud make a reaelly hard battle but it wud be highly funny.

and lastly i made a team called thanks and put 2 scorpions init, then i put them in the team and put it as a cilivan team then i made 2 scripts : team tanks consider local player a enemy
and team tanks start guarding an area BUT as usual they just sit there and let u go right to them,

pls help

Edited by PR 4 @LL!!!, 23 July 2006 - 09:33 PM.


#67 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 24 July 2006 - 01:07 PM

also in world builder i am trying to make a mission- you play as normal china and you have to destroy an enemy tans gens base, but ive hit sum problems with this, i manage to use the build it tool a bit and i can use the script AI tankgen build a structure i dont know how to make there war factry build sum units and send them in at me, i dont know how to make units engage my units in they get too close, and i dnt get it how to make them use there promotions on me,

please can sum1 help or just send me a link to a map or summit with like the 1 im trying to make.

lastly howcome if i tell an AI unit to guard aerea, it wont??

p.s. how do i make a starting base for the actual player and remove some of his promotions i dont want him to use??

Edited by PR 4 @LL!!!, 24 July 2006 - 02:58 PM.


#68 00 Nobody

00 Nobody

    Founder of 00 Nobody Maps

  • Members
  • 1,586 posts
  • Location:Oklahoma
  • Projects:00 Nobody Maps
  •  Mapper and Founder of 00 Nobody Maps

Posted 24 July 2006 - 03:26 PM

I don't know how to make computer AI very well, so I can't help there.

Are you telling him to go to a waypoint and guard the area? That's what you're supposed to do, I think.

Just go into the objects thing and put down a base using the base China structures.

Look in the player folder in the script selection window, you'll find it.
00 Nobody Maps and Missions
Desert Legends RPG C&C's ONLY
Desert Doorway Defenders
Desert Corps.
BattleTanx
Operation: The Dragon's Den
Construct additional pylons. No, seriously. The power's out. Those power lines are overloaded. WE NEED MOAR PYLONS!

#69 ChineseICman

ChineseICman
  • Project Team
  • 153 posts
  • Projects:Alien Crisis mapper/unit finder (thats me) The Korean War 2 Mod (only in planning)
  •  The Chinese connection to a world of aliens....ALIEN CRISIS

Posted 24 July 2006 - 04:49 PM

Hello.. I see your problem can be fixed rather easyly. I made many maps for fun to watch a tank gen destory a demo gen. What I do to make them attack is I add in the file from "Team". Go to add script to civlian. Then add to the script thing, Team "Demo gen" attacks Team "Tank". Then add another Team "tank gen" attacks team "demo". This can work for your problem. Make your enemy team plyer Tank or something and add team "Tank gen" attacks Team "Local Plyer".

If this does not work swich team local to lets say you want to be american air force, Team "Tank" attacks Team "Airforce gen". and make sure you placed a Airforce command center on the map and added the script from Player "plyer Airforce" gives control to "Local player". I am having trobles making the com build. I make mission's. If you can't understand what im saying E-mail me at ChinaICman@aol.com and i will explian there.

#70 Bob

Bob

    Marine Corps Expeditionary Fighting Vehicle (EFV)

  • Project Team
  • 1,252 posts
  • Location:The country music capital - Nashville TN, U.S.A.
  • Projects:Project Raptor, ZH Maps
  •  "If everyone is thinking alike, someone isn't thinking."

Posted 25 July 2006 - 12:35 AM

that map has helped abit, but if i put plyrcilivian to consider local player to be enemy, if i put some defence structres on a map to stop me wud they only shoot at me and not anyone else, is so that will be rather cool and i cud make a sorta challenge thing for my self. becuz i wud have to fight mi way through a think line of defence to get to them howeverthey wont.

...

As I said in my last post. They will only attack only YOU. Not the AI players of the map.

As for the remainder of the questions, as they deal with advanced map making techniques, you might want to consider a forum board that specializes in Worldbuilder and mapmaking, instead of this one. The ones I know of are:

Command & Conquer Generals Zero Hour Maps & Resources Cncmaps.com Forums
http://cncmaps.net/

Den Games Network Forums:
http://forums.cncden...isplay.php?f=19

FileFront: CnC Mapping and Mission Editor sub-forum:
http://forums.filefr...splay.php?f=274

You'll be able to get your questions seen and answered by more, and more experienced, mapmakers that specialize in the subject.
Posted Image
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Posted Image

- Bob

Posted Image

#71 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 26 July 2006 - 10:00 AM

thanks all very much, but as i kno ChineseICman i mite email him, also you better remember me i was either one_account or Jamie_05 or summit else either way i definetlyknow u coz i use to help to test your maps and it was me ages ago when we were talking about waves and i played with u on dat map of the world. hope you remember!!

#72 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 26 July 2006 - 01:19 PM

also i know how to solve my water prob but how do i create a INI file???????????????????????????

#73 ChineseICman

ChineseICman
  • Project Team
  • 153 posts
  • Projects:Alien Crisis mapper/unit finder (thats me) The Korean War 2 Mod (only in planning)
  •  The Chinese connection to a world of aliens....ALIEN CRISIS

Posted 26 July 2006 - 04:38 PM

Whaa. My map of the world. Boy that was like a year ago. Let me see if I remember. The name is not fimilar, But if you know of my world map hmmm. Or you sure your names not

Holy
N-xue
Kanga
Kamos
Pangwin
Pongo
Or a random amount of people.

I still can't remeber name. Or you sure it was jamie.

#74 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 26 July 2006 - 06:17 PM

urmmmmmmmmmmm brain freeze......

TDA summit ( 4got last bit)
dark_lord
White_chocolate ( lol)

other than dat im done for i could have a look but i think i deleted all mi accs.

do u kno how to creat an INI file, ive got an INI editor...

#75 ChineseICman

ChineseICman
  • Project Team
  • 153 posts
  • Projects:Alien Crisis mapper/unit finder (thats me) The Korean War 2 Mod (only in planning)
  •  The Chinese connection to a world of aliens....ALIEN CRISIS

Posted 27 July 2006 - 04:57 PM

TDA summit .... I remeber a TDA. Was your name ever Easter bunny. Or something like it. Your TDA was..stalker I think. Was this you.

#76 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 28 July 2006 - 12:23 PM

thats it!!!!!! firstly i was easter bunny but changed to TDA cuz i was getting annoyed being called a noob basher :umad:

but its has been long time no see, whats up mate??

and on WB, in that email will i have to make about 3 different teams for nuke and tox or just 1???
also i found out how to get rid of ne promotions i didnt want the player to use, but i cant figure out how to make the enemy use there promos and SWs?

lastly if u can and want to cud u email me telling me step by step intructions to get them to deploys units by air ( spwan them ) then send them at me. pleaeaeeaeaeaeaeaeaeaeaeaeaeaeseeeeeeeeees!

#77 ChineseICman

ChineseICman
  • Project Team
  • 153 posts
  • Projects:Alien Crisis mapper/unit finder (thats me) The Korean War 2 Mod (only in planning)
  •  The Chinese connection to a world of aliens....ALIEN CRISIS

Posted 28 July 2006 - 02:01 PM

Yea I haven't been on latly ( due to playing other games such as BFME and Unreal 2k4)


Here to make them spawn from air you just.

Step 1- You create a reenforcement team
Step 2- go to second page of reenforcement tab then selete reenforce from *** (star show you can pick what they spawn from)
Step 3- Then add in the script That says Team: Team *bla bla* spawns from waypoint *bla*
Step 4- Test. It should work if I am correct. It has been a month since I opened up Zero hour world builder, I have been useing the BFME world builder and it is about the same.

PS. I could be wording this wrong I don't know.

#78 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 29 July 2006 - 03:51 PM

ok kool thanks sorted that now and made them attack me.!!

pls chek ur emails ChineseICman cuz theres an email :lol:

#79 PR 4 @LL!!!

PR 4 @LL!!!
  • Members
  • 157 posts
  • Location:ENGLAND - Poole
  • Projects:HAving fun
  •  Nothings impossible!

Posted 31 July 2006 - 01:11 PM

I KNOW HOW TO MAKE THEM BUILD UNITS FROM A WAR FAC.!!!!!

i found this out after about 3hrs !!

In order to make the AI build a team, take the following steps:
1. Set player *AI* to be able to build units (Special script for that)
2. Go to the Teams tool and create new team. In the first page, Select the units you want your team to have, and the number from each type.
3. Create a sub routine script that shows the condition of creating the team, This script should have no actions if ture or if false
4. In the team opitions, Find the place with the title "Conditions" And select your subroutine script in it
5. In the team options, in The behaviour part, There is a title "On Team created". You can put there every sub routine script you make, and it will work when the team is ready. for example, the sub script *Team "This team" Begins hunting* will cause the team to hunt enemies as soon as it created.

Notes:
-Pay attention that unless told otherwise the AI will continue to build the team every time it dies, if the condition is still true
-Make sure the AI gets money, or it can't build the units
-Avoid using the "Hunt" option on maps with complicated terrain, or the map will lag. If the map lags, when the team is ready, try directing the team in waypints path instead of ordering it to hunt, and send him to attack only when finish the waypoint path


hopes this helps!!!

#80 00 Nobody

00 Nobody

    Founder of 00 Nobody Maps

  • Members
  • 1,586 posts
  • Location:Oklahoma
  • Projects:00 Nobody Maps
  •  Mapper and Founder of 00 Nobody Maps

Posted 31 July 2006 - 02:36 PM

I'd already figured about half of that out, but thanks a LOT.
00 Nobody Maps and Missions
Desert Legends RPG C&C's ONLY
Desert Doorway Defenders
Desert Corps.
BattleTanx
Operation: The Dragon's Den
Construct additional pylons. No, seriously. The power's out. Those power lines are overloaded. WE NEED MOAR PYLONS!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users