Jump to content
The Dark Mod Forums

Gas light entities not extinguishable?


Springheel

Recommended Posts

I don't know who organized the light entities into the current categories, but I wonder if anyone can explain the logic in having atdm:lamp_wall_gaslight_03_lit not extinguishable? It has no visible flame and cannot be put out by water arrows. It is listed in the "switchable/gas" folder in DR.

 

It appears that none of the three lights listed under switchable/gas have visible flames nor can they be extinguished by water arrows. This is clearly an oversight...obviously gas lights need a flame to actually give off light.

 

I'd like to move these entities somewhere else (even though they'll still have "gaslight" in the name--can't change that), and make new gas entities that have an actual flame. Moving them in DR won't affect any maps. Just wanted to check and see if anyone knew of a good reason why they're set up the way they are.

 

 

 

post-9-0-22457500-1436107687_thumb.jpg

Link to comment
Share on other sites

They should certainly be extinguishable. To be completely realistic, they'd be extinguishable and not relightable, but that might be going too far for existing maps. Gas lights like that have a cloth mantle that spreads the gas and provides the surface where the combustion takes place. After they've been lit, that cloth mantle becomes a delicate structure of ash that'll keep its shape for weeks as long as it's not touched. But if it's touched, even by a human breath let alone a drop of water, it crumbles to dust and needs to be replaced before you can relight the lamp.

 

My childhood holidays were spent in a succession of cottages in the middle of nowhere that had no electricity and so were lit by those things, fed from butane or propane canisters outside the premises. I couldn't resist experimenting at that age and often got blamed for broken mantles.

Link to comment
Share on other sites

I don't know why they were set up as they are.

 

There's no AIUSE_LIGHTTYPE_GAS. Only TORCH and ELECTRIC. (Why? I don't know.)

 

Gas lights are somewhere between TORCH and ELECTRIC. They have a flame (TORCH) and they can be turned off/on with a wall switch (ELECTRIC). Our gas lights are treated as ELECTRIC for the purposes of relighting and dousing.

 

If you change things around, we might have to create AIUSE_LIGHTTYPE_GAS to expose the uniqueness of gas lights, and I would need to revisit the relighting code to see if changes are needed.

Link to comment
Share on other sites

I've had candles that could be pinched out and also turned on and off with a switch. The only hitch was that the on/off switch just changed the current state of the light. Pulling down on the lever turns the light on if it's already off, and off if it's already on.

Link to comment
Share on other sites

I guess that's something for the relight code to consider. I'm not familiar with candles that can be toggled by a switch. Do you have one you can point me to?

 

They all can nowadays. Obs added a stim response to the script that responds to activation and calls the Toggle function in the script.

Link to comment
Share on other sites

I set one up when I was testing the new smoke particle by just targeting a candle with a switch.

Link to comment
Share on other sites

It wasn't a real case, it was just for testing. I'm not sure what the practical application would be, except that it shows that gas lights (switchable AND extinguishable) are already possible.

Link to comment
Share on other sites

I'm afraid I don't understand a switch on a candle.

 

In real life, how would it work? A little mechanical cap comes out of a compartment and snuffs out the flame?

 

The aim was to give mappers the option of controlling flame based lights without having to use scripts. It doesn't have to be a literal switch that they use: it could be any kind of trigger.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 0 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...