Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Next release features#240

Draft
VladimirMakeev wants to merge 76 commits intomasterfrom
battle-ai-lua
Draft

Next release features#240
VladimirMakeev wants to merge 76 commits intomasterfrom
battle-ai-lua

Conversation

@VladimirMakeev
Copy link
Copy Markdown
Owner

Battle action script replaces vanilla logic with a custom one. Script allows to choose action of a unit controlled by AI either it is a non-human player, Neutral race or 'fast battle' mode.
Scripts are assigned to AI attitude and specified in a new column ACTION_S in GAI.dbf.
While player AI attitudes can be specified in Scenario Editor capital menu, neutral player attitude now can be specified in scenario properties menu.

@VladimirMakeev VladimirMakeev changed the title Support custom battle action scripts for AI Next release features Apr 24, 2024
Comment thread mss32/src/bindings/gameview.cpp Outdated
Comment thread mss32/src/bindings/gameview.cpp Outdated
Comment thread mss32/include/bindings/unitimplview.h
Comment thread mss32/src/bindings/scenarioview.cpp
Comment thread mss32/src/bindings/globalvariablesview.cpp
Comment thread mss32/src/battlemsgdatahooks.cpp Outdated
Comment thread mss32/src/unitutils.cpp
Comment thread mss32/src/midserverlogichooks.cpp
Comment thread mss32/include/midgardplan.h
Comment thread mss32/src/hooks.cpp
Resource market is a new site object for stacks to visit
on a strategic map. Resource market allows player to exchange
gold and mana resources according to exchange rates. Rates
are defined using Lua scripts and can be specific for an object or
use default rules that are global for the whole game.
- support resource market in scenario generator
- support market in Lua api
- add scenario difficulty to Lua api
- update generator and Lua api documentation
@VladimirMakeev VladimirMakeev requested a review from UnveN June 6, 2024 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants