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

Next release features #240

Draft
wants to merge 76 commits into
base: master
Choose a base branch
from
Draft

Next release features #240

wants to merge 76 commits into from

Conversation

VladimirMakeev
Copy link
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
mss32/src/bindings/gameview.cpp Outdated Show resolved Hide resolved
mss32/src/bindings/gameview.cpp Outdated Show resolved Hide resolved
mss32/include/bindings/unitimplview.h Show resolved Hide resolved
mss32/src/bindings/scenarioview.cpp Show resolved Hide resolved
mss32/src/bindings/globalvariablesview.cpp Show resolved Hide resolved
mss32/src/battlemsgdatahooks.cpp Outdated Show resolved Hide resolved
mss32/src/unitutils.cpp Show resolved Hide resolved
mss32/src/midserverlogichooks.cpp Show resolved Hide resolved
mss32/include/midgardplan.h Show resolved Hide resolved
mss32/src/hooks.cpp Show resolved Hide resolved
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