Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline AdrianeMapMaker  
#1 Posted : Thursday, January 18, 2018 5:52:45 AM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
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
<local player> - is this the correct one?
<this player>
<the players enemy>
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Sponsor
Offline UTD^Force  
#2 Posted : Friday, January 19, 2018 3:46:08 AM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
You are the <Local Player>

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

UTD^Force

Moderator and former map reviewer
CnC Labs
thanks 1 user thanked UTD^Force for this useful post.
AdrianeMapMaker on 1/20/2018(UTC)
Offline i^love^mixery  
#3 Posted : Saturday, January 20, 2018 10:02:37 AM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
Don't forget that <Local Player> will desync the game when there is more than 1 human player.
thanks 1 user thanked i^love^mixery for this useful post.
AdrianeMapMaker on 1/20/2018(UTC)
Offline Unknown Editor  
#4 Posted : Saturday, January 20, 2018 2:33:08 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
<this player>
<the players enemy>

are of course set in player's section in the scripts , i mean for example if the script is in "GLA/Hunt" <the players enemy> 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%
thanks 1 user thanked Unknown Editor for this useful post.
AdrianeMapMaker on 1/20/2018(UTC)
Offline AdrianeMapMaker  
#5 Posted : Saturday, January 20, 2018 7:09:59 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
Originally Posted by: i^love^mixery Go to Quoted Post
Don't forget that <Local Player> will desync the game when there is more than 1 human player.


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





Offline UTD^Force  
#6 Posted : Saturday, January 20, 2018 11:53:10 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Originally Posted by: adrianemapmaker Go to Quoted Post
Originally Posted by: i^love^mixery Go to Quoted Post
Don't forget that <Local Player> will desync the game when there is more than 1 human player.


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



In a multiplayer match, yes.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline Romka beton  
#7 Posted : Sunday, March 25, 2018 4:20:47 PM(UTC)
Romka beton
Private
Joined: 6/11/2017(UTC)
Posts: 16
Russian Federation
Location: Viipuri

Thanks: 6 times
Was thanked: 9 time(s) in 4 post(s)

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: <none>
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 >.<
Offline klingondragon  
#8 Posted : Sunday, March 25, 2018 5:13:40 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
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.
Offline AdrianeMapMaker  
#9 Posted : Sunday, March 25, 2018 5:18:33 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
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





Offline Romka beton  
#10 Posted : Monday, March 26, 2018 10:53:32 AM(UTC)
Romka beton
Private
Joined: 6/11/2017(UTC)
Posts: 16
Russian Federation
Location: Viipuri

Thanks: 6 times
Was thanked: 9 time(s) in 4 post(s)
yes, script 0 besides timer "xx" including action scripts AI build buildings and AI build units.


hmm, no one never did it?

Edited by user Monday, March 26, 2018 1:46:12 PM(UTC)  | Reason: Not specified

Offline AdrianeMapMaker  
#11 Posted : Monday, March 26, 2018 6:27:35 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
Send the scripts to me
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Offline Romka beton  
#12 Posted : Tuesday, March 27, 2018 1:28:26 PM(UTC)
Romka beton
Private
Joined: 6/11/2017(UTC)
Posts: 16
Russian Federation
Location: Viipuri

Thanks: 6 times
Was thanked: 9 time(s) in 4 post(s)
pass in pm.
in WB, in scripts, see folder PlayerGLA
File Attachment(s):
1B-02-Wings of Safety.rar (326kb) downloaded 16 time(s).
Offline AdrianeMapMaker  
#13 Posted : Tuesday, March 27, 2018 11:37:14 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
What is the specific team you want to build
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Offline AdrianeMapMaker  
#14 Posted : Wednesday, March 28, 2018 6:16:49 AM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
Is this the bomb truck team?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Offline Romka beton  
#15 Posted : Wednesday, March 28, 2018 11:30:53 PM(UTC)
Romka beton
Private
Joined: 6/11/2017(UTC)
Posts: 16
Russian Federation
Location: Viipuri

Thanks: 6 times
Was thanked: 9 time(s) in 4 post(s)
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
Offline AdrianeMapMaker  
#16 Posted : Monday, April 2, 2018 6:07:30 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
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

Edited by user Monday, April 2, 2018 6:14:12 PM(UTC)  | Reason: Not specified

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

UserPostedImage





Users browsing this topic
Guest
Similar Topics
What is a 3/4 Asian Handicap? The Most Effective Way to Play 3/4 (0.75, 0.5/1) Handicap (Generals: Maps and World Builder)
by Guest 5/19/2023 12:42:17 AM(UTC)
What is Cortexi? (Mapping & Modding Tutorials)
by Robertruise 5/15/2023 1:25:47 AM(UTC)
What is BioRestore Complete? (C&C 3: Maps and World Builder)
by Guest 5/9/2023 2:30:09 AM(UTC)
Friday Flakes: What is the Application Fred Hoiberg Offered (C&C 3: Maps and World Builder)
by Guest 8/6/2022 1:54:05 AM(UTC)
What Is the Difference Between europe email list (Maps & Mods for C&C Classics)
by Biplob09 3/31/2022 12:36:07 AM(UTC)
What is the best car to rent in Miami? (Off-Topic)
by Fullhen 10/11/2021 10:54:52 AM(UTC)
What is the fatal attraction of animal crossing games? (C&C 3: Maps and World Builder)
by Guest 6/18/2021 1:58:44 AM(UTC)
What is a Ph.D. Term Paper? Let’s Find Out! (Generals: Maps and World Builder)
by Guest 6/1/2021 3:59:02 AM(UTC)
What is Better: Bitcoin or Dollars? (Off-Topic)
by Guest 5/16/2021 12:36:56 PM(UTC)
What is AliasConditionState in ini code (C&C Generals and Zero Hour)
by menard 1/2/2020 6:12:40 PM(UTC)
What is a Module? (Generals: Modding)
by Apocalypse232 9/20/2018 3:25:07 PM(UTC)
How to use and what is the use of map compression at (Zh wb) (Generals: Maps and World Builder)
by AdrianeMapMaker 6/29/2018 10:56:31 PM(UTC)
What is min and max (Generals: Maps and World Builder)
by AdrianeMapMaker 1/29/2018 8:13:46 PM(UTC)
What is pandora style jewellery (RA3: Modding)
by Savannahan 11/13/2015 10:21:25 PM(UTC)
What is so charming related to pandora necklaces? (Generals: Maps and World Builder)
by crump17 3/12/2014 2:25:10 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.