ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
hi, can someone help me with the following questions:

1) lets say i wanna make a map and only ai can build sw,
how can i lets say from chine nuke the upgrades transfer to the tech center

2) how can i make a indepeded team from lets say boss units that they guard and attack all other units that come near a oiltech building on the map

greetz ron
Sponsor
SUPER-G
13 years ago
http://www.cnclabs.com/forums/cnc_postst11178_how-to-make-upgrades-available-in-different-buildings.aspx 

2. for a mission:

create the team, place down units and make them part of that team.

then you use this script:

team>set to guard---current location.

then set the main player as enemy, and your done!😎


UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
you want to place units on your map which are hostile towards ALL players? then do this:

do Edit -> Edit Player List
click New Player
Chose FactionBossGeneral
mark "is player computer controlled"
give it a player name and a display name (example: Enemy)

now go to scripting menu, create a new script in PlyrCivilian Folder and write down the following actions with this script:
Player -> Alliances -> Player to other player.

make all this script lines:
player0 to player Enemy to be enemy
player1 to player Enemy to be enemy
player2 to player Enemy to be enemy
player3 to player Enemy to be enemy
player4 to player Enemy to be enemy
player5 to player Enemy to be enemy
player6 to player Enemy to be enemy
player7 to player Enemy to be enemy
player Enemy to player0 to be enemy
player Enemy to player1 to be enemy
player Enemy to player2 to be enemy
player Enemy to player3 to be enemy
player Enemy to player4 to be enemy
player Enemy to player5 to be enemy
player Enemy to player6 to be enemy
player Enemy to player7 to be enemy

after you have done this you can place units on the map for player "Enemy" and they should be hostile.

if you cant get it to work then upload your map and ill take a look at it.
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
HI ,THANKS FOR THE REPLY I GONNA CHECK IT OUT
GREETINGS RON
i^love^mixery
13 years ago
you are welcome. please feel free to upload your map if you cant get it to work!
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
mmmmmmm, tryed a lot of options but nothing worked.
the problem is i got the mod so when you want too check the map you dont got the units.
maybe you can explaine it easyer.
i first get the new player and changed the two names in too Enemy.
then i made the script for playero and player1 but they do not attsack ore move
greeting ron
DecliningAtom52
13 years ago
http://cnclabs.com/forums/cnc_postsm125233_Creating-independent-AI-units--not-players.aspx#post125233 

Could you also tell us if this is a Skirmish Map or a Single Player Map
'As always, Have nice day.' - FPSRussia
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
hi, its a skirmish map 2 players against 6 insane.
i downloaded the map and will check it out.
i dont know if you can only use boss units when you create a new player, because i used also buildings from different generals but all put them on team enemy.
also i put about 200 unmanned units from boss general for the 6 insane to capture, in other maps the ai captured them aNd now they do too only the units from the new team dont do anything

greetings ron
i^love^mixery
13 years ago
thats most likely because of the mod. the AIs are probably not well scripted.

its would be really hard to fix this issue because you will have to modify the AI scripts.
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
lol, you are answering all my question, maybe we should start our own toppic.
ok still warm but, i downloaded the map dessert and look at the scripts, i saw one strange thing but i use the same lines on my map and also a script that the units must guard a selected area named hack. i see now the units guarding and moving but what ever i do with the scripts they dont attack my units when they go in the area ore when they are close enough in shooting range.
what i find strange in that script is the first line is:
player teamEnemy consider player0 as enemy, than the next line for al the other 7 players you used not teamEnemy but only this player.
and the other way its is:
player Player0 consider teamEnemy as enemy, and the following lines you used again this player,
so only the first line is the real name of the team; Oh you used a different name i used teamEnemy.
And maybe what you say about the mod that its not possible too make a different team.
But one small thing( not meaned stupid ore whatever ) ,because me and my friend are great fan off the mod, about scripting the ai, they attack mutch better and they build mutch more units and they use better the uprades and the stars points as in zero hour. when they attack its not about 5 tanks but they use 25 tanks and when you play against 6 insane vs 2 you get 100 tanks and planes in your e base at once and they keep on coming, in some games we get over the 3500 kills in a game from 90 minutes.
greetings ron

ps i dindnt look yet about switching upgrades to other buildings, but already one question
with the nuke general you have to build first the nuke before you can build a very heavy nuke tank called bertha how can i make that work when you cannot build a nuke at rank 5 that you can still make that heavy tank
in advanced already thanks
ron
  • ron
  • 61.25% (Friendly)
  • Captain Topic Starter
13 years ago
Hi, i could not get the righ script by myself, but i imported the script from the dessert map and it works, very strange because it is the same script, i think the problem was the team, but it works
greeting ron