Recent content by Geekob

  1. Geekob

    [GS] Gathering Storm LUA Objects

    I tried looking in some Civ GS lua files and I found this, it should return number of points towards specific vistory. I found it in CivVI\DLC\Expansion2\UI\Replacements\WorldRankings_Expansion2.lua :670 Game.GetVictoryProgressForTeam(victoryType, teamData.TeamID);
  2. Geekob

    Requesting UI from Gameplay

    Hey guys, I was wondering if any of you know how to call UI from gameplay. In black death scenario there is UI.RequestPlayerOperation that is calling custom gameplay events through EXECUTE_SCRIPT operation. But backwards I found only UnitManager.ReportActivation, or from notificationmanager...
  3. Geekob

    Why Can't People in MP Play anything but Dom?

    I think that problem is, that culture and religion pay up only later on. I mean science is passive stat and always will, I cant imagine having scientists attacking cities, its only used for strengthening infrastructure and military. But culture and religion dont have to be so passive stats...
  4. Geekob

    Visibility problem

    Oh you didnt ask me. I just saw post on my thread so I thought you asked me :D
  5. Geekob

    Visibility problem

    I personally use this spreadsheet https://docs.google.com/spreadsheets/d/1HQSUOmw_pI8dNSr1kmun4qAHj6SsOVfa1vGTbk5mVvs/edit#gid=0 .It is extremely helpful. Most if not all known functions are there. And CTRL+SHIFT+F in notepad++ through civ 6 lua files is very helpful if you want to see usage...
  6. Geekob

    WorldBuilder functions not working

    Oh, okay then. I still dont understand why Firaxis didnt release any API reference. I wonder if they ever will.
  7. Geekob

    WorldBuilder functions not working

    Ok nevermind, i found them :D Im just blind. But I still have problem with many functions that I dont know what arguments they take. And lua will tell me just that there is problem with calling that function, nothing like "function requires arguments string, int instead of int int".
  8. Geekob

    WorldBuilder functions not working

    It works. Thank you :) Btw where do you find this stuff? Only reference about functions I found is this https://docs.google.com/spreadsheets/d/1HQSUOmw_pI8dNSr1kmun4qAHj6SsOVfa1vGTbk5mVvs/edit#gid=896382342 . Or I look for functions in civ lua files. But these what you`ve mentioned I didnt find...
  9. Geekob

    WorldBuilder functions not working

    I found some useful functions in worldbuilder lua files but it seems im not able to use them. Its kind of weird since I can run those commands in runtime through firetuner. Lua doesnt throw any error, it just doesnt execute them. Im using ImprovementBuilder also, and it works even outside debug...
  10. Geekob

    [SOLVED] Lua cross-referencing?

    Yeah I found that post. Trying to apply that somehow. Thanks
  11. Geekob

    [SOLVED] Lua cross-referencing?

    Oh, thats sad lol.
  12. Geekob

    [SOLVED] Lua cross-referencing?

    I want to make Utils file for some utility functions, but I cant do that for some reason. I used require("..."), include("..") but nothing seems to work. I included that Utils.lua into LuaScripts, but console is still crying about not knowing the used function. Am I missing something? include...
  13. Geekob

    Visibility problem

    but thanks anyways ;)
  14. Geekob

    Visibility problem

    I think its somehow connected to that improvement. Outer borders lose visibility (since you cant see 2 tiles wide area after border removal) but that improvement tile keeps its visibility even after border removal. I tried to add some more improvements around fort and then pillage it and those...
  15. Geekob

    Visibility problem

    oh, thanks man. Could you tell me what arguments it takes? I tried PlayerVisibility[0]:ChangeVisibilityCount(plot,0) but lua throws error.
Top Bottom