raystuttgart
Civ4Col Modder
Hi guys,
well, I created another Goody System Enhancement.![Smile :) :)](/data/assets/smilies/smile.gif)
The System is now capable of spawning Hostiles and it can do so immersively.
(This happens when you explore Goodies - there are not only Rewards anymore !!!)
Several new XML tags have been added to Goodies already.
The System works for Water and Land Goodies / Goody Huts.
But you need to configure it correctly so it works.
Otherwise the Goody will simply be invalid and never be triggered.
(It will not cause any exceptions or stuff like that.)
The XML file that has been changed:
(More might follow when I work on the System next time - in another release)
<UnitClass>UNIT_HOSTILE_NATIVE</UnitClass> <-- Defines the Type of Hostile Unit(s) it adds
...
<bUnique>1</bUnique> <-- Ensures that it is triggered only once (all of those new Hostile ones should be unique)
...
<iMinTurnValid>10</iMinTurnValid> <-- Allows to set Min Turn for being triggered (considers Gamespeed)
<iRandNumHostilesSpawned>3</iRandNumHostilesSpawned> <-- Max Random Number for Hostiles
<bSpawnHostileUnitsAsXML>0</bSpawnHostileUnitsAsXML> <-- Immersion Setting: Only Use Goodies that can also Spawn normal Units (e.g Camp Fires / Sunken Ships)
<bSpawnHostileAnimals>0</bSpawnHostileAnimals> <-- Immersion Setting: Only Use Wild Animal Caves
<bSpawnHostileNatives>1</bSpawnHostileNatives> <-- Immersion Setting: Only Use Hostile Native Camps
<bSpawnHostileCriminals>0</bSpawnHostileCriminals> <-- Immersion Setting: Only Use Criminal Camps
---------
Comment:
The System is very AI friendly.![Smile :) :)](/data/assets/smilies/smile.gif)
The stuff we could create here is otherwise to hard for AI.
Of course these "Hostile Goodys" are also supposed to give rewards.
(e.g. massive Gold, Immigration, massive XP, ...)
So they will always do both at once:
Give you a Reward and also spawn Hostiles.
---------
Stuff like this has now become possible, but it of course needs somebody to configure the Goodies and write the texts in XML.![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
@Raubwuerger / @Schmiddie / @Fürstbischof
Since you guys already know how the Goody System works, would you like to create a few new Goodies?![Dunno :dunno: :dunno:](/images/smilies/idunno.gif)
If yes, I can explain the System next week and also help if there are problems.
I will still do a few more tests this weekend and will also create a few examples.![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
Then I can be sure you guys would have everything you need to create more Goody events.
You are of course free to be creative.![Smile :) :)](/data/assets/smilies/smile.gif)
Create every new Type of Goody you can come up with.![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
---------
Behold !![Mischief :mischief: :mischief:](/data/assets/smilies/mischief.gif)
Your Goodies have now become dangerous ...![satan :satan: :satan:](/images/smilies/satanlook.gif)
---------
Screenshots will follow once I have created proper Goody Examples.![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
(With nice immersive texts ...)
Still need to do a bit for my household now ...
(Cleaning, shopping ...
)
well, I created another Goody System Enhancement.
![Smile :) :)](/data/assets/smilies/smile.gif)
The System is now capable of spawning Hostiles and it can do so immersively.
(This happens when you explore Goodies - there are not only Rewards anymore !!!)
Several new XML tags have been added to Goodies already.
The System works for Water and Land Goodies / Goody Huts.
But you need to configure it correctly so it works.
Otherwise the Goody will simply be invalid and never be triggered.
(It will not cause any exceptions or stuff like that.)
The XML file that has been changed:
- CIV4GoodyInfo.xml
(More might follow when I work on the System next time - in another release)
<UnitClass>UNIT_HOSTILE_NATIVE</UnitClass> <-- Defines the Type of Hostile Unit(s) it adds
...
<bUnique>1</bUnique> <-- Ensures that it is triggered only once (all of those new Hostile ones should be unique)
...
<iMinTurnValid>10</iMinTurnValid> <-- Allows to set Min Turn for being triggered (considers Gamespeed)
<iRandNumHostilesSpawned>3</iRandNumHostilesSpawned> <-- Max Random Number for Hostiles
<bSpawnHostileUnitsAsXML>0</bSpawnHostileUnitsAsXML> <-- Immersion Setting: Only Use Goodies that can also Spawn normal Units (e.g Camp Fires / Sunken Ships)
<bSpawnHostileAnimals>0</bSpawnHostileAnimals> <-- Immersion Setting: Only Use Wild Animal Caves
<bSpawnHostileNatives>1</bSpawnHostileNatives> <-- Immersion Setting: Only Use Hostile Native Camps
<bSpawnHostileCriminals>0</bSpawnHostileCriminals> <-- Immersion Setting: Only Use Criminal Camps
---------
Comment:
The System is very AI friendly.
![Smile :) :)](/data/assets/smilies/smile.gif)
The stuff we could create here is otherwise to hard for AI.
Of course these "Hostile Goodys" are also supposed to give rewards.
(e.g. massive Gold, Immigration, massive XP, ...)
So they will always do both at once:
Give you a Reward and also spawn Hostiles.
---------
Stuff like this has now become possible, but it of course needs somebody to configure the Goodies and write the texts in XML.
![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
- Crazy Sect of Hostile Jesuit Missionaries
- Crazy Ranger in the Wildernes
- Criminal Ambush
- Native Tribe Raid
- Raging Wolf Pack
- Hidden Slaves
- The Great White Shark
- Moby Dick
- ...
@Raubwuerger / @Schmiddie / @Fürstbischof
Since you guys already know how the Goody System works, would you like to create a few new Goodies?
![Dunno :dunno: :dunno:](/images/smilies/idunno.gif)
If yes, I can explain the System next week and also help if there are problems.
I will still do a few more tests this weekend and will also create a few examples.
![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
Then I can be sure you guys would have everything you need to create more Goody events.
You are of course free to be creative.
![Smile :) :)](/data/assets/smilies/smile.gif)
Create every new Type of Goody you can come up with.
![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
---------
Behold !
![Mischief :mischief: :mischief:](/data/assets/smilies/mischief.gif)
Your Goodies have now become dangerous ...
![satan :satan: :satan:](/images/smilies/satanlook.gif)
---------
Screenshots will follow once I have created proper Goody Examples.
![Thumbs Up :thumbsup: :thumbsup:](/images/smilies/thumbsup.gif)
(With nice immersive texts ...)
Still need to do a bit for my household now ...
(Cleaning, shopping ...
![Undecided :undecide: :undecide:](/images/smilies/Undecided.gif)
Last edited: