Kael
Deity
loki1232 said:If you gave a little flavor, i'll go crazy and get lots of ideas out about it.
Id rather have your creativity on the things we need for Light. Let me bump some theads where I see design gaps and get your feedback.
loki1232 said:If you gave a little flavor, i'll go crazy and get lots of ideas out about it.
Whoops, I meant xls.Kael said:What XML file are you refering to?
talchas said:Whoops, I meant xls.![]()
Kael said:Id rather have your creativity on the things we need for Light. Let me bump some theads where I see design gaps and get your feedback.
talchas said:Inspired by Kael's example and with the basic idea for a general format taken from the homeworld 2 xls files, I made an xls file for spells. Note that it does play nice with having multiple xml producers in one xls, just make sure you right click the sheet and choose "move or copy", don't just copy the cells because I don't think that will work right. If you are tired of seeing column D and don't like it taking up screen space, just shrink it to size 0. Thats what I do when I'm not editing the makeup of the xls.
The file: http://members.aol.com/ben77/Spells.xls
The idea is that the basic macro used for this will work for any civ4 xml file. Column D lists what each row is - Literal is just a literal string that outputs a line containing whatever is in column E, LiteralBegin and LiteralEnd are like Literal but only at the beginning or end of the xml file, Tag inserts an xml tag like this "<Column E's data>Current Item's data for this column</Column E's data>", Map takes 3 parts separated by "/"s in column E: "Outermost tag/Tag around each group of elements/number of elements in a group", SubMap is a subitem in a Map that outputs like Tag except it sticks an extra tag around each however many items, and EndMap just inserts the closing tag for a Map. Any row where Column D is blank or something else is skipped. Columns A-C are for descriptions.
This xls makes use of lots of named ranges so that it can find the beginning and ends of the rows and columns that are being used, so use the "add row" and "add spell" buttons (or select those rows and columns and insert a new row/col) if you want to use this for your own stuff.
Whew, long post.
talchas said:And I've now uploaded a version that has both spells and promotions to http://members.aol.com/ben77/FFH-talchas.xls. I will probably remove the spell section and upload this and a unit one to the general civ modding forum.
<?xml version="1.0"?>
[b]<!-- Created with the FfH Editor by Talchas -->[/b]
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Promotion Infos -->
<Civ4PromotionInfos xmlns="x-schema:CIV4UnitSchema.xml">
<PromotionInfos>
talchas said:And now I've uploaded a version with unit info and with groups to easily hide/show various sections. I'll make a version for regular Civ4, release that and go back to working on the spell system.
talchas said:Thats odd, it works for me just fine. What version of excel are you running? About the column order, what do you mean? Can you post a screenshot.
talchas said:Ah, that makes more sense. When I get back to a machine w/Civ4, I'll take a look.
Weird, its working for me just fine, see the screenshot below.Kael said:Sorry I should have been clearer. I mean the spell pedia page (I just realized everything I said could also be applicable to the spell worksheet, and since I was replying to a post talking about the spreadsheets it was very unclear).
talchas said:Weird, its working for me just fine, see the screenshot below.