Recent content by Gleb Bazov

  1. G

    Civ VI - LUA Mods - Culture Bombs for Districts & Improvements

    Hey, Atlas, I would be happy to help, but, please, post your mod here and let me take a look. Cheers.
  2. G

    Lua Objects

    HOORAY! I got it working! Much thanks, Gedemon! Bravo :) It was my own error in the end and I tracked it down. Cheers!
  3. G

    Lua Objects

    Dear all, a question, specifically for Gedemon, whose excellent work I am trying to apply in my own modding. I have tried to use the Serialize.lua / SaveLoad method that Gedemon designed, most with success. However, I can only keep the saved data while the game application is running. In other...
  4. G

    LUA Code Help - Generating Great Persons

    The snippet of the code you posted is great! Very useful, thanks!
  5. G

    LUA Code Help - Generating Great Persons

    I must confess, I haven't looked at your code yet, as I haven't had time. :( Would you be so kind as to post the relevant sections here? I would be very much obliged! Much thanks.
  6. G

    Carrier Fleets & Armadas - Automatic Extra Air Slots

    I have not tried tackling the bar on forming carriers into fleet/armada groups yet. This would have to be a UI LUA mod, and my mod only tackles In Script LUA for now. However, I'm willing to give it a go. I'll see what I can do! :) The immediate issue is that, if I achieve this, I'd have to...
  7. G

    Anyone know how to spawn unit?

    P.S. I also have tried creating units of the same type on the same plot, and there is no problem. The functions fire without a problem. So, I don't think there is any issue with placing any number of units (in fact, I've placed up to 10 and more units of the same type on the same plot at the...
  8. G

    Anyone know how to spawn unit?

    I've tried placing units of the same formation class on the same plot, using LUA functions, and the game reacts just fine. However, I do have my PlotUnitLimit set to 3, and I have not tried it with the default PlotUnitLimit. Additionally, I've tried using UnitManager.MoveUnit and...
  9. G

    LUA Code Help - Generating Great Persons

    The following method also works in the in-script context: Game.GetGreatPeople():CreatePerson( iPlayerID, sGPName, iPlotX, iPlotY ) -- where sGPName = GreatPersonIndividuals.GreatPersonIndividualType string, as in: "GREAT_PERSON_INDIVIDUAL_EL_GRECO" However, I still can find no way to get the...
  10. G

    Lua Objects

    My pleasure :) ! @Infixo suggested that I try them, and they worked well for me. If they work for initializing combat, please let me know! I spent a couple of hours tonight sleuthing out a few more events and parameters that might be missing from the excel table. Here they are: function...
  11. G

    LUA Events

    For anyone interested, here are a few LUA events and parameters I've been able to identify: function OnNationalParkAdded( iPlayerID, iParkRootX, iParkRootY ) -- main chunk -- Events.NationalParkAdded.Add( OnNationalParkAdded ); -- iParkRootX: coordinate X of the National Park's tower (the...
  12. G

    Lua Objects

    I am posting here a few of the function arguments and event parameters that I have sleuthed out. They may have already been posted, but, if not, here they are. I have more, and I'll keep on posting them here for everyone's convenience. Cheers, UnitManager.RestoreMovement(pUnit)...
  13. G

    Mountain Climbing Mod, Failure to Climb & LUA Code - Need Ideas & Help

    I will post this separately in the LUA Objects thread, but here are the arguments I used for the following functions: UnitManager.RestoreMovement(pUnit) UnitManager.MoveUnit( pUnit, iPlotX, iPlotY ) UnitManager.PlaceUnit( pUnit, iPlotX, iPlotY ) NOTE: In order to move or place a unit after a...
  14. G

    Mountain Climbing Mod, Failure to Climb & LUA Code - Need Ideas & Help

    I definitely will post the parameters later on today. Cheers.
  15. G

    Mountain Climbing Mod, Failure to Climb & LUA Code - Need Ideas & Help

    Infixo, your tip was invaluable. I now have the full and exact functionality I wanted. Thank you very much! (AND, as a P.S., it turns out that the UnitManager.MoveUnit and PlaceUnit were in the game all along -- my pre-SpringPatch version of the game works just as well with them as the...
Top Bottom