Jump to content


Photo

Hey just thought I should show up.


  • Please log in to reply
5 replies to this topic

#1 Vanguard

Vanguard

    Modding Guru

  • Hosted
  • 2,139 posts
  • Location:Texas
  • Projects:Project Raptor
  •  Stand Down Sir!

Posted 03 April 2004 - 03:27 PM

I do need to learn to script the building of the new units and buildings. Also how to make the AI use the CommandSet upgrades, and build units and upgrade on the other side of those, and still use the older units. And to use the A-10 strikes properly and not paradrop units to a location and bomb them with their A-10 special.

I have them using the A-10 strike on every level, but the do it right where their paradrop is.
Posted Image
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Posted Image

- Vanguard

#2 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 03 April 2004 - 08:21 PM

Alright, lets start with one.


CommandSet upgrades? Do you mean the upgrade that is used to switch between the normal and advanced buildings? That will not be needed since the AI does not actually "click" command buttons, it loads them all up into a heap and picks the one it needs.

Anyway, to make an AI use the command set upgrade, use this command:

[Player] Have AI Player build an upgrade

IF**
<set your conditions here, build cost or anything you want>

THEN**
Have AI (Player) build this (Upgrade)



What do you mean with the A10 paradrop thing?
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 04 April 2004 - 07:18 AM

i think he means that he wants the AI to use A-10 strike in all levels, and that they won't fire right after thry paradropped at the smal location LOL

#4 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 04 April 2004 - 04:28 PM

Ah, well, in that case you have to change the use of the paradrop.

Where do you want the USA to use the paradrop? For now, I will assume that you want them to paradrop right next to the enemy commandcenter (you can change that later on, of course)

This can be done by using the following command:

[Team] Use commandbutton ability -all- nearest enemy building kindof


**IF <normal special power IF's here, look at the original A10 use>

**THEN teamSkirmishUSA* use Command_Paradrop on nearest enemy building with Kind is COMMANDCENTER


*teamSkirmish<faction> is to be used when you want the AI to use a commandbutton ability - look at the strategy center scripts. teamSkirmish<faction> is a generic team for the faction.


This should be it... if this is too complicated I'll simplify it.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#5 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 09 April 2004 - 03:07 PM

they are paradropping near the supply center or the war factory, and they fire the A-10 strike right after the paradrop in the same exect location

#6 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 09 April 2004 - 03:17 PM

The AI fires the A-10 at that location because it is the most valuable at the moment - if you tell the AI to use the paradrop differently with the method described above you should be fine... (BTW, are you Vanguard, Guest?)
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users