New Events

This forum has been archived. Please use the new modding forum. If you need to retrieve a thread from here, contact BattleGoat.

Moderators: Balthagor, BattleGoat

Post Reply
Fistalis
General
Posts: 3315
Joined: Jun 23 2009
Human: Yes
Location: x:355 y:216
Contact:

New Events

Post by Fistalis »

I'll post New event codes here as I pry them out of BG. Will work til someone adds them to the wiki. :wink:

Code: Select all

Event #48 :
Make Region Alive
i0: Set Capital x-location
i1: Set Capital y-location

Takes a region that is 'not alive' and makes them alive.  They must get territory by day end or they will not stay alive.  (Via BZ or Hex ownership transfer). 
If Capital not set, then prior or largest city used.
Si vis pacem, para bellum
my Supreme Ruler mods Site - May it rest in peace
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: New Events

Post by Balthagor »

I've started the wiki page, will do more work on it later, no new data there yet.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: New Events

Post by Balthagor »

Page updated, but I'll need to post another one about Newsitems and a third about creating objectives still...
Chris Latour
BattleGoat Studios
chris@battlegoat.com
dax1
Brigadier Gen.
Posts: 511
Joined: Apr 05 2012
Human: Yes
Location: Italy

Re: New Events

Post by dax1 »

Combining the event #45 and #2, I can start a war in a nation with low DAR. I mean, as happened in Libya a few years ago, where the war began in the east in the region of Cyrenaica.
is it correct??
Con forza ed ardimento
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: New Events

Post by Balthagor »

Yes,

2 events
type 45 event I0=6 and f0=0.2 dbregion is target
type 2 event uses the ID of your type 45 event as eventconditional, dbregion is aggressor, otherdbregion is target region

Then the aggressor will DoW on the target when target region DAR is < 20%

(I think I got all that right...)
Chris Latour
BattleGoat Studios
chris@battlegoat.com
dax1
Brigadier Gen.
Posts: 511
Joined: Apr 05 2012
Human: Yes
Location: Italy

Re: New Events

Post by dax1 »

perfect!
thank you! :wink:
Con forza ed ardimento
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: New Events

Post by Balthagor »

Oh, if you want to it to happen "when" they are at 20%, you need to make it persistent. Else it will only happen "if" it is 20% on the day of the event.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
dax1
Brigadier Gen.
Posts: 511
Joined: Apr 05 2012
Human: Yes
Location: Italy

Re: New Events

Post by dax1 »

ooh ok...thanks
Con forza ed ardimento
Post Reply

Return to “Modding 1936”