logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 28 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Red Alert 2 & Yuri's Revenge Editing » Here's a challenge: answer my simple AI question.

Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 07-18-2004, 04:24 AM   #21 (permalink)
Senior Member
 
Join Date: Sep 2003
Location: Tahiti
Posts: 621
Default

Just in case :
Quote:
Originally Posted by DZ's encyclopaedia
NOTE: the use of '-G' as a suffix to the numbers throughout this file indicates that this is a 'global' value, meaning it will be used throughout the game regardless of any other conditions placed upon its use. In this case, duplicate use of the same number for the same purpose (for example on two different ScriptTypes or TaskForces) either in this file or within a map file will lead to an Internal Error
Infraid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-20-2004, 02:30 AM   #22 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Land of the babes
Posts: 1,112
Send a message via Yahoo to Whiteboy
Default

So, if I specify different things under the same taskforce or scripttype numbers, I could get an error. Because the AI will "see" two numbers that are the same, and will not know which one to use. Is this correct? BTW Cannis, I posted a topic on this board for you, have you read it yet?
Whiteboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-20-2004, 04:08 AM   #23 (permalink)
Senior Member
 
Join Date: Sep 2003
Location: Tahiti
Posts: 621
Default

Sorry Whiteboy, I don't really get it.
What do you mean by "different things under the same TF or Script numbers" ?

In an attempt : roughly speaking, you must NOT have 2 [SECTIONS] called the same. Obviously it gets even worse if it's about sections of the same "type"...
Infraid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-20-2004, 10:06 AM   #24 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Land of the babes
Posts: 1,112
Send a message via Yahoo to Whiteboy
Default

Yes, I was meaning that I think. So I would basically never have two things the same. Which means I have to be careful when copy-pasting the already-implemented triggers to create my own, right? Or is it better to just create my own (no copying) all the time?
Whiteboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-20-2004, 01:20 PM   #25 (permalink)
Senior Member
 
Join Date: Sep 2003
Location: Tahiti
Posts: 621
Default

That really depends on how you like to work.
Sometimes I create new ones, sometimes I use already existing ones. In other words, sometimes I'm lazy, sometimes not...

BTW, some people says that when listing your TF/S/TT, ie :
Code:
83=0CEE0527-G
84=0CA46260-G
85=CC000000-G
86=CC000100-G
87=CC000200-G
you should never have "gaps" like :
Code:
83=0CEE0527-G
84=0CA46260-G
; gaps... 85 -> 99
100=CC000000-G
101=CC000100-G
102=CC000200-G
I didn't heard of that at first, so I'm still having the 2nd example in my file.. Still, I haven't really noticed an error or any kind of bug so far....
Infraid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2004, 01:50 AM   #26 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Land of the babes
Posts: 1,112
Send a message via Yahoo to Whiteboy
Default

OK. For the hex numbers in the code, e.g.

83=0CEE0527-G
84=0CA46260-G
85=CC000000-G
86=CC000100-G
87=CC000200-G

how do I get those numbers? Do I just make them up, using only hex characters? Or do I have to have a certain number that comes after the last.

And am I right in saying that I cannot have two entries where the hex number is the same for both? Cause that means that if you have to "make up" the numbers, I would have to check that the number I think of isn't already in the list...
Whiteboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2004, 02:07 AM   #27 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

You make them up. And yes, check for duplicates. Or better, enumerate your numbers using a notation system, like ABCCXXXX-G, where A is number type (taskforce=0,scripttype=1, ...), B - side/country, C - kind (base defense=0, building capture=1, attack=2, navy=3,..) XXXX - numbers from 0000 to 9999. That would help a lot.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2004, 05:35 AM   #28 (permalink)
Senior Member
 
AlliedG's Avatar
 
Join Date: Sep 2003
Location: U.K.
Posts: 726
Default

altering the rulesmd file will also improve the frequency and defense of the [AI] decoder has a very good tutorial for it.

As for A.I. the deezire tutorial should be enough although I admit I still have trouble with "pool teams" but my results in A.I. have been good e.g. engineers taking back capture tech buildings or building mcv's when con yard destroyed and deploying them or watching sides build new airforce units.

I would also suggest looking at the old TS A.I. file, with a little bit of modification, those old A.I. [ScriptTypes] can prove very useful.
AlliedG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2004, 06:56 AM   #29 (permalink)
Member
 
Join Date: Aug 2004
Location: Italy
Posts: 63
Send a message via AIM to DvD-IT
Default

Warning: Unknown(/home/cannis/public_html/dcoder/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/home/cannis/public_html/dcoder/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

dCoder, I'm trying to download your AI editor but this happens when I open your page. And I tried yesterday too. Is this problem on my IE? - Internet Explorer, not Internal Error -
DvD-IT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2004, 08:13 AM   #30 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

sigh... Cannis is away, and I can't fix that...

http://www.cannis.net/forum/index.php?showtopic=4490
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Question for those who can answer it...about co-op Sexcalibur Generals & Zero Hour Editing 3 04-05-2005 05:11 PM
one easy to answer question if you know the location of.... TankMaster Red Alert 2 & Yuri's Revenge Editing 3 12-06-2003 02:18 PM
Just a simple question Sydro Red Alert 2 & Yuri's Revenge Editing 19 03-11-2003 02:55 PM
Question I Can't Find Answer Too. Crogs Red Alert 2 & Yuri's Revenge Editing 15 02-25-2003 10:30 PM
Please answer, two simple questions ice Red Alert 2 & Yuri's Revenge Editing 18 02-07-2003 09:00 PM


All times are GMT -4. The time now is 11:19 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.