|
Page 1 of 1
|
[ 7 posts ] |
|
Put a sprite in front of everything
Author |
Message |
Stophe
Joined: Wed Mar 18, 2009 7:36 am Posts: 7 Location: Clermont-Ferrand, FRANCE
|
Put a sprite in front of everything
Hello!
I am working hard on my first mod, a lua scripted scene, and I wonder if there's any way to put a sprite in front of everything else on the map? For example, in front of a building so that you can't see the inside until youve entered it? If tried to set a MOSParticle, MOSRotating, MOSPparticle with a screen effect, nothing works.
Any idea welcome. Thanks!
|
Wed Mar 18, 2009 7:50 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Put a sprite in front of everything
By screen effect did you mean massive glow? If not, try a large glow on an invisible, unhittable particle...
|
Wed Mar 18, 2009 8:18 am |
|
|
Kallemort
Joined: Tue Aug 21, 2007 2:55 pm Posts: 948
|
Re: Put a sprite in front of everything
Stophe wrote: Hello!
I am working hard on my first mod, a lua scripted scene, and I wonder if there's any way to put a sprite in front of everything else on the map? For example, in front of a building so that you can't see the inside until youve entered it? If tried to set a MOSParticle, MOSRotating, MOSPparticle with a screen effect, nothing works.
Any idea welcome. Thanks! I remember someone making something like this back in the older builds. What if you try, and make a module have a normal foreground, no background, and the mat file will show it as air? That should work.
|
Wed Mar 18, 2009 10:41 am |
|
|
Stophe
Joined: Wed Mar 18, 2009 7:36 am Posts: 7 Location: Clermont-Ferrand, FRANCE
|
Re: Put a sprite in front of everything
411570N3 wrote: By screen effect did you mean massive glow? If not, try a large glow on an invisible, unhittable particle... A massive glow, yes. The problem is that my sprite appeared all blue and translucid, whatever the parameters. Kallemort wrote: I remember someone making something like this back in the older builds. What if you try, and make a module have a normal foreground, no background, and the mat file will show it as air? That should work. Just did that, this seemed to work, but as soon as the game starts, it disappears. I assume it's because the air material is somewhat ignored...
|
Wed Mar 18, 2009 12:28 pm |
|
|
Kallemort
Joined: Tue Aug 21, 2007 2:55 pm Posts: 948
|
Re: Put a sprite in front of everything
Stophe wrote: 411570N3 wrote: By screen effect did you mean massive glow? If not, try a large glow on an invisible, unhittable particle... A massive glow, yes. The problem is that my sprite appeared all blue and translucid, whatever the parameters. Kallemort wrote: I remember someone making something like this back in the older builds. What if you try, and make a module have a normal foreground, no background, and the mat file will show it as air? That should work. Just did that, this seemed to work, but as soon as the game starts, it disappears. I assume it's because the air material is somewhat ignored... Then, uh, try to set the whole mat as BG? I don't know, I think my previous method used to work.
|
Wed Mar 18, 2009 12:59 pm |
|
|
Stophe
Joined: Wed Mar 18, 2009 7:36 am Posts: 7 Location: Clermont-Ferrand, FRANCE
|
Re: Put a sprite in front of everything
Ok sorry. I said the MOSRotating didn't work because it wasn't fast at all, i dropped to something like 3 f/s, that was because i didn't specify the material was Air. It's ok now! Thanks for your help!
|
Wed Mar 18, 2009 5:32 pm |
|
|
vagyr
Joined: Sun Jan 11, 2009 10:54 am Posts: 365
|
Re: Put a sprite in front of everything
wow... if it works it will be impressive...
|
Wed Mar 18, 2009 5:42 pm |
|
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|