Recent content by Bosparan

  1. B

    Making Explorers gain experience

    Hi Gorbles, I've taken a look at your mod. It's a neat integration into the old upgrade system (and can probably made to work for the new one as well). Would you mind if I stole the idea for a standalone mod? That said, it doesn't provide for experience-gain for explorers - it merely...
  2. B

    Making Explorers gain experience

    Hi Syrkres, thanks for the links: The improved versions are simple stat enhancements and didn't work with experience and promotions. Building a replacement explorer would be fairly trivial, but I'd really prefer to fix the existing one, so that it's the starting explorer and the AI uses it...
  3. B

    Making Explorers gain experience

    Hello, currently, Explorers gain no experience and can thus not rise in levels. I have not found out why that is the case, and thus the remedy eludes me. Can anyone point me in the right direction, how the game determines civilian units and how to change this? Cheers, Bosparan
  4. B

    How to add or remove Invisibility

    Hello, I'm trying to enable and disable the invisibility-ability of individual submarines on the fly. I've given up trying to make that happen on the xml side, since by now its a stat on the units table and there simply are no methods implemented to change that property for individual units...
  5. B

    Modding the Civilopedia - How?

    Figured it out on my own. Basically, I stole the old Promotions tab from Civ 5 and restored it to its former glory. But generally, it involves ... - Adding another button in the XML (they're numbered, somewhere in the middle, just increment the number). - Adding the Category number at the top...
  6. B

    Wanna start moddin Civ:Be and IDK how

    Hi General_HZ, and welcome to CivBE modding, you've come to the right place :) First of all, setting up your tools: To make modbuddy stop complain, you have to add some paths in the option. To reach the options, select ... Tools > Options You'll be flooded with options you can configure. The...
  7. B

    Game Options and affecting Defines

    Yeah right. Works wonders, GameDefines and Defines both change as desired. They just don't have any effect *sigh* Back to the drawing table ...
  8. B

    Game Options and affecting Defines

    And here's the finished mod.
  9. B

    Retrieving SQL records via Lua

    Hi Smeg, my best guess is a rotten WHERE condition. If that one craps on you, you won't get any returns, but the syntax is correct, so it won't throw errors. Try an equals (=) on a value you know is in there to verify this. Cheers, Bosparan
  10. B

    Game Options and affecting Defines

    Hi Nutty, thanks for the advice. Buuut ... I actually found a way to make it work! I'll make a dedicated mod for Mapping Options to defines, so it can be implemented using good ol' XML by anybody who cares to, since otherwise the solution would probably be incompatible with other mods doing the...
  11. B

    Game Options and affecting Defines

    Hi, I've recently started to try adding option to my mods (so players can pick what part they actually want). Works like a charm, except for when the changes involve Game Defines ... What I'm trying to do Have Game Options affect Game Defines. Issue - The only way I know how to...
  12. B

    Retrieving SQL records via Lua

    Hi Smeg, try this: local query = "select name, email, phone from person where name like ':1'"; for entry in DB.Query(query) do print((entry.name)..(entry.email)..(entry.phone)); end DB is the static Database object you use to access the Civ Database (and since Query is a static...
  13. B

    Help with unit promotion Trait thing?

    Chris, out of curiosity: How does Promotion Modding screw the unit UI? I didn't encounter any unsolvable issues with my mod, did I miss a something? In this case though, doing a national unit type is probably the easiest way
  14. B

    how to create tables for XML, then read content using Lua?

    Hi Is612, thanks for the advice. I've been so focused on lua and xml, I forgot about SQL. Works like a charm and I can use standard XML content files to add rows (which is good, especially for interop, if someone wants to extend my mod. For reading the content, I've found the DB class to be...
  15. B

    how to create tables for XML, then read content using Lua?

    Hi guys, I've been wondering: Is there a way to create a new table, whose content I can fill using XML in the same way I modify original content (add units, change buildings, etc.)? And if that's possible, can I use Lua to read values from that table? How? Cheers, Bosparan
Top Bottom