Search results

  1. Ryan F. Mercer

    Lua Bug -- Game:SetProperty(), Game:GetProperty()

    Noticed this problem today. Wasn't doing it a couple months ago. At least, I don't think it was? Base game. When using SetProperty() and GetProperty() on the Game global, a table containing a table for a key returns zero for the key instead. ----------- Game:SetProperty( "test", { [ {}...
  2. Ryan F. Mercer

    Where is the Civ 7 forum?

    Pro tip: little to nothing changed in the civ lua environment from civ 5 to civ 6. How long should we wait to start modding civ 7? Answer: no. A proper civ 7 forum would be nice though. Just say'n.
  3. Ryan F. Mercer

    Civ 7 Forum

    Please create a civ 7 sub forum. It is time. Thank you. :)
  4. Ryan F. Mercer

    Please Create a Civ 7 Sub Forum

    It has been "officially leaked" that Civ7 is currently in development. Please create the corresponding forum on this site, so that I may begin adding to it. What's that you say? It hasn't been released yet so there's no point? Incorrect! For one, I have a serious request of the developers...
  5. Ryan F. Mercer

    Disable Found City When Insufficient Terrain Yields

    I'm using ModBuddy, LiveTuner, and SQLite. I've created a test mod that loads an SQL database update and a Lua gameplay script, both as in-game actions. The test shows everything is loading as intended. I want to enable/disable the found city button for settlers for both players and AI...
  6. Ryan F. Mercer

    Burned by Civ5 -- Give me a reason

    I loved Civ4 and when Civ5 came out, I was at the forefront of modding for it: BuildingResources, SaveUtils, ShareData, and ModList. I can't say I ever played the game itself, because it was so thoroughly flawed. But neither is my contempt directed at the game. The problem was, without...
  7. Ryan F. Mercer

    Database Queries for Saved Game Data

    Currently, the majority are handling saved game data using SaveUtils, or at the very least it's serialization routines. In short, it converts all saved data into a single cryptic string that can then be decrypted upon game reload. However, there currently exists the opportunity to move all...
  8. Ryan F. Mercer

    Labor Management -- looking for work?

    This is intended to help give the modding community a greater awareness of current projects, project status, members, and collaborative opportunities. I'll clean it up into a nice table once I have some data to work with. In the mean time, I'm just putting together a short list as I go...
  9. Ryan F. Mercer

    DiploCornerAddin (standard)

    Version 1 This mod allows concurrent mods to share the DiploCorner drop down menu (top-right of main-screen), so button options can be neatly listed together without merging mods. However, this mod will conflict with any other mod that changes the DiploCorner panel, so it's useful to have this...
  10. Ryan F. Mercer

    Graphical Elements (ie: <Grid Style="???" />)

    I've been playing around with the graphical elements a bit and thought I'd start posting my findings. Grid Tag: <Grid Size="175,150" Anchor="C,C" Offset="0,0" Padding="0,0" Style="Grid9Detail140" ConsumeMouse="0" /> Grid consists of 9 cells (3x3) and is typically used to frame content. Size...
  11. Ryan F. Mercer

    Mod List (addin)

    Version 4 (2011.02.01.0000) Lists all active mods. Fully compatible. Provides a list of all currently active mods. Click mod to view details. Click mod homepage to launch browser. Click 'Like It' to give mod positive rating. Click 'Privacy Policy' to view. Click 'Report' to report...
  12. Ryan F. Mercer

    ShareData.lua -- share references across mods

    Version 1 (build: 2010.11.20.0000) Allows all lua states and concurrent mods to share the same globals, including table, object, and function references. Test Example: (mod 1 of 2 running concurrently) Test Example: (mod 2 of 2 running concurrently) Result: -- upon Events.LoadScreenClose...
  13. Ryan F. Mercer

    CustomNotificationPanel.lua -- for easy addition of custom notifications.

    NotificationPanel.lua is a cleaned-up version of the original with a CustomNotificationPanel.lua include, which allows for the easy creation of additional custom notifications. The 2 example custom notifications are from my Building Resources mod. NotificationPanel.lua...
  14. Ryan F. Mercer

    Building Resources

    Version: 6 (build: 2010.11.20.0000) Allows buildings to produce resources. This mod is available in the in-game mod screen by the name of "Building Resources -- Template". Template includes Alchemist building which gives 1 gold resource and 1 iron. Additional resources from buildings can be...
  15. Ryan F. Mercer

    Resources From Buildings -- Need Help Polishing

    The following XML and LUA files allow for buildings to set resource types and amounts produced per turn. The demonstration includes an Alchemist building that produces 1 gold resource and additional entries can be easily added to the XML. Technically, everything works. Build an Alchemist...
  16. Ryan F. Mercer

    SaveUtils.lua -- Itemized Data Storage Across Mods

    Version 8 (build: 2011.02.13.0000) Allows concurrent mods to share the ScriptData save slot on all Player, Plot, and Unit objects, makes it possible to save complex tables or any data type except function, userdata, and thread, and provides unlimited save slots per target object. Includes...
  17. Ryan F. Mercer

    Counting Turns

    I'm working on a mod and I need to know if there is a way I can keep track of an improvement's age in turns.
  18. Ryan F. Mercer

    Anyone Modding the Mod Screen?

    Has anyone thought about modding the in-game mod screen? It would have to be distributed outside the game since it would need to replace assets in the actual civ5 program files folder. But there are some worth while changes that could be made. - Add "ratio" column that shows the ratio of...
  19. Ryan F. Mercer

    cannotResearch causes OS lockup

    Goal: I want players to select an unfounded religion after researching monument (fka: obelisk) before proceeding to monastery. Implementation: Ideally, I'd like to use the "choose religion" popup, but don't know how to modify it. So I created a tech for each religion with the idea of...
  20. Ryan F. Mercer

    [BTS] - Change Research Cost Dynamically ???

    I recently played around with some python code that allows for mutually exclusive technologies, such that researching one makes the other unavailable. Now my question is... Instead of making it unavailable, is there a way to increase the research cost of other technologies once a particular...
Top Bottom