AdrianeMapMaker
8 years ago
theres a 3 option in the player list i want a condition where ai will use cheat after my attack on them..

there are 3 option in choose player name
- is this the correct one?



A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Sponsor
UTD^Force
8 years ago
You are the

*** IF ***
     Team 'teamai' has been attacked by Player '<Local Player>'
*** THEN ***
  Play Sound 'AirRaidSiren'.

A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
i^love^mixery
8 years ago
Don't forget that will desync the game when there is more than 1 human player.
Unknown Editor
8 years ago



are of course set in player's section in the scripts , i mean for example if the script is in "GLA/Hunt" will work when GLA's enemy is doing whatever you set the condition for {usually works for "Local Player" or to trigger "Local Player" but not a good option for multiplayer!}
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
AdrianeMapMaker
8 years ago

Don't forget that will desync the game when there is more than 1 human player.

Originally Posted by: i^love^mixery 



so can i use the alternative like player0 ;; is that better than local player


A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




UTD^Force
8 years ago

Don't forget that will desync the game when there is more than 1 human player.

Originally Posted by: adrianemapmaker 



so can i use the alternative like player0 ;; is that better than local player

Originally Posted by: i^love^mixery 



In a multiplayer match, yes.
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
Romka beton
8 years ago

a question for the mappers.
how in the single player mission to force the AI to build in buildings (not just spawn in waypoint) teams? script "Team-AI-Start building a team" not work -_-
what i did:

script 1:
condition- timer "xx" has expired
action- start building team "xx"
script 2:
condition- "Team-Exists-Team (xx) has been created.
action-
"Scripting-Timer-Seconds countdown timer -- set" (add new timer "yy" 15 seconds.)
"Scripting-Script-Disable script" disable script 01
"Team-Transport-Transport-automatically load." (team "xx" it is 1 technical and 5 terrorists)
script 3:
condition- timer "yy" has expired
action-
"Team-Attack-Set to attack- another team" team "xx" begin attack on team "zz"(player)
"Scripting-Script-Disable script" disable script 02
"Scripting-Script-Enable script" enable script 04
script 4:
condition- "Team-Destroyed-Team "xx" has been destroyed
action-
start building team "xx"
"Scripting-Script-Enable script" enable script 02

AI have AD and barracs ofk.
team "xx" in team list have this settings:
home position "some waypoint"
production condition:
execute associated actions (a tick is not worth it)
priority 10
build for 0 frames
succes/failure priority in/decrease 0
unit tipe min/max 1/1 tech and 5/5 terrors
automatically reinforce whenever possible (checkmarked)
team members are AI recruitable (checkmarked)
team created once and only once (a tick is not worth it)

i think it must by work... but not work 😣
klingondragon
8 years ago
Firstly, you should really have created a new topic for your question.
Secondly, have you added the script that says something along the lines of 'this team is allowed to build' ? I seem to remember having to add that before the ai would build anything.
AdrianeMapMaker
8 years ago
Did you enable the AI to build?
Coz every single player maps have the disabled ai- you need to enable them via script.. As ea did
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Romka beton
8 years ago
yes, script 0 besides timer "xx" including action scripts AI build buildings and AI build units.


hmm, no one never did it?
AdrianeMapMaker
8 years ago
Send the scripts to me
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Romka beton
8 years ago
pass in pm.
in WB, in scripts, see folder PlayerGLA   1B-02-Wings of Safety.rar (326kb) downloaded 17 time(s).
AdrianeMapMaker
8 years ago
What is the specific team you want to build
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




AdrianeMapMaker
8 years ago
Is this the bomb truck team?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Romka beton
8 years ago
Noup, its "teamooo1" (see in gla team teams).
Bomb trucks its just another experiment, but he not work too (after drop, he not go to hunt). And car-scrap after some timer, must hunt too, and too not hunt. Idk - maybee just bug in this ma
AdrianeMapMaker
8 years ago
Sorry for late reply got busy making maps for contra mod

Also I forgot that I make a tutorial for this before

Link:http://www.cnclabs.com/forums/cnc_postst16829_Mapping-And-Some-Modding-Tutorials---By-Adriane.aspx

Guys pls share this link for those who want tutorials in the future
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage