News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: Recipe for Flash Grenades :D  (Read 1880 times)

0 Members and 1 Guest are viewing this topic.

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Recipe for Flash Grenades :D
« on: August 07, 2010, 10:30:32 PM »
in the Ammo.shader in Urban Terror 4.1 it has came apparent that there is already Flash Grenades already in there :D

zpak000_assets.pk3 > Scripts > Ammo.shader


icons/ammo/grenade_flash
{
   nopicmip
   {
      map icons/ammo/grenade_flash.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
   }
}




I have wrote my own little thing in the Entities.def to include this.




/*QUAKED ut_weapon_grenade_flash (0.3 0.9 0.4)(-5 -5 -5) (5 5 5)
-------- KEYS --------
count: sets the amount of ammo given to the player when picked up (default 2).
gametype : Specifies gametypes for the weapon to be in in. If this key is not used, the weapon will be in all gametypes. List types in this format: 01234
-------- SPAWNFLAGS --------
spawnflags : set to 1 to make suspended so the item will spawn where it was placed in map and won't drop to the floor. (default 0)
-------- Notes --------
A count has to be set in order for ammo to be in the weapon when picked up
the count system is very weird and I am unable to figure out how it works,
but here are some usefull numbers
count of 30   = 30 bullets 0 clips
count of 500  = 30 bullets 1 clip
count of 1000 = 30 bullets 2 clips
*/


***NOTE***

All my files will be included in this post.


****EDIT****: Updated my Entities.def && Took out all the obselete stuff.

[attachment no longer available]
« Last Edit: August 07, 2010, 10:55:41 PM by Dougy »

Offline Casper

  • Posts: 599
  • Karma: 7
  • Can't shoot what you cant see :D
  • Since: 23/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Recipe for Flash Grenades :D
« Reply #1 on: August 07, 2010, 10:34:55 PM »
Can you actually use them? That'll be freakin sweet :D

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Re: Recipe for Flash Grenades :D
« Reply #2 on: August 07, 2010, 10:42:18 PM »
As far as i know.......

Offline Casper

  • Posts: 599
  • Karma: 7
  • Can't shoot what you cant see :D
  • Since: 23/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Recipe for Flash Grenades :D
« Reply #3 on: August 07, 2010, 10:56:19 PM »
Holy **** **** batman!!!!
Try it!

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
1 map with flash grens in already, Untested by me :D
« Reply #4 on: August 08, 2010, 01:25:28 AM »
Have a look?

[attachment no longer available]

Offline oK|Yahoo

  • *Friend of 1up
  • Posts: 695
  • Karma: 38
  • Since: 02/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: 1 map with flash grens in already, Untested by me :D
« Reply #5 on: August 08, 2010, 02:22:45 AM »
ya but the map sucks :P :P

Offline Biohazard

  • Hazardous Productions In The Making
  • Posts: 1,123
  • Karma: 19
  • Lies Feed the Demons, Love Feeds the Angels.
  • Since: 18/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Recipe for Flash Grenades :D
« Reply #6 on: August 08, 2010, 10:06:38 AM »
You can't use them in Urt 4.1. It's not programmed into it. That Teh_Blazin map...1. hurts my eyes, and 2. has non-working flashbangs.
You pray for less idiots, but you get more.
You pray for love, you get hate.
You pray for power, you get shot.


Quote
Biohazard: C. Moore
RenaRyuuguu: See more what?
Biohazard: C. Moore Hax

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Re: Recipe for Flash Grenades :D
« Reply #7 on: August 08, 2010, 10:52:04 AM »
You can't use them in Urt 4.1. It's not programmed into it. That Teh_Blazin map...1. hurts my eyes, and 2. has non-working flashbangs.

Thats muvva F'ing GAYYYYYYY seriously why did they put it in there if it dont work && can anyone code it to work?

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Re: 1 map with flash grens in already, Untested by me :D
« Reply #8 on: August 08, 2010, 10:52:31 AM »
Meh lol not my map so why should i give a "*FILL WITH EXPLETIVE*"

Offline PowerMaid

  • Posts: 1,456
  • Karma: -774
  • Since: 06/02/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • A Games Industries
Re: 1 map with flash grens in already, Untested by me :D
« Reply #9 on: August 08, 2010, 11:42:41 AM »
Fail. The flash grenades don't even work right, and the skybox is fail.

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Re: 1 map with flash grens in already, Untested by me :D
« Reply #10 on: August 08, 2010, 02:43:04 PM »
Fail. The flash grenades don't even work right, and the skybox is fail.

As said not my map so idc

Offline FedoraMike

  • Posts: 779
  • Karma: 16
  • Since: 27/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • My Webpage/Portfolio - Under Construction
Re: Recipe for Flash Grenades :D
« Reply #11 on: August 08, 2010, 03:51:50 PM »
They used to be in older versions of UrT then were taken out.  I'm assuming they left some of the code in there instead of ripping it all out.  They will be back akaik in 4.2 whenever they release it...

Offline Casper

  • Posts: 599
  • Karma: 7
  • Can't shoot what you cant see :D
  • Since: 23/04/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Recipe for Flash Grenades :D
« Reply #12 on: August 08, 2010, 04:18:21 PM »
What did flash nades do, anyway? like gameplay wise

Offline Dougy

  • Posts: 594
  • Karma: -6
  • Since: 17/01/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • TheOMFG Music
Re: Recipe for Flash Grenades :D
« Reply #13 on: August 08, 2010, 06:31:48 PM »
What did flash nades do, anyway? like gameplay wise

Gives you a short time window :D