• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

[Vanilla] R&F support, lua scripting & MORE

fb2017

Chieftain
Joined
Oct 8, 2017
Messages
53
Hugh... Where should I begin?

So I'm new to Civ 6 modding, and the XML part is relativly easy, but the LUA is a little bit more complicated. So
here's my questions?

Question 1: My mod doesn't work with R&F
So when I'm using R&F my civ won't show up, but if I turn it off it does show up. Do I have to write something more in the XML for it to work if R&F? I'm using the template that Firaxis created.¨

Question 2: Basic lua
Is Civ 6 almost the same as Civ 5 when it comes to modding in lua? How can I for example check if the player is playing as a certain civ? How do I check what era the player is in? How do I give the player a great person?
If you could answer one if not all of these questions that would've been great! Please respond with ALL the code.

Question 3: Lua documentation?
It's hard for me to find real good lua documentation for beginners, do you have any good sources to recommend? I should also note that I ain't new to programming, just the Civ 6 library.

Thanks in advance!
 
Back
Top Bottom