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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 33 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


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 08-30-2004, 07:39 PM   #1 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default -= Need Help with AITriggerTypes =-

As some of you may already guessed, I'm trying to create a new improved AI for YR. I've read all of the tutorials concerning AI, but I'm still confused on certain points. I'm having much trouble understanding the structure of AITriggerTypes defined in AIMD.ini. So I would appreciate if someone could answer the following questions.

1. One of the parameters has a structure :
AABBCCDD-EEFFGGHH-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXX, as explained in the documentation. Could someone clarify what this is used for?

2. What is the difference between Weighted, minimum and maximum probability defined in each TriggerType?

3. Are Support TeamTypes actually used by AI? I've never noticed this.

4. I've noticed that not all TeamTypes are used by TriggerTypes. Does that mean that certain Teams are never triggered/used ?

TIA
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-31-2004, 12:37 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

1. AABBCCDD is a conditional number, EEFFGGHH is a comparison value, XXX... is always zeroes. AABBCCDD is measured in hex. EEFFGGHH can have one of these values:
Quote:
Originally Posted by DeeZire
05000000 = fire the trigger if not equal to
04000000 = fire the trigger if greater than
03000000 = fire the trigger if greater than or equal to
02000000 = fire the trigger if equal to
01000000 = fire the trigger if less than or equal to
00000000 = fire the trigger if less than
2. Weighted probability - the trigger initially has this probability, everytime it fails to carry out it's script, the probability is reduced. Everytime it succeeds in carrying out it's script, it's probability is increased. Once the probability hits minimum or maximum, it gets disabled. If a trigger has all three probabilities the same, that most probably means it can never complete it's script (attack infantry, repeat until success, attack anything - obviously the only way to complete this script is to defeat the player completely, when you don't have to worry about getting disabled anymore.

3. No idea.

4. They might be used in maps.

Do you already have some version of my AI Editor (points at sig)? It can help you a lot.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-31-2004, 01:23 PM   #3 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Quote:
Originally Posted by DeeZire
05000000 = fire the trigger if not equal to
04000000 = fire the trigger if greater than
03000000 = fire the trigger if greater than or equal to
02000000 = fire the trigger if equal to
01000000 = fire the trigger if less than or equal to
00000000 = fire the trigger if less than
Fire the trigger if not equal to ... WHAT ?
What exactly are we comparing here ??
You said that EEFFGGHH is a comparison value, so what is being compared? You basically said what's already in documentation. But I just don't get it. Can you give an example or something? And what do you mean by conditional number?

EDIT: nm. I figured it out. So simple when you use FA2. lol
Mercury 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
Need help with AITriggerTypes / firing through credits Renegade Red Alert 2 & Yuri's Revenge Editing 5 04-08-2003 11:59 AM


All times are GMT -4. The time now is 09:48 PM.


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