Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

tanksarevictory Offline
#1 Posted : Friday, May 17, 2019 7:50:27 PM(UTC)
tanksarevictory
Private
Joined: 12/1/2015(UTC)
Posts: 20
New Zealand
Location: Auckland

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
I would like the AI to keep the buildings it captures (particularly superweapons) but the AI always seems to sell them every time they capture them. Is this hard coded into the game or can I change this from editing the scripts?
Sponsor
SkyMix_RMT Offline
#2 Posted : Saturday, May 18, 2019 6:47:33 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 363
Portugal

Thanks: 79 times
Was thanked: 120 time(s) in 87 post(s)
Originally Posted by: tanksarevictory Go to Quoted Post
Is this hard coded into the game?


yep.
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
tanksarevictory Offline
#3 Posted : Sunday, May 19, 2019 10:17:24 PM(UTC)
tanksarevictory
Private
Joined: 12/1/2015(UTC)
Posts: 20
New Zealand
Location: Auckland

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Oh ok what a shame because it would be nice to change that. Is it also possible to make the AI 'force attack' something like the ground or maybe its own units?
SkyMix_RMT Offline
#4 Posted : Monday, May 20, 2019 2:40:37 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 363
Portugal

Thanks: 79 times
Was thanked: 120 time(s) in 87 post(s)
You can only tell AI to attack objects, so if you want them to attack at a waypoint spawn a named invisible object at that location and make it fire agaisnt that.
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
i^love^mixery Offline
#5 Posted : Tuesday, June 11, 2019 5:21:59 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 757

Thanks: 7 times
Was thanked: 188 time(s) in 142 post(s)
Actually, it is possible to make the AI force fire. I just found out a few days ago.

You have to add this command button:

[???] Command button: 'Command_BattleshipFire' is added to all objects of type 'AmericaVehicleChinook' in slot number 11 (1-12).

After adding the command button (to any object, really) you can "use command button on object" this command button to force fire stuff.
 1 user thanked i^love^mixery for this useful post.
UTD^Force on 6/12/2019(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.6.1 | YAF © 2003-2019, Yet Another Forum.NET
This page was generated in 2.218 seconds.