Norway 1940 scenario

Please post here for questions and discussion about scenario, art and sound modding.

Moderator: doomtrader

User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Norway 1940 scenario

Post by doomtrader »

@Peter123,

there is such event
Try this:


METHOD:
Country.ChangeAIP (int countryID, int value )

DESCRIPTION:
Changes AIP value by given amount.
Peter123
Posts: 203
Joined: Sat Feb 13, 2010 10:59 am

RE: Norway 1940 scenario

Post by Peter123 »

ORIGINAL: doomtrader

@Peter123,

there is such event
Try this:


METHOD:
Country.ChangeAIP (int countryID, int value )

DESCRIPTION:
Changes AIP value by given amount.


Thanks, Thats what I was looking for.


Does this one work properly?:

METHOD:
Hex.AddLandUnitAndPassControlOverHexIfEmpty (int hexX, int hexY, int countryID, int unitType, int unitLevel, int unitStrength, name)

DESCRIPTION:
Adds a land unit to pointed hex for given country with given type, level, strength and name.
If at hex already other unit is presented, nothing happens
If hex is controlled by other country then a control over hex goes to countryID

No unit is added in any case.
ORIGINAL: gwgardner

Could provide the ATPs at the beginning of the scenario, but then remove them by event after May or June of '40. Use them or lose them. The German player would have to know this up front, so he wouldn't purchase any more for Sea Lion till after the removal of the original 7.

In this version you will get 7 amphibious points February 1st and will go back to 0 points around May 15 if not used.
Attachments
1939Grand..Norway.zip
(909.69 KiB) Downloaded 13 times
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Norway 1940 scenario

Post by doomtrader »

Peter123

Show me the whole event
welk
Posts: 1022
Joined: Sun Sep 17, 2006 6:41 pm
Location: France

RE: Norway 1940 scenario

Post by welk »

I have seen that the event directory in the game contents a complete engine event manual for the game, it looks very interessant. Please, what xml editor do you use ? I use ordinary "Bonfire studio" for my own use, a free xml editor that works fine, but have you one other and better (free) ?
Peter123
Posts: 203
Joined: Sat Feb 13, 2010 10:59 am

RE: Norway 1940 scenario

Post by Peter123 »

ORIGINAL: doomtrader

Peter123

Show me the whole event
This event adds a british division south of Rostok (but does not change the control of the hex):

<!-- Event name -->
<event eventID="555" countryID="2" visibleByPlayer="0" oneTimeChecking="1">

<options>
<option optionID="1" chanceAI="100" >
<effects>
<!-- allied landings -->
<effect method="Hex.AddLandUnit" param0="124" param1="74" param2="9" param3="0" param4="2" param5="100" paramString0="unit name"/>
</effects>

</option>
</options>
</event>



this one does nothing:

<!-- Event name -->
<event eventID="555" countryID="2" visibleByPlayer="0" oneTimeChecking="1">

<options>
<option optionID="1" chanceAI="100" >
<effects>
<!-- allied landings -->
<effect method="Hex.AddLandUnitAndPassControlOverHexIfEmpty" param0="124" param1="74" param2="9" param3="0" param4="2" param5="100" paramString0="unit name"/>
</effects>

</option>
</options>
</event>


ORIGINAL: welk

I have seen that the event directory in the game contents a complete engine event manual for the game, it looks very interessant. Please, what xml editor do you use ? I use ordinary "Bonfire studio" for my own use, a free xml editor that works fine, but have you one other and better (free) ?

Just wordpad and a lot of cut and paste.
welk
Posts: 1022
Joined: Sun Sep 17, 2006 6:41 pm
Location: France

RE: Norway 1940 scenario

Post by welk »

Ok, thanks for info about logicial. "Bonfire studo" is (may be) better than note pad, I want to say : more comfortable in use. It's a free logiciel that you may download on Internet, I used it when I modded Field Of Glory and it works very fine, with detailled arbor. and colors.

sample of donwload link for Bonfire studio
http://download.cnet.com/Bonfire-Studio ... 70820.html
Post Reply

Return to “Design and Modding”