Page 1 of 1

Questions from a newb.

Posted: Sun Oct 26, 2014 12:21 am
by TrixieWolf
Hey guys. I'm currently in the infancy of working on an Ang variant. It's based on vanilla, and I'm changing a lot of stuff including pulling in Z's magic system.

T4 looks pretty amazing, and I'm fairly certain that Lua > C even though I don't know Lua just yet. :) This tempts me to switch gears, but I'm almost certain it would be faster to muck through awful C code to get what I want than to attempt to turn T4 into anything resembling Angband.

With Angband and variants at least I have access to editable files, and the source is easy to locate and modify (if more than a bit convoluted). I can't find anything in the ToME dl packages except a tree of examples, which while thorough, haven't revealed enough to me yet.

My questions are these:

0) Is T4 set up so generically that you have to create the code for things like character stats, attacks, movement, anything-other-than-basic-UI, etc.?

1) Is there a library of monsters, spells, images, actions, etc. that we can use, or does all this need to be created from scratch? If this is available, where is it?

2) What you would recommend in my situation?

Many thanks for your time and response!

Re: Questions from a newb.

Posted: Sun Oct 26, 2014 5:44 am
by PureQuestion
In the ToME installation folder, open game/modules and open the file tome-1.2.4.team using WinRAR. This is the lua source code of ToME itself, as loaded into T-Engine.

Re: Questions from a newb.

Posted: Sun Oct 26, 2014 6:03 am
by grayswandir
Similarly, game/engines/te4-1.2.4.teae is also a zip file.\

Re: Questions from a newb.

Posted: Sun Oct 26, 2014 2:17 pm
by TrixieWolf
Thank you both!

Re: Questions from a newb.

Posted: Sun Oct 26, 2014 3:10 pm
by Marson
In simple terms, the 'engine' handles the UI, movement, combat, etc.: the core functions. The 'module' is the data that gets plugged into the engine that fleshes out the specific details, so things like race, class and weapon stats, talent functions, level maps, etc. You can think of the engine like the 'd20 system' and a module like '4th ed D&D + a campaign'.

Re: Questions from a newb.

Posted: Sun Oct 26, 2014 5:42 pm
by TrixieWolf
PureQuestion wrote:...using WinRAR.
Also--not that this was requested, but WinRAR is just terrible. :P I use IZArc.

Feel free to ignore that gripe. :)

Re: Questions from a newb.

Posted: Wed Apr 13, 2016 11:43 pm
by Ambrelium
How to compile on premake4?

Re: Questions from a newb.

Posted: Fri Apr 15, 2016 1:49 am
by 0player
Just download and run premake4, it's a single file. It will generate a makefile for you, so you can then make.

(Also, welcome to the lua land! we count from 1 here :D)