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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline R.I.P  
#1 Posted : Friday, January 12, 2018 9:40:59 AM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
Hi,I Was working on my Mod ;
and I finished it a couple of Months ago but I want to work on the AI
Because the new units and buildings I added to the game, the AI can't build them !
So I need someone to give me a link to a tutorial (I searched a lot but couldn't find any good ones)
Or someone explain it to me Because I need it for this mod and my other mods in the future
(I want to know how to make the AI build the new buildings and units.)
Thanks.
It's me your friendly modder ZOMBATAR!
Sponsor
Offline UTD^Force  
#2 Posted : Sunday, January 14, 2018 6:25:16 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)
Did you change the skirmish scripts?
It will be in:
Zero Hour's Folder\Data\Scripts > SkirmishScripts.scb
I think you'll have to import them to worldbuilder and change the scripts so the AI builds your new units.
Or you can just change the names of your tanks to the names of the original tanks. (I'm not sure about this one, and maybe you'll have to remove the INIZH.big file).
Insted of:
Code:
Object AmericaTankGaurdianTank

You name the tank:
Code:
Object AmericaTankPaladin

Give it a shot and come back!Smile

Edited by user Sunday, January 14, 2018 6:28:01 AM(UTC)  | Reason: Not specified

Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline R.I.P  
#3 Posted : Sunday, January 14, 2018 9:01:45 AM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
Actually I used the Method of using the original name with some units, but It's not the best Method and it's a "Bug\Glitch" Trap, and actually I opened the SkirmishScripts.scb and played around with it but still can't get the hang of it and still can't make the AI build the New buildings that's added to the game so I need to know how to make the AI build the new buildings at least, and how to Add my units or buildings to AIData.ini, etc.
It's me your friendly modder ZOMBATAR!
Offline UTD^Force  
#4 Posted : Sunday, January 14, 2018 11:10:26 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)
Have you tried changing AIData.ini and the skirmish scripts?


This is all of USA's Faction build list for structures:

If you did try that, wait for someone more experienced to come here.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline R.I.P  
#5 Posted : Monday, January 15, 2018 6:01:14 PM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
Tried but no Luck so far.
It's me your friendly modder ZOMBATAR!
Offline AdrianeMapMaker  
#6 Posted : Monday, January 15, 2018 7:20:54 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 skirmish ai are you building?
-can we see your script?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Offline R.I.P  
#7 Posted : Monday, January 15, 2018 10:27:16 PM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
Originally Posted by: adrianemapmaker Go to Quoted Post
-What skirmish ai are you building?
-can we see your script?


I'm not talking about a map AI or map scripts
I'm talking about factions AI.
It's me your friendly modder ZOMBATAR!
Offline UTD^Force  
#8 Posted : Tuesday, January 16, 2018 1:06:59 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)
Well, I suggest checking other mods' AI and how they got it to work.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline R.I.P  
#9 Posted : Tuesday, January 16, 2018 9:41:26 AM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
I just want someone how did a mod with AI to tell me how to do it step by step.
It's me your friendly modder ZOMBATAR!
Offline AdrianeMapMaker  
#10 Posted : Wednesday, January 17, 2018 3:53:03 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)
What is you really want ? to have an ai using your mod?

Is the Problem is ?
1.The AI wont Build Your Buildings that are just edited in code
2.The ai wont build the New Buildings
3.The AI wont Build Your Units that are just edited in code
4.The Ai wont Build The New Units

Edited by user Wednesday, January 17, 2018 3:57:05 AM(UTC)  | Reason: Not specified

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

UserPostedImage





Offline R.I.P  
#11 Posted : Wednesday, January 17, 2018 5:15:46 AM(UTC)
R.I.P
Captain
Joined: 6/20/2015(UTC)
Posts: 77

Thanks: 18 times
Was thanked: 16 time(s) in 16 post(s)
2 and 4
the Buildings and units with the same names works, but I want the AI to Build the new units and buildings with the new names.
(I don't know anything about AI scripting other than importing the SkirmishScripts.scp file into WB)
It's me your friendly modder ZOMBATAR!
Offline AdrianeMapMaker  
#12 Posted : Wednesday, January 17, 2018 8:14:42 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)
thats the real problem -- you cant do a script

-- as a 16 years old , i manage to deal with those scripting problem, by observing them(importing mission scripts).
You can know scripting too -- those in worldbuilder are simple english (and sometimes they had comments to help you)

try to run before you walk.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Users browsing this topic
Guest
Similar Topics
AI building teams in skirmish (Generals: Maps and World Builder)
by 420_DankMeister 11/12/2016 4:38:56 PM(UTC)
AI Building New Structures ? (C&C 3: Modding)
by adamstrange 6/10/2013 1:34:42 PM(UTC)
Can i make AI buildings create units? (Generals: Maps and World Builder)
by SUPER-G 6/21/2012 8:40:12 AM(UTC)
AI building naval? (The Red Alert)
by incia 3/17/2012 12:57:29 PM(UTC)
Worldbuilder, AI buildings (Technical Questions and Support)
by hl_world 4/18/2008 3:07:20 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.