Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

WIP: A Guide to Lua Modding

$
0
0
Posted here so you all can tell me what you want me to cover.

The end result will be a completed working mod called "Upgrade Reminder" that will send a notification when a unit can be upgraded (including resource checks). The reminder will only fire once per unit, per upgrade chance.

Planned so far:
1) 'hello world' example (Whoward has one but I should start here anyway)
2) Capturing events
3) Doing something every turn
4) Gathering information on units
5) Sending notifications as needed (one notice, with details in tooltip, not multiple notices. e.g. "You have units that can be upgraded", tooltip is a list of unit types).
6) Clicking on the notice will open the unit military panel.
7) Final step adding a notice to inform you that a unit has gone obsolete. Works same as upgrade notice.

Considering but not promised:
Modified Unit Military Panel to allow for mass upgrades.
Auto detect possible obsolete units being built and switch them to the newer unit.
A wonder that allows (optional) auto-upgrading of units. [The optional being; don't build the wonder d'oh]



I'm inpatient and will just start coding soon, so get your requests in fast :)

Viewing all articles
Browse latest Browse all 12856

Trending Articles