Location of default Tilemap images?

Moderator: Moderator

Post Reply
Message
Author
Corporate Dog
Yeek
Posts: 11
Joined: Fri Jan 06, 2012 9:29 pm

Location of default Tilemap images?

#1 Post by Corporate Dog »

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

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Re: Location of default Tilemap images?

#2 Post by Canderel »

I believe it's the graphics tile. Under /data/gfx/shockbolt/terrain (similarly mushroom/terrain)

Corporate Dog
Yeek
Posts: 11
Joined: Fri Jan 06, 2012 9:29 pm

Re: Location of default Tilemap images?

#3 Post by Corporate Dog »

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

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Re: Location of default Tilemap images?

#4 Post by Canderel »

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.

Corporate Dog
Yeek
Posts: 11
Joined: Fri Jan 06, 2012 9:29 pm

Re: Location of default Tilemap images?

#5 Post by Corporate Dog »

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

Post Reply