oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
How do I make the AI in an AOD map to start with some upgrades by default? Like scorpion rockets, ap rockets etc?
3D/2D Artist
Sponsor
klingondragon
10 years ago
if
true
then
grant upgrade '???' to player'???'
oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
ok but I can't find that entry anywhere
3D/2D Artist
klingondragon
10 years ago
oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
Pretty much, and yes, I've read and seen a almost every tutorial about it.. I understand that I can make the upgrade work by making the SkirmishGLA use the commandbuttons to purschase if the building that host the upgrade in present (spawned on the map)... I just wonder if there is another way.
3D/2D Artist
klingondragon
10 years ago
That way is terrible.
Find the grant upgrade script command.
I think its under player>upgrade but I'm at work so I cant check
oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
I see nothing with that entry, the only thing inside Player related to upgrades is the "Have AI Player ??? built this upgrade: Upgrade ???
3D/2D Artist
klingondragon
10 years ago
I use it quite a lot I'm certain it exists.
I'll check myself but I know its there somewhere.
klingondragon
10 years ago
Here:
Capture.PNG

Click to View Image22 View(s)


oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
That is for sciences, it doesn't work on upgrades.
3D/2D Artist
klingondragon
10 years ago
Sorry wrong one:
Capture.PNG

Click to View Image17 View(s)


oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
They still need the building for that, the only grantupgrade is through coding, and that will affect all players.. I'll stick with what I have
3D/2D Artist
klingondragon
10 years ago
you could (with some time and care) create a building in a map.ini which when built grants upgrades for their player and place it on the map under the control of the AI
Zatsupachi
10 years ago
Why don't you place the upgrading building off the play area and have the AI use 'Use Command Button Ability' to get the upgrades, just provide the money for the AI for it?

As in real map is actually larger than the play area.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
klingondragon
10 years ago
you can just have buil;dings off the map you dont have to put them on the map and decrease the play area

oliver
  • oliver
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
"I understand that I can make the upgrade work by making the SkirmishGLA use the commandbuttons to purschase if the building that host the upgrade in present (spawned on the map)", this was me, 4 days ago, and this is how it stands in the map, as I said.
3D/2D Artist
klingondragon
10 years ago
i still think (with time and patience) one could make a map.ini which has a unit which auto-upgrades