Results 1 to 10 of 10

Thread: Flashing lights

  1. #1
    Private
    Join Date
    Jan 2014
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Flashing lights

    Is there a way to make flashing lights in my map ?

  2. #2
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Use effects (you can create them by CoD2_EffectsEd).

    Then http://znation.nl/cod4script/playfx
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  3. #3
    Private First Class
    Join Date
    Jul 2013
    Posts
    170
    Thanks
    44
    Thanked 16 Times in 11 Posts
    hm..
    Code:
    party()
    {
    	level endon("endmap");
    	players = getentarray("player","classname");
    	for(i = 0; i < players.size; i++)
    	{
    		player = players[i];
    		if(isDefined(player))
    			player playlocalsound("party");
    	}
    	SetExpFog(0.01, 0, 0, 0, 2); 
    	wait 2; 
    	SetExpFog(0.01, 1, 0, 0, 2);
    	wait 2;
    	SetExpFog(0.01, 0, 0, 0, 2); 
    	wait 2;
    	SetExpFog(0.01, 1, 0, 0, 2);
    	wait 2;
    	SetExpFog(0.01, 0, 0, 0, 2); 
    	wait 2; 
    	SetExpFog(0.01, 1, 0, 0, 2);
    	wait 2;
    	SetExpFog(0.01, 0, 0, 0, 2); 
    	wait 2;
    	setExpFog(0.0001, 0.55, 0.6, 0.55, 2);
    }
    If you need this..
    This is flashing at map,like in disco,just add more..
    Last edited by Rocky; 15th April 2014 at 19:03.

  4. #4
    Private
    Join Date
    Jan 2014
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well it's for a 'kermis' ( idk in english just translate from dutch ) and i want flashinglichts when an 'attractie' ( idk in english too )
    Last edited by wizzardjanni; 15th April 2014 at 20:37.

  5. #5
    Private
    Join Date
    Jan 2014
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just on the places I want

  6. #6
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    CoD2 Effects Editor -> make a particle (select one of light_ shaders) -> set its color, size, animation... etc -> add it by script / script_origins in Radiant

  7. #7
    Private
    Join Date
    Jan 2014
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    please some help with this? xf = wizzardjanni

  8. #8
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    You know, the first way to solve a problem is to define the problem... and I guess you tried hard not to define it as best as possible. ;P

    The "facts" we know: flashing light, like two dutch words, which will nobody translate (read: waste time) to help *you*!
    timescale 0.01

  9. #9
    Private
    Join Date
    Jan 2014
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I did not ask to be improved. but okay ( google translate )

  10. #10
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    CoD2 Effects Ed begginer tutorial (@CoDJumper):

    Here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •