World Builder
#61
Posted 21 July 2006 - 07:05 PM
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
Posted 22 July 2006 - 03:34 PM
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.
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
Posted 22 July 2006 - 06:24 PM
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.
#64
Posted 22 July 2006 - 07:23 PM
#65
Posted 23 July 2006 - 01:02 AM
http://www.cncseries.com/files/?157
It's by Waraddict, not RVMech. Excuse the brain fart.
#66
Posted 23 July 2006 - 01:12 PM
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!!!
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
Posted 24 July 2006 - 01:07 PM
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
Posted 24 July 2006 - 03:26 PM
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.
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
Posted 24 July 2006 - 04:49 PM
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
Posted 25 July 2006 - 12:35 AM
As I said in my last post. They will only attack only YOU. Not the AI players of the map.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 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.
#71
Posted 26 July 2006 - 10:00 AM
#72
Posted 26 July 2006 - 01:19 PM
#73
Posted 26 July 2006 - 04:38 PM
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
Posted 26 July 2006 - 06:17 PM
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
Posted 27 July 2006 - 04:57 PM
#76
Posted 28 July 2006 - 12:23 PM
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
Posted 28 July 2006 - 02:01 PM
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
Posted 29 July 2006 - 03:51 PM
pls chek ur emails ChineseICman cuz theres an email
#79
Posted 31 July 2006 - 01:11 PM
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
Posted 31 July 2006 - 02:36 PM
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