[Done for V0.39] Torches on walls that cast light
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
[Done for V0.39] Torches on walls that cast light
Heh, I'm on a roll here...
Would it be possible to make a variation of the torch sconce that can hold a lit torch? I'm thinking I'd like to clone this object and make an animated torch that's burning (like in DM2). The main issue here is that the burning torch would cast light, which I imagine would be tricky to implement given that RTC doesn't use any kind of 'localised' lighting...
Would it be possible to make a variation of the torch sconce that can hold a lit torch? I'm thinking I'd like to clone this object and make an animated torch that's burning (like in DM2). The main issue here is that the burning torch would cast light, which I imagine would be tricky to implement given that RTC doesn't use any kind of 'localised' lighting...
If you could have soundless explosions somehow, then you could explode fireballs inside the wall as long as the torch was in the sconce...that would also lead to a flickering effect
Don't know if whatever code governs fireballs and lighting could be further adapted in the code to make this a neater idea (such as a one square range 'light' ball that explodes, no sound)
Don't know if whatever code governs fireballs and lighting could be further adapted in the code to make this a neater idea (such as a one square range 'light' ball that explodes, no sound)
- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
I was experimenting with this effect the other day Beo and it kind of works, but the level's ambient lighting needs to be set quite low. It's a bit too uniform too: I have the party trigger some shooters on dungeon entrance that then bounce the fireballs between some hidden teleporters very close to the torches (but hidden behind the walls). The way the screen flickers is a bit too smooth, but you could probably randomise this using giggler activated teleporters. This makes the mechanism quite complex and it would need to become even more complex if you wish to remove and replace the torhc and thereofre have the flickering come on and off....
How about a WALLITEM_FLICKER, GG?
How about a WALLITEM_FLICKER, GG?

- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Done for V0.39.
There's now a new object FLOORITEM_LIGHT which has a strength (which determines how much light is produced). The light is localised to the tile that the item is on so it gets brighter / darker as you would expect.
You can do the flickering yourself, by having a few of them on the same tile and toggling them off/on using relays with different probabilities of firing.
This also means you can do things like the DM2 sconces and fireplaces (have a wallitem of a fireplace with a trigger that's activated by a lit torch that turns the light object on - and a relay with a long delay to turn it off again).
There's now a new object FLOORITEM_LIGHT which has a strength (which determines how much light is produced). The light is localised to the tile that the item is on so it gets brighter / darker as you would expect.
You can do the flickering yourself, by having a few of them on the same tile and toggling them off/on using relays with different probabilities of firing.
This also means you can do things like the DM2 sconces and fireplaces (have a wallitem of a fireplace with a trigger that's activated by a lit torch that turns the light object on - and a relay with a long delay to turn it off again).
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
True. I'm looking forward to all the new stuff in 0.39.
Every time I get my dungeon close to being finished there's another load of stuff I can use to create levels. Dungeon with 3000 levels anyone?
I always remember being dissapointed with DM2 when it came out. It was one of the first games on CD ROM and they were going on about how a single CD ROM could hold 10 times more than a floppy disk - and I knew that the Dungeon Master floppy disk had 16 levels so logically I was expecting a dungeon with 160 levels. Imagine my dissapointment to find that virtually as soon as you get into the castle - the REAL dungeon, I hate outside bits - that was nearly the end of the game!
Every time I get my dungeon close to being finished there's another load of stuff I can use to create levels. Dungeon with 3000 levels anyone?
I always remember being dissapointed with DM2 when it came out. It was one of the first games on CD ROM and they were going on about how a single CD ROM could hold 10 times more than a floppy disk - and I knew that the Dungeon Master floppy disk had 16 levels so logically I was expecting a dungeon with 160 levels. Imagine my dissapointment to find that virtually as soon as you get into the castle - the REAL dungeon, I hate outside bits - that was nearly the end of the game!
Last edited by Chaos Awakes on Mon May 22, 2006 9:13 pm, edited 1 time in total.
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
He he, your post looks silly now (sticks tongue out). I realised what I'd said and edited my post to make a totally different comment while you were obviously posting yours lol.
Of course, now you'll probably edit your post so it says something about horses and this post will look even odder. - I like lollipops btw
Of course, now you'll probably edit your post so it says something about horses and this post will look even odder. - I like lollipops btw
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
Um, what's odd about 16x10=160.
When they are pushing a new format that holds 10 times more, you expect them to use it to the limits and fill it with as much stuff as possible. I waited years for DM2 to come out - my friend gave me a demo version of it at least 2 years before the game came out - and boy was I dissapointed.
When they are pushing a new format that holds 10 times more, you expect them to use it to the limits and fill it with as much stuff as possible. I waited years for DM2 to come out - my friend gave me a demo version of it at least 2 years before the game came out - and boy was I dissapointed.
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
A CD-ROM can hold something more along the lines of 250 times the capacity of a floppy disk so that means you were clearly expecting a dungeon with 4000 levels, right? 
Anyway, my point is, sheer capacity of disc is not all the only concern here-- not by far. There is efficency of program code, designer time, etc... there's a lot more at work here than just "hey, more space, let's make tons more levels." You want a GOOD game coming out of all this, not just a big one, right?

Anyway, my point is, sheer capacity of disc is not all the only concern here-- not by far. There is efficency of program code, designer time, etc... there's a lot more at work here than just "hey, more space, let's make tons more levels." You want a GOOD game coming out of all this, not just a big one, right?
Last edited by Sophia on Mon May 22, 2006 9:23 pm, edited 1 time in total.
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
-
- Artisan
- Posts: 187
- Joined: Sat Jan 22, 2005 2:50 pm
- Location: Ipswich, UK
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Ah, I remember that! The Dungeon Master Saved Games disk was an item forged from weeks of work with care and attention into your party, training them and collecting things. You could always replace the Game disk, but if anything happened to your saves disk you were screwed...
*melts into happy nostalgia*
*melts into happy nostalgia*
DesBroDain: Yes, DM had been programmed pretty efficient. And I know a couple of really marvelous games that got along with just 64KB when they were released on even older machines. The probelm is, that many programmers nowadays don't give a flying f*ck about such efficiency today, because the adressed users just have enough ressources on their latest machine, so they don't feel it to be a problem to waste ressources, after all there are enough of them. Of course, ressources-wasting programmers cause people to upgrade there hardware more often in order to stay compatible, which in turn causes those programmers to waste even more ressources and so on. And modern software and game companies feel this to be ok because it shortens refining and debugging time, so programmers can be expected to keep deadlines, which they usually didnt do at DM's time. After all FTL - "Faster than Light" was kinda joke back then, because they certainly were among the slowest known game designer teams, yet 'til today one of the damn best ever.
BTW: What made you choose DesBroDain among all DM syllables to be your nickname? Banish wisdom potions? Sounds a bit like forswearing psychotropic substances imho.
BTW: What made you choose DesBroDain among all DM syllables to be your nickname? Banish wisdom potions? Sounds a bit like forswearing psychotropic substances imho.
Parting is all we know from Heaven, and all we need of hell.
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Not if you had two disk drives!Ameena wrote:The annoying bit was that you had to swap disks every time you wanted to save the game...and therefore also when you wanted to load it.
Ah, the good old days, when having a second floppy drive meant you'd arrived... nowadays they sell computers with NO floppy, and people are fine with it!

I chose it years ago actually...Lunever wrote: BTW: What made you choose DesBroDain among all DM syllables to be your nickname? Banish wisdom potions? Sounds a bit like forswearing psychotropic substances imho.
The element of the void, symbolised by a desolate landscape.
The form of brotherhood, friendship and mutual support.
The class and alignment of the magical realm.
It meant something along the lines of: I may be alone in the world, but I'm eager to help and I'm kinda intelligent. (As opposed to being tough or fast, etc.)
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
The two cases that never cease to amaze me are Elite in 16K, and SimCity in 32K.Lunever wrote:And I know a couple of really marvelous games that got along with just 64KB when they were released on even older machines.
- Elite because of the sheer volume of information that was displayed (all auto-generated of course). I think my favourite stat from that is that the four universes are all generated from the same seed int, each universe being a ROT permutation of the same four bytes purely to save on space!
- SimCity because of the complexity of the game. An enormous quantity of data, user-interaction and complex control system, not to mention graphics (which always sucks up memory).
Both amazing technical achievements.