Ensuring Sarog is present in my random maps

By on June 7, 2014 3:23:41 PM from Elemental Forums Elemental Forums

ins2

Join Date 03/2011
+4

 

Hi folks,

 

I have one last question - I would like to make a mod that ensures that Sarog the dragonlord is present in all my randomly generated maps.

 

I love having the extra challenge, and hate starting a map only to discover that he is not present.

 

Any ideas / suggestions?

 

Once again thanks for the help - this is a wonderful community and I really appreciate the support.

 

Best, bendiwolf

Locked Post 9 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
June 7, 2014 5:33:03 PM from Elemental Forums Elemental Forums

I have never seen Sarog once, in over 2000 hours of play. I want that mod, too!

Reason for Karma (Optional)
Successfully updated karma reason!
June 7, 2014 5:46:56 PM from Elemental Forums Elemental Forums

I would make a quest event that spawned his goodiehut after turn X.

Edit: Wait, isn't that the master quest guy? I think he spawns on every map if you have master quest victory condition enabled?

Reason for Karma (Optional)
Successfully updated karma reason!
June 7, 2014 5:54:55 PM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
June 8, 2014 12:23:54 AM from Elemental Forums Elemental Forums

OK - I don't want this to be a random event but a standard event for all my games, so I tried to make a new quest in the CoreGameEvents file looking like this:

 

<QuestDef InternalName="Quest_Sarog">
<DisplayName>Sarog the Dragonlord</DisplayName>
<Description>The tales of your adventure have attracted one of the ancient Dragonlords to the land.</Description>
<QuestClass>Minor</QuestClass>
<Repeatable>0</Repeatable>
<TriggerType>FactionResourceLevel</TriggerType>
<TriggerStringData>Fame</TriggerStringData>
<TriggerData>5</TriggerData>
<SpawnRating>20</SpawnRating>
<DoNotDisplayStartPopup>1</DoNotDisplayStartPopup>
<Treasure>
<GameModifier>
<ModType>Map</ModType>
<Attribute>SpawnMonster</Attribute>
<Value>1</Value>
<Unitclass>Sarog</Unitclass>
<Radius>24</Radius>
</GameModifier>
</Treasure>
<QuestObjectiveDef>
<ObjectiveID>0</ObjectiveID>
<QuestEnd>1</QuestEnd>
</QuestObjectiveDef>
</QuestDef>

 

...and it did not work.

 

Any idea what is wrong with this code?

 

Many thanks, Bendiwolf

Reason for Karma (Optional)
Successfully updated karma reason!
June 8, 2014 1:33:05 AM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
June 8, 2014 2:42:46 PM from Elemental Forums Elemental Forums

So will this make Sarog standard, Primal?

Reason for Karma (Optional)
Successfully updated karma reason!
June 8, 2014 3:03:46 PM from Elemental Forums Elemental Forums

N/A

Reason for Karma (Optional)
Successfully updated karma reason!
June 8, 2014 4:38:05 PM from Elemental Forums Elemental Forums

I will investigate this further when I have the time to play a new map as to see whether there may be issues with the Temple of the Dragon and 2 Sarogs.

Reason for Karma (Optional)
Successfully updated karma reason!
June 27, 2014 12:43:10 AM from Elemental Forums Elemental Forums

It looks like the mod appears to be working judging by the limited times I have tested it. Sarog seems to be showing up.

 

I will update if I find any bugs with this mod. Thanks again.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108433  walnut3   Server Load Time: 00:00:00.0000031   Page Render Time: