ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Nov 23, 2017 1:29 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Field of View/FOW
PostPosted: Thu Sep 21, 2017 7:17 am 
Offline
Low Yeek

Joined: Sat Sep 16, 2017 7:43 am
Posts: 5
I have been tinkering with making my own addons for personal use, and came across this thread about (FoV) Large Actor Recursive Shadowcasting --- viewtopic.php?f=45&t=35232

I have messed around with this and got to wondering... is there a way within the engine, or the tome game files that you can completely remove field of view (FoV) limitations and or "Fog of War" (dark areas that you have yet to explore in a given location)? By this, I mean an entire level, lets say a dungeon, that is totally visible regardless of where your character is located, completely negating FOV. You would be able to enter a dungeon and the entire map, including enemies at the other end was visible.

Basically, as if you were not seeing things based on the tile your character currently occupies, but looking down on the dungeon from above with total vision of everything on that particular level of the dungeon.

Is this possible within the game or engine? I realize this is cheating and not how the game is meant to be played (it would be boring), but I would like to use this for purposes of testing some things with my tweaks and or addons. I could also make a lantern have light radius of an extremely high value so that the light limitation wasn't an issue if need be...


Top
 Profile  
 
 Post subject: Re: Field of View/FOW
PostPosted: Thu Sep 21, 2017 9:57 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5514
The source is completely accessible, so I don't see how it couldn't be possible.

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
 Post subject: Re: Field of View/FOW
PostPosted: Thu Sep 21, 2017 5:59 pm 
Offline
Low Yeek

Joined: Sat Sep 16, 2017 7:43 am
Posts: 5
Well I have been looking through just about everything and haven't really found anything..... can anyone point me in the right direction?


Top
 Profile  
 
 Post subject: Re: Field of View/FOW
PostPosted: Thu Sep 21, 2017 7:44 pm 
Offline
Perspiring Physicist

Joined: Thu Feb 17, 2011 5:20 am
Posts: 889
My knowledge of t-engine and ToME4 are rusty, but I would look at the debug dialogue if I were you:

game/modules/tome/dialogs/debug/DebugMain.lua

There is a "godmode" option that provides "game.player.esp_all = 1" and "game.player.esp_range = 50".
There is also a "magic_map" option that reveals and lights all tiles (including traps).

_________________
darkgod wrote:
OMFG tiger eye you are my hero!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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