Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 863 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
smoke screensaver #231414
10/14/08 11:40
10/14/08 11:40
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
I tried myself on a screensaver.
its all made by myself (well instead of the standard wads)
If anyones interested in the smoke code(no particels)
I`m willing to give them away.




Regards

Aztec


Visit:
schwenkschuster-design.de
Re: smoke screensaver [Re: aztec] #231427
10/14/08 13:07
10/14/08 13:07
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Very dark, but the smoke looks nice smile Can you tell me how you did it?

Re: smoke screensaver [Re: PadMalcom] #231449
10/14/08 14:59
10/14/08 14:59
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
of course I'm glad to tell you how I did it.
okay at first I took this sprite

and then I used this code
Code:
 function smoke_behaviour
{
	my.scale_x =1/20; // different setting give you better fps or worse
	my.scale_y =1/6; // different setting give you better fps or worse
	my.scale_z =1/6; // different setting give you better fps or worse
	 
	my.bright = on;
	my.flare = on;
	my.transparent = on;
	my.overlay = on;
	my.unlit = on;
	my.passable = on;
	my.alpha = 3;
	//my.beam = on; // beam has no special effect
	while(my.z < 1200 && my.alpha > 1)
	{
		my.pan+=1*time; // Picture 1 effekt leave out the comented
		
		//my.x += random(-3)+2; // Picture 2 for the opposite effect write +(3)-2 leave out the other commented 
		//my.y += random(-3)+2; // Picture 2 for the opposite effect write +(3)-2 leave out the other commented
		
		//my.light = 1;    //     ALL LIGHT SETTING HERE REFER TO PIC 3
		//my.lightrange = 200;
		//my.lightred = 200; // playing with this value will give it more color try lightrange 20000
		//my.lightgreen = 0;
		//my.lightblue = 0;
		
		//my.ambient = random(200); // you gotta see this in action gives a good flickering pic 4
		
		//my.tilt +=1*time; // gives you a beautifull loop effect(but not recomented) PICTURE 5
		//my.roll +=1*time; // strange figure also not recommented PICTURE 6
		
		c_move(me,vector(0,0,1*time),nullvector,use_box);
		my.alpha -=0.05*time_step;
		wait(1);
	}
	ent_remove(me);
}

action create_smoke
{
	my.unlit = on;
	var the_pos;
	my.passable = on;
	my.invisible = on;
	while(1)
	{
	randomize();
	the_pos.x = my.x +random(2);
	the_pos.y = my.y +random(2);
	the_pos.z = my.z;
		ent_create("smoke_color.bmp",the_pos,smoke_behaviour);
		wait(-0.1);
	}
}


its pretty simple you use the action and put it next to your model you want to smoke and that should do it.

Regards

Aztec


Visit:
schwenkschuster-design.de
Re: smoke screensaver [Re: aztec] #231921
10/17/08 19:53
10/17/08 19:53
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
Happy Birthday frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Nice approach, creative UC smile smile

Cheers

Frazzle

Last edited by frazzle; 10/17/08 19:53.

Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: smoke screensaver [Re: frazzle] #231983
10/18/08 15:41
10/18/08 15:41
Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
TSG_Torsten Offline

User
TSG_Torsten  Offline

User

Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
The smoke looks nice, great work.
But some camera movement wouldn't be bad when you want to use it as a screensaver wink

Regards
TSGames

Re: smoke screensaver [Re: TSG_Torsten] #231990
10/18/08 16:53
10/18/08 16:53
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
Ja an ein bischen Bewegung hatte ich eigentlich auch
gedacht ich bin einfach scriptmäßig nich so gut wollte es eigenlich rotieren lassen


Visit:
schwenkschuster-design.de
Re: smoke screensaver [Re: aztec] #231998
10/18/08 17:54
10/18/08 17:54
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline
Expert
NITRO777  Offline
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
Wow. I think thats pretty cool. Thanks.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1