Afficher un message
  #1  
Vieux 15/10/2009, 11h08
Avatar de Emp_Palpatine
Emp_Palpatine Emp_Palpatine est déconnecté
Ronald Reagan du QG
 
Date d'inscription: août 2005
Localisation: Höchlstr.2 8000 München 80
Messages: 5 298
Par défaut For the Glory, Carnet N°7

Citation:
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:
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:
command = { type = hre which = <id> value = yes/no }
Another closely related command is electors:
Code:
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:
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:
trigger = {
    ENG = {
        OR = {
            religion = protestant
            religion = reformed
        }
    }
}
Check whether this country is a vassal or an overlord:
Code:
isvassal = yes/no
Code:
isoverlord = yes/no
Check whether there is a trading post, a colony or a colonial city in a certain province:
Code:
tradingpost = <id>
Code:
colony = <id>
Code:
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:














Birger has been busy, too, but his project will remain a secret for now. Stay tuned!
__________________
Bon... J'ai peut-être fait quelques petites concessions...
Réponse avec citation