Recent content by SorFox

  1. S

    [TOT] Lua code snippet to use land units as a transporter

    That was the plan. And I really do appreciate it. Thanks!! However, to be fair and honest, not for nothing I named in the acknowledgment especially the two last guys… ;) I was aware that this feature is expandable and adjustable to a lot of different settings. However, I barely imagined the...
  2. S

    [TOT] Lua code snippet to use land units as a transporter

    Since this issue seems to be a potential show-stopper I would like to share my thoughts – and in later posts I will comment the great feedback I got so far. Already big thanks, this thread has yet become a good example how a feature gets better by the cooperative work within the community! To...
  3. S

    Lua Scripting Possibilities

    Thanks again, @Prof. Garfield!! I guessed this would be the answers but wanted to make sure my assumptions/finding were right. I will do it with the manually created table upfront you suggested, but with a much easier to realize solution than with the 'creating/teleporting a city' thing...
  4. S

    [TOT] Lua code snippet to use land units as a transporter

    Hi tootall_2012, Thanks for your warm words! But could it be that you mistake me for someone else? Honour to whom honour is due, which in this case – if I associate correctly – is "FoxAhead". Maybe I should change my name, too many foxes around here … ;) Although he’s also an autodidact on...
  5. S

    [TOT] Lua code snippet to use land units as a transporter

    I am! :lol: But now – after you said that – even more, thanks! Your enhancement is definitely needed in order to make the code more scalable and dynamic. Good point, this will go into version 2.0, where also a "dialog:addCheckbox" function should be integrated. Currently, if the truck is full...
  6. S

    Lua Scripting Possibilities

    First of all: Merry Christmas! :) I think this thread is again most appropriate to address my three Lua related questions. Topic: terrainType (get/set) tile.terrainType -> integer 1. Is it possible to write a query in order to check for the presence of tiles with special resources? I am...
  7. S

    [TOT] Lua code snippet to use land units as a transporter

    As far as I am aware of, the topic has been of interest for scenario developers quite a while. Many within the community have addressed the issue about transport mechanics to TheNamelessOne as well, but it was – sadly enough – never part of one of his releases. However, I think with Lua he gave...
  8. S

    Personal Messaging

    Hello Petek, I've the same issue with not beeing able to upload a file in a direct conversation. Would be great if you could enable that for me as well in order to start working on a project with another forum member. Thanks in advance!
  9. S

    [TOT] New Supply Lines module for Lua events

    Thanks for your encouraging answer, Knighttime! I am absolutely with you, not to take away the incentive trying to encircle the AI as a human player. It is fine just as it is implemented. Yes again, I am aware of the different implications if talking either of unit, or unit type level -- and I...
  10. S

    [TOT] New Supply Lines module for Lua events

    The issue was meanwhile raised a couple of times, e.g. by JPetroski, or Manuel Re [#206] -- and I feel with this supplyLines module we got the tool in order to tackle it in a very smart (i.e. for the player easy to handle) way. Nonetheless, I have the greatest respect for the conceptual and...
  11. S

    Lua Scripting Possibilities

    To give another editor option, that colours Lua code properly: http://luaedit.sourceforge.net/download.html "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License […] LuaEdit is powerful script editor and debugger for the 5.1...
  12. S

    Lua Scripting Possibilities

    @Prof. Garfield: It works! Sounds logically. But while trying to fix it myself before and now reading what the real cause was, the more it becomes obvious to me, how valuable it is to have people like you around. Thanks a lot! :goodjob:
  13. S

    Lua Scripting Possibilities

    @Prof. Garfield: Only after careful reading your helpful comments I eventually applied the code itself, getting this fault reporting “…f Time\Scenarios\[…]\Events.lua:39: attempt to index a nil value (global 'activeTile') stack traceback: ...f Time\Scenarios\[…]\Events.lua:39: in function...
  14. S

    Lua Scripting Possibilities

    Thanks mate! :) And yes, I have a special project in mind, but since this is ages away from being published, I am just having fun exploring these wonderful new options for event writing. No question about that… ;) Wow, I would like to say a big “Thanks” @Prof. Garfield – your answer is more...
  15. S

    Lua Scripting Possibilities

    Hi to all Civers, @JPetroski: I am following your initiative to apply Lua in Civ scenarios with great interest. Hope, you don’t mind if I address my Lua issues here as well? Just as you said: I think it’s a good idea to have individual “scenario creation threads” like your “Over the Reich” on...
Top Bottom