Perhaps some commands are processed through DLL then. I'll look in to it.Nielk1 wrote:All the LUA currently lets you do is use far more complex pass/fail triggers for an AIP step...
AIP Renumberer Script - BETA
Moderators: GSH, VSMIT, Red Devil, Commando
- AI_Unit
- Thunderbolt
- Posts: 186
- Joined: Fri Mar 30, 2012 11:53 pm
- Location: Mire, negotiating with Scions.
- Contact:
Re: AIP Renumberer Script - BETA
Re: AIP Renumberer Script - BETA
AIP files do most of the heavy lifting for things, Lua conditionals were added more recently. Conditionals is about all that AIP lua files can do for now. RD is probably one of the experts on AIP and AIP+Lua files now.
More advanced scripting of units to build, and in-map behavior would probably have to be done in DLL space, the way G66 does it. Once again, pick RD's brain.
-- GSH
More advanced scripting of units to build, and in-map behavior would probably have to be done in DLL space, the way G66 does it. Once again, pick RD's brain.
-- GSH
Re: AIP Renumberer Script - BETA
What would be nice would be extended LUA that gives mission commands to the AIP, but even doing the bindings for the missions is a slow process I haven't managed to finish.AI_Unit wrote:Perhaps some commands are processed through DLL then. I'll look in to it.Nielk1 wrote:All the LUA currently lets you do is use far more complex pass/fail triggers for an AIP step...
Honestly I find the entire AIP system the only part of the game that is still pretty much ancient and hard to work. I wonder if I can just replace it entirely with mission script. What can an AIP do that a mission DLL can't (admitting I might need to track every unit in the mission to do what the AIP does with attack matching)?
I've been working on a mission DLL that dynamically loads partial mission scripts based on LUA (had a few restarts, the latest skeletal lua binding source is on github) that might be the way I go for all AI Plans in the future.
Re: AIP Renumberer Script - BETA
Back in the day (1999), compilers to make DLLs were $$$. Giving everyone on the development team (or every possible modder) a compiler was $$$$. Lua was a barely-known research project and not even considered by anyone. That's why homegrown scripting languages like the AIP processor were done instead.
Nowadays, the 'Express' (i.e. freely downloadable and usable) versions of Visual Studio contain more power than the $$$ compilers in 1999. And many scriptable/moddable games use Lua.
-- GSH
Nowadays, the 'Express' (i.e. freely downloadable and usable) versions of Visual Studio contain more power than the $$$ compilers in 1999. And many scriptable/moddable games use Lua.
-- GSH
- AI_Unit
- Thunderbolt
- Posts: 186
- Joined: Fri Mar 30, 2012 11:53 pm
- Location: Mire, negotiating with Scions.
- Contact:
Re: AIP Renumberer Script - BETA
Speaking of the Good Old Days, can I make a suggestion? I looked at trying to get the Thug/Commander Mode working for Instant again. The Var's work fine, however, an AIP is not set for the Friendly Recycler when you pick Thug Mode. Any chance of adding those options to the Extra Options Window and applying it to the DLL?
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: AIP Renumberer Script - BETA
I have a working version of Thug/Commander mode.
It needs 1 DLL line fix to function again as it did in 1.2, but the AIP should really be re-written or it'll get stomptromped by the stock13 aips.
It needs 1 DLL line fix to function again as it did in 1.2, but the AIP should really be re-written or it'll get stomptromped by the stock13 aips.
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****
- AI_Unit
- Thunderbolt
- Posts: 186
- Joined: Fri Mar 30, 2012 11:53 pm
- Location: Mire, negotiating with Scions.
- Contact:
Re: AIP Renumberer Script - BETA
I can take care of AIP's, also be aware that Units are not given to the Player in 1.3 as they were in 1.2General BlackDragon wrote:I have a working version of Thug/Commander mode.
It needs 1 DLL line fix to function again as it did in 1.2, but the AIP should really be re-written or it'll get stomptromped by the stock13 aips.
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: AIP Renumberer Script - BETA
i have it working for G66 and it gives you units. playing on the isdf side in isdf vs. scion, the isdf always win, so i need to tweak them to get them to a stalemate.
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
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- AI_Unit
- Thunderbolt
- Posts: 186
- Joined: Fri Mar 30, 2012 11:53 pm
- Location: Mire, negotiating with Scions.
- Contact:
Re: AIP Renumberer Script - BETA
I'd recommend getting the Scion's to focus on the Defenses first. Might be ideal to help a stale mate.Red Devil wrote:i have it working for G66 and it gives you units. playing on the isdf side in isdf vs. scion, the isdf always win, so i need to tweak them to get them to a stalemate.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: AIP Renumberer Script - BETA
I suspect this is due to the inherent design of the races for the single player game. The extended range of plasma for example allows ISDF to destroy spires almost without loss. The ISDF are designed to be the easier race, and the Scion's only become more powerful once a player is in control and knows how to use them, it is an asymmetric balance.i have it working for G66 and it gives you units. playing on the isdf side in isdf vs. scion, the isdf always win, so i need to tweak them to get them to a stalemate.
I would think it best to leave it that way...then it will be up to the Player Thug to make the difference.

The Silence continues. The War Of Lies has no end.
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: AIP Renumberer Script - BETA
you know, that is a very good point. my main focus was in balancing the AIP's, but having the human in there does help. i'll weaken the isdf a tad to compensate.
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
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- AI_Unit
- Thunderbolt
- Posts: 186
- Joined: Fri Mar 30, 2012 11:53 pm
- Location: Mire, negotiating with Scions.
- Contact:
Re: AIP Renumberer Script - BETA
Might be useful balancing the engage range between the Assault tanks and Titan. I think the engagement range for the Ass Tank is something like 360.MrTwosheds wrote:I suspect this is due to the inherent design of the races for the single player game. The extended range of plasma for example allows ISDF to destroy spires almost without loss. The ISDF are designed to be the easier race, and the Scion's only become more powerful once a player is in control and knows how to use them, it is an asymmetric balance.i have it working for G66 and it gives you units. playing on the isdf side in isdf vs. scion, the isdf always win, so i need to tweak them to get them to a stalemate.
I would think it best to leave it that way...then it will be up to the Player Thug to make the difference.
Re: AIP Renumberer Script - BETA
260, with a max range on the weapon of 270. It is one of the better balanced units in the game when it comes to engage range. I'm not sure, but I believe the Titan is set pretty nice as well. They are not the same unit and cant be balance vs each other. The Titan costs 20 more scrap and is the top-tier unit while the Atank still has a bigger brother.