6633ca408378a

6633ca4083e2d
4 Guests are here.
 
6633ca40847a2
hmm.... strange...
Modelwise it should be the same as the newt01.bin now, except the extra vertex which makes the box bigger.
I'm not so familiar with anything Thief, so how does the engine know where to put the dowsing effekt?

Maybe it's just some awkward coordinate based thing which is now fucked up because the box of the model changed. I wouldn't be surprised.

6633ca408492eZylonBane

6633ca408499c
Okay, here's the deal--

Given a model's E file, and a copy of BSP.EXE, you can optionally provide this command line parameter to translate the generated object the desired amount along the desired axis:
Code: [Select]
-t<x|y|z><#>     : translate object
For example, this will shift the object 10 units along the Z axis.:
Code: [Select]
bsp myobject.e -tz10
I'm guessing this command uses the same coordinate scale as the objects themselves, but don't quote me on that.

6633ca4084b47voodoo47

6633ca4084b99
I had a look at all (because the fire moving is actually a set of models switching around, newt02-05) the torch models in the editor, and looks like it's one of those "hey, lets do something insane here" cases. each model has a different z-size, so I assume there is some sort of special handling taking place that prevents the model from jumping around (however, it doesn't work unless the torch is in a perfect vertical position, and as soon as you give it pitch or bank, the model will start to jump around).

that said, I think fixing this will be a lot of fun pita, so ye be warned.
6633ca4084cd0
Well if they do some special wonky thing inside the engine there, there is not much I could do as long as no one is able to remove that stuff.

I haven't witnessed it ingame now, so my first guess is that they move it around in world coordinates and not based on the model coordinates.

6633ca4084d91voodoo47

6633ca4084ddf
attaching a set of torch models that does not have the jumping around problem, maybe it could be compared to the orig set and find out what's going on.

6633ca4084ebevoodoo47

6633ca4084f0d
no idea why didn't I think about this before - please flip the T2 torch set 180 degrees around horizontal (X) axis so they could be used in T1.

[T2torches.7z expired]
6633ca4084fe6
Aren't the "nojump_torch" already what you request?

6633ca40850acvoodoo47

6633ca40850f9
no, as they lack the fire effect, and actually, I think that is the reason why they aren't jumping around. anyway, a little jumping is not a big deal, the missing flame is - so the second set flipped around would be preferable.
6633ca4085202
OK.
But they have a different dimesion than the original T1 ones. Should I jiggle juggle them around so it fit's the old model, or just rotate and be happy?

6633ca408529dvoodoo47

6633ca40852e8
it would be nice to have them fit the old model - lets hope this won't break them in any way.
6633ca40854b4
Did some testing with the torches and I think I found a good way to do it.
As I am not that familiar with thief, could you tell me how I can create an unlit torch and how I light it ingame?

6633ca40855efvoodoo47

6633ca408566e
not sure what do you want to do, but the easiest way would be to just use the same names for the torch replacement models, drop them into a modpath folder (that would be usermods\obj in a TFix install - can specify your own in cam_mod.ini), find a torch in a level (the first one has them right at the beginning), and check things out. the torch behavior is mostly handled by two things - the Extinguishable script, which takes care of dousing/relighting, and tweq, which makes it "burn", meaning it switches the models around so it looks like the flame is burning. took me a very long time to figure out how this works.

if you want to set up some object as extinguishable/torch, you will need three things on the object - renderer/animlight (minimum must be 0, max whatever you like, usually around 100), the Extinguishable script, and Tweq set up properly (varies on how many models you want to cycle, and how exactly should the effect look like).
6633ca40857e0
I wanted to know how to set it off and what I need to do ingame to switch it on and off.
(I actually never played any Thief game  :stroke: ).

Anyway, I started working on it and I would say this one should work.
What I found out was that the Tweq/MiscC/Anchor setting is responsible for keeping the torch in place even though they have different dimensions.

With the models I made now you won't need this setting anymore (but it also doesn't hurt to have it enabled).
You can also tilt the model now without it going jumpy.

Thief doesn't need any bbox information as there are no bracets or whatsoever, right? I didn't set up any bbox and the actual model now does have a bigger size than the old one.

6633ca40858ecvoodoo47

6633ca4085943
yes, and you are right. model working ok so far, none of that weirdness that happened with dousing after attempting to fix the orig set. however, there is some sort of weird lighting thing going on when the models are switched around, see the video (might take a few minutes until it's processed).

https://www.youtube.com/watch?v=zjiEBwxKhmc
6633ca4085a30
You mean the texture jiggling on the torch itself?
That was already part of the models you gave me.

6633ca4085af7voodoo47

6633ca4085b42
woah, you are right. I have no idea what's going on, those models are the latest EP2 models, and they are not doing that when used in T2 as far as I know. attaching the EP1 set, looks while it still has the same problem, it's doing it much less. it'd be great if you could make it not do that of course.

[ep1_toches.7z expired]

6633ca4085beaZylonBane

6633ca4085c35
The animated polygon "flames" in Thief are the worst, most poorly-considered effects in the entire game. With NewDark adding proper support for bitmap particles and axially-locked sprites, there's no excuse for keeping them.

6633ca4085cfbvoodoo47

6633ca4085d4a
the problem is that I'm just not smart enough, and it takes me oh so long to learn new editor things. like setting up proper NewDark torch particle systems, for example.

but will have to learn it eventually, as I plan to ship TFix 2.0 with proper candle flames, not those puffy temporary things that are in the T1 unified demo. until then, whatever Olfred is going to throw at me will have to suffice.
« Last Edit: 01. July 2014, 20:05:18 by voodoo47 »

6633ca4085f33voodoo47

6633ca4085f87
yeah, these work fine - off into TFix 1.19k 1.20 they go. thanks.

//quick note; a lot of lights, trophies, and generally stuffs that hang on the walls are missing backs. the updated bell used in TafferPatcher does not move.
« Last Edit: 04. August 2014, 19:38:35 by voodoo47 »
6633ca40863a7
Thief doesn't need any bbox information as there are no bracets or whatsoever, right?
It might be needed for proper highlighting of frobbables. Frobbably.

6633ca4086540voodoo47

6633ca4086593
ok, linking both updated Thief bells, one is static, the second one does swing, but not in a normal way (the wooden beam definitely shouldn't move together with the bell). Olfred, any chance you could make it behave at least somewhat realistically? the original lowres model that moves properly is attached. also, any chance something could be done with the clapper* of the enhanced model? it would be really awesome if it could swing independently of the bell itself..

http://catmanofiowa.com/RSoul/bellt2.zip
http://catmanofiowa.com/RSoul/bellswing.zip


*how very unromantic. it's called the bell's heart in my native tongue.
« Last Edit: 14. March 2023, 12:55:02 by voodoo47 »
6633ca4086796
The bellswing looks right to me.
You are able to move the clapper and the bell moving together with wooden beam is absolutely correct, just some details are missing for it to really look properly.

Also the bell2.bin you linked is completely static, no moving parts.

Your name:
This box must be left blank:

How can you ____ a perfect, immortal machine? (Fill in the missing word):
4 Guests are here.
I love the way you write and share your niche! Very interesting and different! Keep it coming!
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6633ca40868f4