Page 1 sur 1

For the Glory, Carnet n°7

Posté : jeu. oct. 15, 2009 10:09 am
par Emp_Palpatine
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.

Code : Tout sélectionner

command = { type = discover which = <id or -1> } # -1 = random adjacent to a known province
Want to model the historic HRE better? Use the hre command.

Code : Tout sélectionner

command = { type = hre which = <id> value = yes/no }
Another closely related command is electors:

Code : Tout sélectionner

command = { type = electors which = <tag> value = <number> } # leave "which" out for THIS
Stuck on which goods to give a province, because it has changed over time? Use the goods command!

Code : Tout sélectionner

command = { type = goods which = <id> value = <goods> }
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...

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:

Code : Tout sélectionner

trigger = {
    ENG = {
        OR = {
            religion = protestant
            religion = reformed
        }
    }
}
Check whether this country is a vassal or an overlord:

Code : Tout sélectionner

isvassal = yes/no

Code : Tout sélectionner

isoverlord = yes/no
Check whether there is a trading post, a colony or a colonial city in a certain province:

Code : Tout sélectionner

tradingpost = <id>

Code : Tout sélectionner

colony = <id>

Code : Tout sélectionner

colonialcity = <id>
Note that because of the other-country trigger, all of the new province-based triggers check for the current country.

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:

Image

Image Image Image

Image

Image Image

Image

Image


Birger has been busy, too, but his project will remain a secret for now. Stay tuned!

Re: For the Glory, Carnet n°7

Posté : jeu. oct. 15, 2009 10:23 am
par jagermeister
Pas mal du tout ces sprites. :shock:

Re: For the Glory, Carnet n°7

Posté : jeu. oct. 15, 2009 10:46 am
par efelle
Celui ci c'est bien sur EU2 ?

Re: For the Glory, Carnet n°7

Posté : jeu. oct. 15, 2009 10:48 am
par Emp_Palpatine
Oui, c'est le projet basé sur le code source de EU2.

Re: For the Glory, Carnet n°7

Posté : jeu. oct. 15, 2009 11:56 am
par Urial
Argh !

ok je suis pret a dépenser de l'argent pour un projet pareil ! :mrgreen: