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

Forum Info
Forum Members: 18,576
Total Threads: 8,657
Posts: 94,432

Administrators:
DeeZire, Redemption

There are currently 52 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 04-21-2003, 01:01 PM   #1 (permalink)
Member
 
Join Date: Mar 2003
Location: In Memoria. Well, the outskirts...
Posts: 52
Default AI

Can somebody talk me through how to get the AI to employ new user created tactics such as sending newly created units towards a player. I tried the DeeZire encyclopaedia, but that didn't really help. I don't just mean editing the old AI, I mean adding new taskforces and stuff.
Nokunbash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-21-2003, 01:54 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: BFE
Posts: 320
Send a message via ICQ to Master_Fenring Send a message via AIM to Master_Fenring Send a message via MSN to Master_Fenring
Default

Use DeeZire's editing guide. That's all I can tell you. Also, look in the [General] section of the rules file. There is a ton of AI stuff in there as well.
Master_Fenring is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-22-2003, 04:17 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Between the heaven and hell
Posts: 630
Send a message via MSN to Psycho
Default


Well, i faced that problem when i started building AI scripting first. I tried with Dz's Tutorial. I have two sets of tutorials, the latest and the tutorial just b4 the latest one. These two tutorials defined AITriggerTypes into two defferent ways. The old tutorial showed the method used at yuri ai currently while the latest tutorial shows the method used at FA2. I was confused with the two methods and at last found my own way. First i copied a code set for a certain teamtype (task forces, Team Types, AITriggerTypes), leaving the script type same (i choose a team type which script type was suitable for me). Now i chaged the task force and all the header Hex id's for the script, then paste them all inside the ai(md).ini file. Then i couldn't get that script working. At that time i copied one of the AiTriggerType's Hex id from Dz mod (that id doesn't exist at the original ai(md).ini file) and replace my own AiTriggerType's Hex id with that. Now that works ! Later i made my own script for that task force and i get it working fully
Psycho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-22-2003, 10:07 AM   #4 (permalink)
Member
 
Join Date: Mar 2003
Location: In Memoria. Well, the outskirts...
Posts: 52
Default

hmm interesting, thanks!
Nokunbash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-19-2003, 01:33 PM   #5 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Argentina, Latin America
Posts: 166
Send a message via ICQ to JhonnyRey
Default

I dont understand how the trigger weighting parameters and the "succes" scripts works... i readed the guide, but the information is different to the FinalAlert one... does someone know something about those?
JhonnyRey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-20-2003, 01:14 PM   #6 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Argentina
Posts: 608
Send a message via MSN to ArgCmdr
Default

Success script action, aka repeat until success, will make units in the team repeat their last scripted action until theyve fully accomplished it. Ie:
Attack Infantry
Success

will give as result the taskforce attacking enemy infantry untill all enemy infantry is erradicated from the map. (ThreatValues exceptions)

Trigger weighting, probabilities of the AITrigger being used in the game, (10, 20, 40, 50, 70, 500, 5000) + a .000000 in the end

First one is percentage probability itll be weighted, second is minimum chance, third is maximum chance (both last after theyve ben weighted)
ArgCmdr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-21-2003, 07:04 PM   #7 (permalink)
Junior Member
 
Join Date: Dec 2002
Location: PEI, Canada
Posts: 26
Send a message via ICQ to AJBxxx Send a message via AIM to AJBxxx Send a message via MSN to AJBxxx Send a message via Yahoo to AJBxxx
Default

I am an experienced AI programmer. I am actually currently programming AI for a mod me and my friend Sydro are making. Some of you may remember us posting here about 4 or 5 months ago about it. Yep, we're still working on version 1 and it's going to be really big, lol. Anyways, my msn and email is shortman_28@hotmail.com. If you want me to take a look at ur AI file and see what's wrong or if u have any questions to ask me feel free to ask. If you what the AI to use newly created units, get the units code name and just create any type of attack you want with it. Ex :

[BTNK]
UIName:BudTank
Name= Bud Spawn Tank
Strength=500
Speed=10
Primary=BudSpawn
ElitePrimary=BudSpawnE
sight=8
Etc.

The code name for this unit is BTNK. If you don't understand how to make an attack or something add me on ur msn or email me and i'll try to answer your question.
AJBxxx 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



All times are GMT -4. The time now is 10:58 PM.


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