Creature Externalization (by Buggler)

- externalized creature feeding sector CREPITUS_FEEDING_SECTOR to Mod_Settings.xml
- added more comments to CreaturePlacements.xml

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1909 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2014-01-02 07:43:00 +00:00
parent fd72b7fbee
commit e236f90db6
4 changed files with 66 additions and 26 deletions
+8 -2
View File
@@ -121,7 +121,7 @@ ADD_RAT_SECTOR_Y = 7
ADD_RAT_SECTOR_Z = 0
[San Mona]
;some rooms in the porn shop and Hans' location (I think this is before moving)
;some rooms in the porn shop and Hans' location before moving
PORN_SHOP_ROOM_HANS = 49
HANS_POSTION = 13523
PORN_SHOP_ROOM_BRENDA = 47
@@ -255,4 +255,10 @@ CREATURE_MEANWHILE_CUTSCENE = TRUE
;victory celebration stuff
VICTORY_SECTOR_X = 3
VICTORY_SECTOR_Y = 16
VICTORY_POSITION = 5687
VICTORY_POSITION = 5687
[Creatures]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
@@ -3,7 +3,8 @@ This file defines creatures placement & composition for SCI-FI MODE, when ENABLE
Fields index:
Placement
Index - it is UNIQUE number for possible creature site. Max 10.
Index - UNIQUE number for creature site. Max 10 possible sites; only 1 will be randomly
activated based on 'Infectible' status, mine control and not attacking its headminer.
ATTACKSOURCE - sector where creature surfaces to attack town.
Its associated B1 underground sector MUST be defined as a habitat/queen sector.
@@ -11,17 +12,19 @@ Placement
ALTERNATEMAP - sector using alternate map when creature quest is initiated.
WARPTOSECTOR - warp destination on tactical screen exit after creature quest completion.
Works only when in habitat/queen sector and SectorZ >= 2.
QUEENSECTOR - come to Mama!
HABITATSECTOR - linked underground sectors where creatures will be guests. Max 50 per site.
HABITATSECTOR - linked underground sectors where creatures will be guests. Max 255 per site.
For dungeon crawling, dead-ends can be set; spawning will take time to fill though.
Composition
CompIndex - Max 30. The 6 percentage tags MUST add up to 100.
CompIndex - Max 50 compositions. The 6 percentage tags MUST add up to 100.
MaxPopulation - limited by MAX_NUMBER_CREATURES_IN_TACTICAL in Ja2_Options.ini
Default Composition.
Default Vanilla Composition.
0 - QUEEN_LAIR, where the queen lives. Highly protected.
Reserved for QUEENSECTOR. HABITATSECTOR using Composition '0' will be ignored.
1 - LAIR, part of the queen's lair; lots of babies and defending mothers
@@ -32,14 +35,18 @@ Composition
6 - MINE_EXIT, the area that creatures can initiate town attacks if lots of monsters.
NOTE:
Quest initialized by InitCreatureQuest in StrategicTownLoyalty.lua script.
All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderground.lua script.
Quest initialized by 'CheckConditionsForTriggeringCreatureQuest' in StrategicTownLoyalty.lua script OR
CREPITUS_FEEDING_SECTOR in Mod_Settings.ini
Index sequence MUST be the same order as the 'Infectible' sequence at 'InitializeMines' in initmines.lua.
All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList'.
Non-linked sites can only be initialized at ' PopulateSectors' in initunderground.lua script on game start.
Creatures will obediently stay in sector like the underground enemies.
-->
<CREATURE_INFO>
<PLACEMENT_LIST>
<PLACEMENT>
<!-- Drassen -->
<Index>1</Index>
<!-- Drassen -->
<ATTACKSOURCE>
<SectorGrid>D13</SectorGrid>
<GridNo>20703</GridNo>
@@ -91,8 +98,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Alma -->
<Index>2</Index>
<!-- Alma -->
<ATTACKSOURCE>
<SectorGrid>I14</SectorGrid>
<GridNo>9726</GridNo>
@@ -139,8 +146,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Cambria -->
<Index>3</Index>
<!-- Cambria -->
<ATTACKSOURCE>
<SectorGrid>H8</SectorGrid>
<GridNo>13005</GridNo>
@@ -192,8 +199,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Grumm -->
<Index>4</Index>
<!-- Grumm -->
<ATTACKSOURCE>
<SectorGrid>H3</SectorGrid>
<GridNo>10303</GridNo>
@@ -247,6 +254,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</PLACEMENT_LIST>
<COMPOSITION_LIST>
<COMPOSITION>
<!-- Queen Lair -->
<CompIndex>0</CompIndex>
<LarvaePercent>20</LarvaePercent>
<InfantPercent>40</InfantPercent>
@@ -257,6 +265,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>32</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Lair -->
<CompIndex>1</CompIndex>
<LarvaePercent>15</LarvaePercent>
<InfantPercent>35</InfantPercent>
@@ -267,6 +276,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>18</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Lair Entrance -->
<CompIndex>2</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>15</InfantPercent>
@@ -277,6 +287,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>15</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Inner MIne -->
<CompIndex>3</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -287,6 +298,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>12</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Outer Mine -->
<CompIndex>4</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -297,6 +309,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>10</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Feeding Grounds -->
<CompIndex>5</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -307,6 +320,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>15</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Mine Exit -->
<CompIndex>6</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
+8 -2
View File
@@ -121,7 +121,7 @@ ADD_RAT_SECTOR_Y = 7
ADD_RAT_SECTOR_Z = 0
[San Mona]
;some rooms in the porn shop and Hans' location (I think this is before moving)
;some rooms in the porn shop and Hans' location before moving
PORN_SHOP_ROOM_HANS = 49
HANS_POSTION = 13523
PORN_SHOP_ROOM_BRENDA = 47
@@ -255,4 +255,10 @@ CREATURE_MEANWHILE_CUTSCENE = TRUE
;victory celebration stuff
VICTORY_SECTOR_X = 3
VICTORY_SECTOR_Y = 16
VICTORY_POSITION = 5687
VICTORY_POSITION = 5687
[Creatures]
;Crepitus feeding sector. Will initiate creature quest if not started upon entering sector
CREPITUS_FEEDING_SECTOR_X = 9
CREPITUS_FEEDING_SECTOR_Y = 10
CREPITUS_FEEDING_SECTOR_Z = 2
@@ -3,7 +3,8 @@ This file defines creatures placement & composition for SCI-FI MODE, when ENABLE
Fields index:
Placement
Index - it is UNIQUE number for possible creature site. Max 10.
Index - UNIQUE number for creature site. Max 10 possible sites; only 1 will be randomly
activated based on 'Infectible' status, mine control and not attacking its headminer.
ATTACKSOURCE - sector where creature surfaces to attack town.
Its associated B1 underground sector MUST be defined as a habitat/queen sector.
@@ -11,17 +12,19 @@ Placement
ALTERNATEMAP - sector using alternate map when creature quest is initiated.
WARPTOSECTOR - warp destination on tactical screen exit after creature quest completion.
Works only when in habitat/queen sector and SectorZ >= 2.
QUEENSECTOR - come to Mama!
HABITATSECTOR - linked underground sectors where creatures will be guests. Max 50 per site.
HABITATSECTOR - linked underground sectors where creatures will be guests. Max 255 per site.
For dungeon crawling, dead-ends can be set; spawning will take time to fill though.
Composition
CompIndex - Max 30. The 6 percentage tags MUST add up to 100.
CompIndex - Max 50 compositions. The 6 percentage tags MUST add up to 100.
MaxPopulation - limited by MAX_NUMBER_CREATURES_IN_TACTICAL in Ja2_Options.ini
Default Composition.
Default Vanilla Composition.
0 - QUEEN_LAIR, where the queen lives. Highly protected.
Reserved for QUEENSECTOR. HABITATSECTOR using Composition '0' will be ignored.
1 - LAIR, part of the queen's lair; lots of babies and defending mothers
@@ -32,14 +35,18 @@ Composition
6 - MINE_EXIT, the area that creatures can initiate town attacks if lots of monsters.
NOTE:
Quest initialized by InitCreatureQuest in StrategicTownLoyalty.lua script.
All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderground.lua script.
Quest initialized by 'CheckConditionsForTriggeringCreatureQuest' in StrategicTownLoyalty.lua script OR
CREPITUS_FEEDING_SECTOR in Mod_Settings.ini
Index sequence MUST be the same order as the 'Infectible' sequence at 'InitializeMines' in initmines.lua.
All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList'.
Non-linked sites can only be initialized at ' PopulateSectors' in initunderground.lua script on game start.
Creatures will obediently stay in sector like the underground enemies.
-->
<CREATURE_INFO>
<PLACEMENT_LIST>
<PLACEMENT>
<!-- Drassen -->
<Index>1</Index>
<!-- Drassen -->
<ATTACKSOURCE>
<SectorGrid>D13</SectorGrid>
<GridNo>20703</GridNo>
@@ -91,8 +98,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Alma -->
<Index>2</Index>
<!-- Alma -->
<ATTACKSOURCE>
<SectorGrid>I14</SectorGrid>
<GridNo>9726</GridNo>
@@ -139,8 +146,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Cambria -->
<Index>3</Index>
<!-- Cambria -->
<ATTACKSOURCE>
<SectorGrid>H8</SectorGrid>
<GridNo>13005</GridNo>
@@ -192,8 +199,8 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</CREATURESECTOR>
</PLACEMENT>
<PLACEMENT>
<!-- Grumm -->
<Index>4</Index>
<!-- Grumm -->
<ATTACKSOURCE>
<SectorGrid>H3</SectorGrid>
<GridNo>10303</GridNo>
@@ -247,6 +254,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
</PLACEMENT_LIST>
<COMPOSITION_LIST>
<COMPOSITION>
<!-- Queen Lair -->
<CompIndex>0</CompIndex>
<LarvaePercent>20</LarvaePercent>
<InfantPercent>40</InfantPercent>
@@ -257,6 +265,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>32</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Lair -->
<CompIndex>1</CompIndex>
<LarvaePercent>15</LarvaePercent>
<InfantPercent>35</InfantPercent>
@@ -267,6 +276,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>18</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Lair Entrance -->
<CompIndex>2</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>15</InfantPercent>
@@ -277,6 +287,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>15</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Inner MIne -->
<CompIndex>3</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -287,6 +298,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>12</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Outer Mine -->
<CompIndex>4</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -297,6 +309,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>10</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Feeding Grounds -->
<CompIndex>5</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>
@@ -307,6 +320,7 @@ All QUEENSECTOR & HABITATSECTOR need to be defined at 'SectorList' in initunderg
<MaxPopulation>15</MaxPopulation>
</COMPOSITION>
<COMPOSITION>
<!-- Mine Exit -->
<CompIndex>6</CompIndex>
<LarvaePercent>0</LarvaePercent>
<InfantPercent>0</InfantPercent>