hello guys.
Long time no see, i don't even know if you are still around or alive. Been buisy with this really annoying thing called real life for 3 months. However, i worked a little bit on my gore mod here and there and succesfully merged MP 1 & 2 with Qore and the main game. I's a mountain of ugly code now, but it works without bugs.
A few days back i started to rewrite the particle textfile for FTE and that's where i ran into problems.
I have problems with the tcoord line, which i don't fully understand. Neither i was able to secced by the trial & error method.
In a helpful textfile
- I understand what tscale is for, also i (think) i understand the functions of rsmax and rsstep. But when it comes to <s1> <t1> <s2> <t2> my brain melts. I tried to set them to 0 and only use tscale, rsmax and rsstep, but it didn't work.
Example:
I have a pixelfont with the size of 1024x1024, so tscale is 256 rsmax 8 and rsstep 256. It does not work. That means i don't understand something important. Then i tried to use a single image "texture particles/blood1.tga". It also didn't work.
The only thing that got displayed are the tiny white dots that FTe places instead of the blood images that i want to see. i also tried to convert the darkplaces particle.txt file with FTE, to use it as a base. On some effects it works, on others not. I had a look at the file and all tcoords lines use the values 0.125 0.375 0.25 0.25 1 2 0.125
So my Question is:
What do <s1> <t1> <s2> <t2> mean? How do i use these 4 digits correctly?
btw,
it's nice to be back an running :-)
Long time no see, i don't even know if you are still around or alive. Been buisy with this really annoying thing called real life for 3 months. However, i worked a little bit on my gore mod here and there and succesfully merged MP 1 & 2 with Qore and the main game. I's a mountain of ugly code now, but it works without bugs.
A few days back i started to rewrite the particle textfile for FTE and that's where i ran into problems.
I have problems with the tcoord line, which i don't fully understand. Neither i was able to secced by the trial & error method.
In a helpful textfile
Code:
tcoords <s1> <t1> <s2> <t2> [tscale] [rsmax] [rsstep] 0.125 0.125 0.25 0 1 1 0.125 specifies to use a subsection of the image.
Example:
I have a pixelfont with the size of 1024x1024, so tscale is 256 rsmax 8 and rsstep 256. It does not work. That means i don't understand something important. Then i tried to use a single image "texture particles/blood1.tga". It also didn't work.
The only thing that got displayed are the tiny white dots that FTe places instead of the blood images that i want to see. i also tried to convert the darkplaces particle.txt file with FTE, to use it as a base. On some effects it works, on others not. I had a look at the file and all tcoords lines use the values 0.125 0.375 0.25 0.25 1 2 0.125
So my Question is:
What do <s1> <t1> <s2> <t2> mean? How do i use these 4 digits correctly?
btw,
it's nice to be back an running :-)
Comment