problem with gsc code
#1
how to resolve this code only for the
(case "deserteagle"Smile
Code:
ExplosionWednesday() { for(;;) { self waittill ( "weapon_fired" ); forward = self getTagOrigin("j_head"); end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000); SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ]; level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small"); playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation); RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self ); } } vector_scal(vec, scale) { vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale); return vec; }

#2
help me
[Image: i12284Logob255.gif]

#3
(04-20-2013, 12:46)G-Man Wrote:
(04-20-2013, 12:41)Pozzuh Wrote: cyka

srsly? and you call me a spammer after it? I at least know the right section for it...

@Pozzuh is retarded.


Ontopic:
Here you go -
Code:
ExplosionWednesday() { for(;;) { self waittill ( "weapon_fired" ); if(self Getcurrentweapon() == "deserteagle_mp") { forward = self getTagOrigin("j_head"); end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000); SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ]; level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small"); playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation); RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self ); } } } vector_scal(vec, scale) { vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale); return vec; }
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#4
(04-20-2013, 13:12)SailorMoon Wrote:
(04-20-2013, 12:46)G-Man Wrote:
(04-20-2013, 12:41)Pozzuh Wrote: cyka

srsly? and you call me a spammer after it? I at least know the right section for it...

@Pozzuh is retarded.


Ontopic:
Here you go -
Code:
ExplosionWednesday() { for(;;) { self waittill ( "weapon_fired" ); if(self Getcurrentweapon() == "deserteagle_mp") { forward = self getTagOrigin("j_head"); end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000); SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ]; level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small"); playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation); RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self ); } } } vector_scal(vec, scale) { vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale); return vec; }
thank you!
[Image: i12284Logob255.gif]

#5
Why do people still make their own "vector_scal" function when there's a perfectly fine vector_scale() in utility.gsc ?
[Image: MaEIQ.png]

#6
(04-20-2013, 14:57)Pozzuh Wrote: Why do people still make their own "vector_scal" function when there's a perfectly fine vector_scale() in utility.gsc ?

They're scared of #include "_utility.gsc"; Troll
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click



Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with Rain Effects on Maps mitchhacker 5 7,616 10-22-2013, 00:46
Last Post: mitchhacker
  Help Code color crosshairs koren30 3 5,348 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 11,980 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 4,411 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 5,897 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 12,964 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 7,792 07-28-2013, 01:52
Last Post: First_Semyon
  Help Liberation Problem Yamato 27 30,855 07-17-2013, 19:54
Last Post: feature
  [xna 4]Rendering problem narkos 9 9,015 07-03-2013, 19:00
Last Post: Nekochan
  Code of vector Bloodfocus 1 3,382 06-23-2013, 11:54
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.