Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Mar 29, 2024 12:18 pm
All times are UTC + 0
AI questions
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [26 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Thu Jan 30, 2014 1:01 am    Post subject:  AI questions Reply with quote  Mark this post and the followings unread

How do I get the AI to build units i added in?

for instance I added the Helghast Light Tank to Germany and removed the Grizzly from them, the AI will not build any new Light tanks, but will build other's like the Battlefortress.

Back to top
View user's profile Send private message
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Thu Jan 30, 2014 2:01 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Thu Jan 30, 2014 2:55 am    Post subject: Reply with quote  Mark this post and the followings unread

I would like an AI editor but none of the ones I find actually work.

(I am on windoews 7)

_________________

Back to top
View user's profile Send private message Visit poster's website
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Jan 30, 2014 12:30 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Fri Jan 31, 2014 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

[0A6E73DC-G]
Name=10 Panzer IIs, 2 Tsar Tanks
0=4,HGHTank
0=1,Tsar3
Group=-1


the Germans build one Tsar Tank, but no Panzer II's, or else it's the other way around at times, one Panzer II but no Tsar Tanks.


what am I doing wrong?

Back to top
View user's profile Send private message
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Fri Jan 31, 2014 5:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

the dcoder AI Morphed works on Windows Vista & Windows 7

_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Fri Jan 31, 2014 6:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

I understand using notepad better than that editor, what am I doing wrong though?

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Fri Jan 31, 2014 7:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

GeneralSturnn wrote:
[0A6E73DC-G]
Name=10 Panzer IIs, 2 Tsar Tanks
0=4,HGHTank
0=1,Tsar3
Group=-1

That 0 should be a 1. Now it overwrites the first entry with the second. Funny, as I always assumed the game would crash if it found this.

Back to top
View user's profile Send private message Send e-mail Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Fri Jan 31, 2014 7:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Okay, now, how do I have it build 10 Panzer II's with it now? as I've mentioned I can get it to build one of the other, not both...

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Fri Jan 31, 2014 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

GeneralSturnn wrote:
[0A6E73DC-G]
Name=10 Panzer IIs, 2 Tsar Tanks
0=4,HGHTank
0=1,Tsar3
Group=-1

Replace the 4 with a 10? It's not really rocket science you know Confused This, while a bit outdated, should help.

Back to top
View user's profile Send private message Send e-mail Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Fri Jan 31, 2014 7:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dutchygamer wrote:
GeneralSturnn wrote:
[0A6E73DC-G]
Name=10 Panzer IIs, 2 Tsar Tanks
0=4,HGHTank
0=1,Tsar3
Group=-1

Replace the 4 with a 10? It's not really rocket science you know Confused This, while a bit outdated, should help.




Well if you read the guide I used, it didn't exactly explain what's what with any sort of example, and the examples in the actual aimd.ini weren't all that good, I just did a little thing guessed as best I could and hoped for the best.

Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Fri Jan 31, 2014 9:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Remember you can only have six different (0-5) types of units in a single taskforce.
So the number before th e= can only be 0, 1, 2, 3, 4 or 5.

If you have 4 units on index 0, 4, 5, 7, only 0, 4, 5 are read.
The number after the = is the amount of the specific unit.
The text after that number refers to unit declaration in rules(md). Note that it cannot be a building.
I could help you out more if you'd like, hit me up with a PM.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Sat Feb 01, 2014 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

since no examples can be shown?

one example would go a long way.


this still makes no sense...

Back to top
View user's profile Send private message
Droke
Scorpion Sniper


Joined: 18 May 2004
Location: CA, USA

PostPosted: Sat Feb 01, 2014 8:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Have you tried looking at the examples Westwood left in ai.ini?

_________________
"It's got that Droke style to it!"

Back to top
View user's profile Send private message
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Sat Feb 01, 2014 10:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

GeneralSturnn wrote:
since no examples can be shown?

one example would go a long way.


this still makes no sense...

Did you create a [TeamType] that links a usable script and your new task force, then did you fire it with an AI Trigger?

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Sun Feb 02, 2014 4:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Droke wrote:
Have you tried looking at the examples Westwood left in ai.ini?


Since I do not understand anything but the names, and the guide I was pointed to didin't overly explain what did what, or what went where... the "examples" in the Aimd.ini make no sense.


an example is only an example if it explains itself in every way possible, and from that is how people learn.

Quote:
FurryQueen


huh? all I know I was able to get one Tsar tank, OR one Panzer II...

Back to top
View user's profile Send private message
Droke
Scorpion Sniper


Joined: 18 May 2004
Location: CA, USA

PostPosted: Sun Feb 02, 2014 9:27 am    Post subject: Reply with quote  Mark this post and the followings unread

You mean the guide Nikademis linked? Thats pretty much what people around here have learned to code AI from. Your not going to find a step by step youtube video to hold your hand through it. :/

Also, I'd recommend looking up the definition of 'example'. Your using it incorrectly.

As to your task force:

[0A6E73DC-G]
Name=10 Panzer IIs, 2 Tsar Tanks
X=Y,Z
X=Y,Z
Group=-1

X=Line number. First line is 0, next is 1, next is 2 and so on. It caps out at 5.
Y=Number of that unit to build.
Z=What unit to build.

So, 0=4,HGHTank would make the AI build 4 HGHTanks. 0=10,GHGTank would make it build ten of them.

The next line would start with a 1, so 1=1,Tsar3. Leaving the first number as a 0 is why you only get one unit type build. Each line needs a higher number.

_________________
"It's got that Droke style to it!"

Back to top
View user's profile Send private message
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Sun Feb 02, 2014 8:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Droke wrote:
You mean the guide Nikademis linked? Thats pretty much what people around here have learned to code AI from. Your not going to find a step by step youtube video to hold your hand through it. :/

Because there really isn't a guide. Nikademis' guide only goes so far. Besides, the AI isn't even that difficult.

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Fri May 02, 2014 11:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

I know this is quite late(but I'd like to not open another topic about this) I gave made the Task Force and such, and here's what I see going on:

The Germans are building Reich Gunships and Panzer III's and Scout Panzer's but I did NOT put any of those units on the task forces, why are they building these units? I essentially told them to build Stormtroopers, Tsar tanks and Panzer II's.

Back to top
View user's profile Send private message
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Sun May 04, 2014 2:26 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Sun May 04, 2014 4:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Where at?... I looked at bottom, I saw some links, clicked those, and they were gibberish, HOW am I supposed to make ANYTHING out of this??


Code:
080D6920-G=M_Nod tib. refinery attack 2,073AEA00-G,<all>,5,0,PROC,
0300000003000000000000000000000000000000000000000000000000000000
,30.000000,10.000000,70.000000,1,0,2,0,04173E00-G,0,1,0


I checked my aimd.ini, and saw it there also, but the explanation provided on that page makes no sense, guess the AI is quite complicated to work with then? thought it would have been so simple...

infact, I've noticed somehow, the enemy building Soviet Battleships AND USING them to great effect against me(despite the fact it's for Soviets only!)


not to mention, you didn't really answer my question(maybe you don't know either?)

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun May 04, 2014 7:13 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
GeneralSturnn
Soldier


Joined: 07 Nov 2012

PostPosted: Sun May 04, 2014 3:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh, well I thought Ai.ini was purely for RA2 and aimd.ini was for Yuri's Revenge(like the rulesmd.ini and rules.ini)


Mistakes on Deezire not working, and for the INI bible... dead god do people not know how to write?! I can't even read it!

what format was he using? apparently not Wordpad(and I'm assuming notepad? if so, all I can do is shake my head and wonder why no one uses Wordpad...)

Back to top
View user's profile Send private message
m7
Commander


Joined: 17 Apr 2009

PostPosted: Sun May 04, 2014 4:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

The .doc format used for the Deezire INI guides is the one used in old versions of Microsoft Office, not the limited Wordpad .doc format. If you are having issues getting it to display, download the free Microsoft Office File Viewer.

Back to top
View user's profile Send private message
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Sat May 10, 2014 9:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Apache OpenOffice will open it as well. And it should open fine in WordPad too.

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat May 10, 2014 11:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

>suggesting AOO... you must be joking there!

You should have suggested LibreOffice. Or Google Docs. Or Skydrive.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [26 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1821s ][ Queries: 11 (0.0081s) ][ Debug on ]