Page 1 of 1

[RoP] abiSpawnUnit - Param6?

Posted: Mon Jan 04, 2016 12:08 am
by JacquesDeLalaing
Since I'm getting into trouble with unit spawning again and again (first for sieges, now for grenzers spawning skirmishers and also for the spawning of orders/information), I wanted to ask if I'm doing something wrong or if Param6 is indeed not functional?

I've got all my information from here:
http://www.ageod.net/agewiki/Ability_Category_26:_Unit_Spawning

So, this is my ability:

UID = 137
Name = $abi_nam_SpawnGrenzer
Alias = abiSpawnGrenzer
Kind = $abiUnitSpawning
Text = $abi_txt_SpawnGrenzer
ImageID = abi_SiegeExpert.png [wip]
Color = $colAbi_Green
Appliance = Self
Family = 0
Level = 1
Param0 = 24
Param1 = 100
Param2 = 24
Param3 = 0
Param4 = 24
Param5 = 0
Param6 = -100
Param7 = 0
Param8 = 0
Param9 = 0
ListParams0 = $Clear_flat|$clear_building

I believed that each model with this ability would have a 100% (Param1) chance to spawn unit UID 24 (Param0) per turn. For each spawned element (not unit), the parent-element would have its chances to spawn another unit (!) by Param6 (-100). In my case, an element that has spawned a unit should spawn no more. However, that clearly is not the case. Units keep spawning happily, regardless of how many elements have already been spawned. Am I missing something?

PS: When I set Param1 to 50, it works pretty well. 10 units (each one element) spawn only slightly more (12) units (each two elements) than they should. It takes a few turns, however. At 12, they seem to stop.

Posted: Mon Jan 04, 2016 2:17 am
by Bohémond
Hello,

You should remove non useful entry, the abi should look like this ;

UID = 137
Name = $abi_nam_SpawnGrenzer
Alias = abiSpawnGrenzer
Kind = $abiUnitSpawning
Text = $abi_txt_SpawnGrenzer
ImageID = abi_SiegeExpert.png [wip]
Color = $colAbi_Green
Appliance = Self
Family = 0
Level = 1
Param0 = 24
Param1 = 100
Param6 = -100
Param8 = 0
Param9 = 0
ListParams0 = $Clear_flat|$clear_building


You can check the results of the unit spawning in the hostlog, Starting DoUnitsSpawningFromAbi section.


Please keep us posted.

Regards