Resource icon

Events with Images for BTS 3.19 2016-10-05

My first upload in SDK Components section :) Tough I take no credit for this modcomp - I've just updated it to 3.19 (wich is also great succes for programing noob like me :lol:)

It contains Source Code, .dll and xml files

Here's the README by Renegadechicken:

----------------------------------------------------------------
======Events With Images======
Version: 1.0
Creator: EmperorFool (thanks go to him!)
Uploader: Renegadechicken (complaints go to him!)

----------------------------------------------------------------
TABLE OF CONTENTS:
1. Description
2. Installation / Removal
3. How to Use
4. Known Bugs / Compatibility
5. Usage
6. Contact
7. Credits

----------------------------------------------------------------
1. DESCRIPTION

This small "mod" allows modders to add images (.dds files, specifically) to the
event popup window. Thanks to this mod, once installed the only changes modders
have to make are in the XML!

----------------------------------------------------------------
2. INSTALLATION / REMOVAL

**If you decide to change the core game files (such as the original BTS, Warlords,
or "Vanilla" CvGameCoreDLL.dll), always make sure to back up your originals!**

INSTALLATION:
1. Place 'CvGameCoreDLL.dll' in the Assets folder of your mod's directory.
Example: ...Beyond the Sword\Mods\My Mod's Name\Assets
2. Place 'CIV4EventSchema.xml' in the Events folder of your mod's directory.
Example: ...Beyond the Sword\Mods\My Mod's Name\Assets\XML\Events
3. Place the remaining files (EventswithImagesREADME.txt and EventTriggerInfosTEMPLATE.txt)
in any folder you like, just remember where you put them,because you may want them as a
reference!

REMOVAL:
1. Delete 'CvGameCoreDLL.dll' from the folder you placed it in (NOT in the original
game files; if you delete the original file, your game will no longer run!).
2. Delete 'CIV4EventSchema.xml' from the folder you placed it in.
3. Note that if you remove this functionality from your mod for any reason by deleting
the new 'CvGameCoreDLL.dll' and 'CIV4EventSchema.xml', ALL your event entries in your
EventTriggerInfos file will have to be edited; they can no longer contain the <EventArt/>
Tag (see "How to Use" section for more details).

----------------------------------------------------------------
3. HOW TO USE

This mod adds a new Tag, <EventArt/>, to the EventTriggerInfos.xml file using the
CIV4EventSchema.xml file. To use this tag, however, you will have to add it to your
EventTriggerInfos.xml file or your mod will be unable to parse that file (in other words,
it won't work). The form of this tag is as follows:
<EventArt>Folder\Mod Folder\Location of Art\image.dds</EventArt>

The included TEMPLATE file shows where this should be placed. Add the new tag as shown,
and your events will have the ability to display images! Enjoy!

----------------------------------------------------------------
4. KNOWN BUGS / COMPATIBILITY

None as of this release.

Note, however, that this mod has ONLY been tested on Civ4 BTS version 3.17!

----------------------------------------------------------------
5. USAGE

You are free to use/modify this code in any mod you create freely, however, please give proper
credit to EmperorFool, the coder of this mod. NEVER re-release this code as your own
work, as it is not.

----------------------------------------------------------------
6. CONTACT

If you have any questions, problems, comments, suggestions, or complaints, feel free to send
me a PM on CivFanatics.com; my screenname is "Renegadechicken".

----------------------------------------------------------------
7. CREDITS

EmperorFool - Coding, helping me figure out what to do with those codes, and incredible patience
Willem - Idea for having Images on the Event Popups
Renegadechicken - Putting code in place, uploading


NOTE: To zip this file, I used a free program called PeaZip; let me know if you can't
unzip the file and what program you tried unzipping it with!

Link to thread: http://forums.civfanatics.com/showthread.php?t=314164


___________________________________________________________
AND NOTE FROM ME:
I've also added the example Mod - it should tell you how to use the mod
It has only Fire in Forest Event (First Event), so idon't recommend you to use this mod for anything else as an example (it's just explanation what to do with your own files!)
And remeber - you need to use the tag <EventArt> in each EventTriggerInfo.
Author
asioasioasio
Downloads
398
Views
398
First release
Last update
Rating
4.00 star(s) 1 ratings

More resources from asioasioasio

Top Bottom