#1 2019-02-10 03:20:42

Source
Member

Variables

I'm making a small mod and was wonder how do i edit variables such as health and speed?
I've looked all over the files and can see that variables are referenced but never given a direct value

Offline

#2 2019-02-10 13:05:47

Suiseiseki
Member

Re: Variables

Well, if you are on Linux, all you need is:

- open Terminal in "tesseract/src/" directory or 'cd' to it...
- run 'grep -R health *' command to see where word "health" appears in source-code...
As for Windows or Mac, I have no idea...

What I've got is in "tesseract/src/game/" directory, game.h, game.cpp, server.cpp, client.cpp and few other files...

That's at least how I mod Tesse... With 'grep' abuse.

Offline

Board footer