How to use LUA print ?

cyrilp

Chieftain
Joined
Apr 6, 2011
Messages
17
Hi,

i'm trying to dev a mod.

Could anybody tell me how to use the LUA print command ?

this would me a lot to debug my code.

thanks,

Cyril
 
It will be in the lua log
also if you use firetuner you can see it while game is running (lua panel)
Thanks,

Where is the lua log to be found ?

i don't know anything about firetuner, do you know where i can learn how to use it ?
 
C:\Users\YourComputer\Documents\my games\Sid Meier's Civilization VI\Logs

firetuner for VI is not out yet, but the one for V worked for somethings.
If you don't have it, you can look on steam- click on library - tools and look for civ v sdk
If all your doing is using it to monitor lua output, there isn't much you need to learn. Just start it, it should connect to game, if not there is a connection option at top.
 
C:\Users\YourComputer\Documents\my games\Sid Meier's Civilization VI\Logs

firetuner for VI is not out yet, but the one for V worked for somethings.
If you don't have it, you can look on steam- click on library - tools and look for civ v sdk
If all your doing is using it to monitor lua output, there isn't much you need to learn. Just start it, it should connect to game, if not there is a connection option at top.
Thanks for you help !

Firetuner doesn't connect.

i have tried to click on Change Connection, the dialog is giving me this ip and port: 127.0.0.1 : 4318

Is this correct ? when i click connect, nothing is happening.

any idea ?
 
Sorry, forgot you have to enable tuner.
look in AppOptions for :

[Debug]
;Enable FireTuner.
EnableTuner 0

and change to 1
(same directory log and mod folders are in)

Think there may also be option on options page, can't recall
Thanks !
 
Back
Top Bottom