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

Notification

Icon
Error

R.I.P Offline
#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
UTD^Force Offline
#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: 664
Jordan

Thanks: 353 times
Was thanked: 123 time(s) in 110 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



The lilacs where the robin built,
And where my brother set
The laburnum on his birthday,
The tree is living yet!
R.I.P Offline
#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!
UTD^Force Offline
#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: 664
Jordan

Thanks: 353 times
Was thanked: 123 time(s) in 110 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.


The lilacs where the robin built,
And where my brother set
The laburnum on his birthday,
The tree is living yet!
R.I.P Offline
#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!
adrianemapmaker Offline
#6 Posted : Monday, January 15, 2018 7:20:54 PM(UTC)
adrianemapmaker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 890
Philippines
Location: Norzagaray,Bulacan

Thanks: 302 times
Was thanked: 134 time(s) in 106 post(s)
-What skirmish ai are you building?
-can we see your script?
My Tutorials For Generals/ZH:Link

My Featured Map:Humanity Last Hope - Zombie Map Series :Link

Conflict of Interest , I Have Interest in Conflict.




R.I.P Offline
#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!
UTD^Force Offline
#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: 664
Jordan

Thanks: 353 times
Was thanked: 123 time(s) in 110 post(s)
Well, I suggest checking other mods' AI and how they got it to work.


The lilacs where the robin built,
And where my brother set
The laburnum on his birthday,
The tree is living yet!
R.I.P Offline
#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!
adrianemapmaker Offline
#10 Posted : Wednesday, January 17, 2018 3:53:03 AM(UTC)
adrianemapmaker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 890
Philippines
Location: Norzagaray,Bulacan

Thanks: 302 times
Was thanked: 134 time(s) in 106 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

My Tutorials For Generals/ZH:Link

My Featured Map:Humanity Last Hope - Zombie Map Series :Link

Conflict of Interest , I Have Interest in Conflict.




R.I.P Offline
#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!
adrianemapmaker Offline
#12 Posted : Wednesday, January 17, 2018 8:14:42 AM(UTC)
adrianemapmaker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 890
Philippines
Location: Norzagaray,Bulacan

Thanks: 302 times
Was thanked: 134 time(s) in 106 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.
My Tutorials For Generals/ZH:Link

My Featured Map:Humanity Last Hope - Zombie Map Series :Link

Conflict of Interest , I Have Interest in Conflict.




Users browsing this topic
Guest
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.

Powered by YAF 1.9.6.1 | YAF © 2003-2018, Yet Another Forum.NET
This page was generated in 1.576 seconds.