Talk:Lua and UI Reference (Civ5)

From Civilization Modding Wiki
Jump to: navigation, search

Stuff from the old Lua page not yet in the new one, recorded here for reference (from Lua and UI Reference (old version)):

--Deanej 02:11, 22 September 2012 (UTC)

  • Regarding the second link, it is now obsolete as ModBuddy automatically updates the game when you build. The second trick is still valid but not worthwhile enough while the user is already drown under informations, I need a way to address that.
  • Regarding the third link, it was incomplete, it is now mainly obsolete since G&K and I plan to write a "persistent data storage" article to cover the topic anyway.
  • Regarding the first link I still haven't decided: most of the informations presented in it are general ones that add a lot of clutter to the post, some may be obsolete (I need to test a few things), and it does not address the main and harder points. Finally I may write an article dedicated to map scripts to replace it.
  • Regarding the content of the other sections, I already scanned all of them and created a list of the items to salvage on User:DonQuich. ;)
--DonQuich 08:18, 22 September 2012 (UTC)

To be honest, I mainly put that here so I wouldn't forget about the Lua and UI Reference (old version) page when the section stabilizes; at that point we can delete the orphan pages left from the current transition. Feel free to use the Lua and UI Reference (old version) page as a scratch pad for anything that needs to be moved over and to delete any links from there that are no longer needed. On an unrelated note, do you think your bot could be adapted in any way for Python/SDK stuff on the civ4 side? Many of those pages have yet to be created themselves. --Deanej 20:29, 22 September 2012 (UTC)

To be short, no, you would better rewrite everything from scratch. The wiki, lua and XML parser are good to throw out and you would need another XML parser, a Python parser and a C++ one (the funniest of all, do not ever start this if you are depressive) since there is likely to be none available for dotnet (one for C++/CLI only). You could salvage the type inference solver but it's 20% of the work and you would still have to revisit them. All in all I think it would by a project 150% as big as the current one. Count me out and anyway I do not know the civ4 platform. Now if you're interested I am ready to lend you the code but but be aware this would be a daunting amount of work.
--DonQuich 20:56, 22 September 2012 (UTC)