For the Glory, Carnet n°7
Posté : jeu. oct. 15, 2009 10:09 am
Hello everybody, and welcome to our seventh development diary for ‘For the Glory’ (FTG).
Today's diary is a little short because we're rushing to meet deadlines, but there's still plenty to talk about. I'll start with a sampling of new event commands.
If you followed the suggestions thread in the AGCEEP forum, you already know about the discover command.Want to model the historic HRE better? Use the hre command.Code : Tout sélectionner
command = { type = discover which = <id or -1> } # -1 = random adjacent to a known province
Another closely related command is electors:Code : Tout sélectionner
command = { type = hre which = <id> value = yes/no }
Stuck on which goods to give a province, because it has changed over time? Use the goods command!Code : Tout sélectionner
command = { type = electors which = <tag> value = <number> } # leave "which" out for THIS
The annex command has the exact behavior of the old inherit command, and the inherit command no longer gives provinces to their controller. No more jumping on Aragon and waiting for the event...Code : Tout sélectionner
command = { type = goods which = <id> value = <goods> }
And now for a few triggers.
The other-country trigger allows you to check whether conditions are valid for a country other than the one receiving the event. For example, a Spanish event can check whether England is Protestant:Check whether this country is a vassal or an overlord:Code : Tout sélectionner
trigger = { ENG = { OR = { religion = protestant religion = reformed } } }
Code : Tout sélectionner
isvassal = yes/no
Check whether there is a trading post, a colony or a colonial city in a certain province:Code : Tout sélectionner
isoverlord = yes/no
Code : Tout sélectionner
tradingpost = <id>
Code : Tout sélectionner
colony = <id>
Note that because of the other-country trigger, all of the new province-based triggers check for the current country.Code : Tout sélectionner
colonialcity = <id>
There are many more triggers and commands, but they'll have to wait for later. Now it's time for some eye candy!
BeBro and thrashing mad have been hard at work making new sprites. Here's a sampling of their handiwork:
![]()
![]()
![]()
Birger has been busy, too, but his project will remain a secret for now. Stay tuned!