2 registered members (squik, AndrewAMD),
932
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [contribution] Fog code Lite-C
[Re: Helghast]
#317711
04/01/10 22:01
04/01/10 22:01
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
Expert
|
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
thanks, i will keep my fingers crossed,lol.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: [contribution] Fog code Lite-C
[Re: Blink]
#317835
04/02/10 23:00
04/02/10 23:00
|
Joined: Jul 2007
Posts: 619 Turkey, Izmir
Emre
User
|
User
Joined: Jul 2007
Posts: 619
Turkey, Izmir
|
Hey Helghast & folks, look at the video. i have create an animated sprite. it's not perfectly but looks pretty good. (looks really like silent hill 2 now ) Sprites are here. (Alternative here ) And some hints to explain how to use it;
function animate_for_fog()
{
wait(-integer(random(3)));
my.frame =0;
while (1)
{
my.frame += 0.6*time_step;
if (my.frame >= 32) { my.frame = 1; }
wait(1);
}
}
void autofog()
{
..........
animate_for_fog();
if(integer(random(10))>5)
{
vec_scale(my.scale_x, 7.8);
}
else
{
vec_scale(my.scale_x, random(4));
}
..........
}
void generate_fog()
{
..........
if(randint == 0){ ent_create("dust+32.tga", pos_place, autofog); }
if(randint == 1){ ent_create("dustdense+32.tga", pos_place, autofog); }
..........
}
but we need better sprite than my sprite anyway .
|
|
|
Re: [contribution] Fog code Lite-C
[Re: ncc1701d]
#317846
04/03/10 00:36
04/03/10 00:36
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
Expert
|
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
i like it a lot! i need a c-script version, has anyone converted it or have the original fog code?
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: [contribution] Fog code Lite-C
[Re: Blink]
#317969
04/03/10 22:03
04/03/10 22:03
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
i like it a lot! i need a c-script version, has anyone converted it or have the original fog code? Haven't been home to look on my HDD yet! xD Will have to wait after easter, but mind you, I have the feeling I lost it... I think though it's easy to convert back to c-script. I might as well do that at some point then, I have had more c-script requests. I like the movie alot, shows the effect of quite well indeed I'll put that in my portfolio, hope you dont mind me using that movie regards,
|
|
|
Re: [contribution] Fog code Lite-C
[Re: Emre]
#317983
04/04/10 01:30
04/04/10 01:30
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
Expert
|
Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
Thanks, Helghast, I will wait for it. i hope its still on your hdd.
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: [contribution] Fog code Lite-C
[Re: Blink]
#317989
04/04/10 05:00
04/04/10 05:00
|
Joined: Jul 2007
Posts: 619 Turkey, Izmir
Emre
User
|
User
Joined: Jul 2007
Posts: 619
Turkey, Izmir
|
Forget it, forget animated sprite, forget first video. I've created a shader now. Also there is ash effect with shader like silent hill. Watch this video. I need to sleep now. See you later friends.
|
|
|
Re: [contribution] Fog code Lite-C
[Re: 3run]
#317999
04/04/10 06:41
04/04/10 06:41
|
Joined: Dec 2006
Posts: 1,086 Queensland - Australia
Nidhogg
Serious User
|
Serious User
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
|
@Emre Look great, hows the FPS
Windows XP SP3 Intel Dual Core CPU: E5200 @ 2.5GHz 4.00GB DDR3 Ram ASUS P5G41T-M LX PCIE x16 GeForce GTS 450 1Gb SB Audigy 4 Spyware Doctor with AntiVirus
|
|
|
|