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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline tanksarevictory  
#1 Posted : Friday, May 17, 2019 7:50:27 PM(UTC)
tanksarevictory
Private
Joined: 12/1/2015(UTC)
Posts: 29
New Zealand
Location: Auckland

Thanks: 3 times
Was thanked: 4 time(s) in 3 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
Offline SkyMix_RMT  
#2 Posted : Saturday, May 18, 2019 6:47:33 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 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
Offline tanksarevictory  
#3 Posted : Sunday, May 19, 2019 10:17:24 PM(UTC)
tanksarevictory
Private
Joined: 12/1/2015(UTC)
Posts: 29
New Zealand
Location: Auckland

Thanks: 3 times
Was thanked: 4 time(s) in 3 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?
Offline SkyMix_RMT  
#4 Posted : Monday, May 20, 2019 2:40:37 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 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
Offline i^love^mixery  
#5 Posted : Tuesday, June 11, 2019 5:21:59 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 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.
thanks 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.