Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Playing Rake-Off I blackjacked a guard carrying a torch.

As usual the torch went out when dropped

So I picked it up again and relit it then dropped it

The torch didn't go out

Is this a setting in the game or just how 2.02 handles it

Posted

Either:

 

1 - it didn't happen to go out that one time (did you try it multiple times?)

 

2 - it only goes out if an AI drops it

 

3 - the code that checks for flame verticality for some reason doesn't look at carried torches

Posted

By default it should go out, like it does with candles etc. if you throw them to the ground and they land on the side.

 

I also don't see a reason why Fieldmedic (if he was the author, it's what I remember) should have changed it.

 

Torches attached to ai are referred to as props. Maybe they behave different to avoid them going out due to their position caused by an anim of the carrier?!

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Posted

I reviewed the code, and a torch that's not carried by the player or an AI should go out if it's not vertical.

 

If you've dropped the torch several times and it remains lit each time, then there's a problem and I'll need a bugtracker issue to look at it.

 

When an AI is carrying a torch and an anim causes the torch to become horizontal, the dousing code won't douse it because it's being carried by an AI.

 

Thanks.

Posted

The root cause is that the flame on a prop torch is always vertical, regardless of the torch orientation, and is exempt from the verticality check. It's doused when an AI drops it because that situation is specifically looked for.

 

The solution is to also douse the torch when the player drops it.

 

Fix is ready, I'm just awaiting the issue being filed.

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.

×
×
  • Create New...