Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Rotating Mats.
Rotating Mats.
2004-04-24, 1:13 PM #1
You know that your lightsaber is 2 deimential. Paper. if you walk around it the mat follows you while it rotates in place. I need a cog that will do that with my custom mat: fire. on the 3do torch. when you walk around the torch the mat follows you to make it look 3d. if theres a way to do this, plz reply.

------------------
Your Owners Clan Leaader,
_yo_wasup_
-=__/¯¯l¤¥Ø¤l¯¯\__\/\/ª≤uÞ_=-
http://www.TeamYo.org
2004-04-24, 1:17 PM #2
It's actually called a sprite, and it's easy to do. The problem is, that the fire will ALWAYS align to the screen, and if you looked at it from above, you would see it burn horizontally.
A better solution is to create a billboard.

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2004-04-24, 1:17 PM #3
I believe what you want is sprite, dear sir. I do believe there is a tutorial on Massassi which covers just that! I'll go find it for you. Be right back!

------------------
~ Vader's Corner ~
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2004-04-24, 1:19 PM #4
define billboard and how to do it plz?

------------------
Your Owners Clan Leaader,
_yo_wasup_
-=__/¯¯l¤¥Ø¤l¯¯\__\/\/ª≤uÞ_=-
http://www.TeamYo.org
2004-04-24, 1:23 PM #5
Hey, wait a sec. If you're using torches, they're probably going to be in a narrow hallway. In which case, unless you're flying, you probably won't be able to see sprites up high, if you use them. Sprites very easy to do, I'd suggest you'd try them out unless your level is more open. Many people have done the same thing in Egyptian type levels. I could even hunt a burning torch sprite down for you.

Here's the link to the tutorial I mentioned:

http://www.massassi.net/tutorials/easy_sprites/

Consider it! [http://forums.massassi.net/html/wink.gif]


------------------
~ Vader's Corner ~

[This message has been edited by Daft_Vader (edited April 24, 2004).]
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2004-04-24, 2:04 PM #6
Well, I meant two vertical (two-sided) faces aligned in 90° to each other. From above, it looks like a cross. See this picture:
[http://www.rockundpop.ch/billboard.GIF]
I'm not sure if it's the correct term, but they were used in older computer games to represent mainly fire and plants (bushes, trees, etc.).

Daft is right, though, if it's not possible to view the flames from above, go for sprites.

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

[This message has been edited by zagibu (edited April 24, 2004).]
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2004-04-24, 3:05 PM #7
thx for the visual. and i did get the sprite to work. it looks sweet, cause i used my fire mat instead of the provided one. when i am done its possible i may send this to massassi, thanks for your help, ill credit you in the readme.

------------------
Your Owners Clan Leaader,
_yo_wasup_
-=__/¯¯l¤¥Ø¤l¯¯\__\/\/ª≤uÞ_=-
http://www.TeamYo.org
2004-04-24, 6:16 PM #8
Oh, I see. I though that might of been what you meant Zagibu. I didn't mean to sound contradictory. [http://forums.massassi.net/html/smile.gif] I've seen that method used before in Unreal Tournament. It can be quite effective, but it's hard to make in JK, as surfaces, when you want them suspended over a 3do.

Look forward to seeing your level, YourOwners.

------------------
~ Vader's Corner ~
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2004-04-24, 11:00 PM #9
There is another way using 3DOs. I'm only suggesting this for the time you want translucent 'sprites'. In sprites, you can't set a translucent flag, therefore you'll need a flat 3DO.
Code:
flags=0x240

message    startup
message    pulse

thing      flare

vector     lv        local
vector     lvr       local

end
#
code
startup:
        SetPulse(0.01);
return;
pulse:
        lv=VectorSub(GetThingPos(flare),GetThingPos(GetLocalPlayerThing()));
        lvr=VectorSet(-VectorX(lv),-VectorY(lv),-VectorZ(lv));
        SetThingLook(flare,lvr);
return;
end

Could be good to have if you want to make a flare to your flames.

/Edward
Edward's Cognative Hazards

↑ Up to the top!