AI Commander

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
k00kev2
Drunken Constructor
Posts: 37
Joined: Wed Feb 20, 2013 3:50 am

AI Commander

Post by k00kev2 »

Whatever happened to the option of -in Instant Action- being a pilot/being commanded by an AI?
That was back when Constructors would build Assault Tanks...
I assume there were script conflicts, and it was removed, but I'm curious nonetheless.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AI Commander

Post by General BlackDragon »

It can be fixed with 2 lines of code in the Instant Action DLL:

Here, unzip This onto your BZ2 folder.

Note: Only works on 1.3 PB6+.

DLL by me, Buttons added by GreenGuy, with guidance from me.


As to why it was broken, Grouping changed in 1.3, so you needed to add SetBestGroup() to the thug code. Also, wingman class was no longer grabbed by CLASS_CRAFT setting, for some reason. Added CLASS_WINGMAN to the list of classes to switch to the player's team.

In the DLL source InstantMission.cpp, line 478, ish.
Battlezone Classic Public Forums
*****General BlackDragon*****
k00kev2
Drunken Constructor
Posts: 37
Joined: Wed Feb 20, 2013 3:50 am

Re: AI Commander

Post by k00kev2 »

Hmm. I thank you. I will try this out right now.

Edit:
Just ran one game. Iceberg, ISDF, pilot. I'm using version 1.3.6.4k
My Recycler just sat there and did nothing. I don't know
if you've tested it or not, but it's not working for me.

Does the Recycler variant have something to do with it?
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AI Commander

Post by Red Devil »

i activated the pilot mode in G66 a few months ago, but haven't posted it yet. interesting to just sit back and watch things unfold, plus it's good for balancing AIP's.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AI Commander

Post by General BlackDragon »

The Thug AIP's could PROBABLY use a complete re-write...
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: AI Commander

Post by MrTwosheds »

Lol, I used to like that Pilot mode, a long time ago. Its like low responsibility mode...A new aip and an angry AI Commander would be cool :) One that just builds you empty scouts if you lose too many tanks :lol:
The Silence continues. The War Of Lies has no end.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: AI Commander

Post by Red Devil »

:D

i updated the AIP's, too

Image
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
Post Reply