ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Fri Dec 14, 2018 9:29 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jan 12, 2012 4:43 pm 
Offline
Yeek

Joined: Fri Jan 06, 2012 9:29 pm
Posts: 11
I'm not sure if this is the right forum for module/mod development questions, but...

I'm taking my first steps into mod development, by attempting to implement a simple cover system for ranged combat. My first stop was the 'grids.lua' file under '/data/general/grids/' in the example module, to take a look at how I might flag a grid tile as something that represents a piece of cover.

While I was there, I noticed that each default tile references a tilemap image under a directory called 'terrain'. But I can't seem to find that directory.

Anyone know where that directory is located?

Thanks,
Corporate Dog


Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 6:12 pm 
Offline
Sher'Tul

Joined: Mon Nov 24, 2003 2:31 pm
Posts: 1252
Location: South Africa
I believe it's the graphics tile. Under /data/gfx/shockbolt/terrain (similarly mushroom/terrain)


Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 7:33 pm 
Offline
Yeek

Joined: Fri Jan 06, 2012 9:29 pm
Posts: 11
Canderel wrote:
I believe it's the graphics tile. Under /data/gfx/shockbolt/terrain (similarly mushroom/terrain)


Errr.... I don't see such a directory in the b37 Windows distribution.

I assume, then, that the ToME module resources get packaged up into some form of library/binary file, and I'll need to grab the source distribution if I want to see them in their natural form?

Regards,
Corporate Dog


Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 11:11 pm 
Offline
Sher'Tul

Joined: Mon Nov 24, 2003 2:31 pm
Posts: 1252
Location: South Africa
It's just a zip file.

You can just rename it .zip (or leave as .team) and extract it. You'll find it in there.

(The big .team file, not the boot one.)

Warning: Your games won't validate against an extracted team file, but it will still run.


Top
 Profile  
 
PostPosted: Fri Jan 13, 2012 10:11 pm 
Offline
Yeek

Joined: Fri Jan 06, 2012 9:29 pm
Posts: 11
Canderel wrote:
It's just a zip file.

You can just rename it .zip (or leave as .team) and extract it. You'll find it in there.

(The big .team file, not the boot one.)

Warning: Your games won't validate against an extracted team file, but it will still run.


Ah! Thanks for the assist!

Regards,
Corporate Dog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group