Glowing zombie-eyes

broken avatar :(
Created 1913 days ago
by InFInIX
0 Members and 1 Guest are viewing this topic.
4,451 views
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 7 days ago
Posts
649
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
...Und ich muss in den Himmel kommen den was sind 70 Jahre Lebenszeit
verglichen mit der ewigkeit? Wozu Geld und autos wenn am Ende nur die Seele bleibt...
-Kollegah-
Boss der Bosse
Sommer
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Linksask me!DerInFInIXDerInFInIX
All credits goes to treyarch AND weezy428

Ok the FULL tutorial is in _zombiemode_spawners.gsc
Step 1

Find this!
//When a Zombie spawns, set his eyes to glowing.
zombie_eye_glow()
{
if( IsDefined( level.zombie_eye_glow ) && !level.zombie_eye_glow )
{
return;
}

if( !IsDefined( self ) )
{
return;
}
/* if(!isdefined(level._numZombEyeGlows))
{
level._numZombEyeGlows = 0;
}

// if(level.zombie_eyes_limited && level._numZombEyeGlows > 8)
// return;

if ( level.zombie_eyes_disabled )
{
return;
}

        linkTag = "J_Eyeball_LE";
fxModel = "tag_origin";
fxTag = "tag_origin";

// SRS 9/2/2008: only using one particle now per Barry's request;
//  modified to be able to turn particle off

self.fx_eye_glow = Spawn( "script_model", self GetTagOrigin( linkTag ) );
self.fx_eye_glow.angles = self GetTagAngles( linkTag );
self.fx_eye_glow SetModel( fxModel );
self.fx_eye_glow LinkTo( self, linkTag );

// TEMP for testing
//self.fx_eye_glow thread maps\_debug::drawTagForever( fxTag );

PlayFxOnTag( level._effect["eye_glow"], self.fx_eye_glow, fxTag );

level._numZombEyeGlows ++;
addtagname(linkTag);
self haseyes(1);*/
}

now replace it with this!
// When a Zombie spawns, set his eyes to glowing.
zombie_eye_glow()
{
if( IsDefined( level.zombie_eye_glow ) && !level.zombie_eye_glow )
{
return;
}

if( !IsDefined( self ) )
{
return;
}

linkTag = "J_Eyeball_LE";
fxModel = "tag_origin";
fxTag = "tag_origin";

// SRS 9/2/2008: only using one particle now per Barry's request;
//  modified to be able to turn particle off
self.fx_eye_glow = Spawn( "script_model", self GetTagOrigin( linkTag ) );
self.fx_eye_glow.angles = self GetTagAngles( linkTag );
self.fx_eye_glow SetModel( fxModel );
self.fx_eye_glow LinkTo( self, linkTag );

// TEMP for testing
//self.fx_eye_glow thread maps\_debug::drawTagForever( fxTag );

PlayFxOnTag( level._effect["eye_glow"], self.fx_eye_glow, fxTag );
}

to stopp the FX after the zombie died
find this!

// Called when either the Zombie dies or if his head gets blown off
zombie_eye_glow_stop()
{
/* if( IsDefined( self.fx_eye_glow ) )
{
self.fx_eye_glow Delete();
level._numZombEyeGlows --;
}

self haseyes(0);*/
}

and replace it with this code!

// Called when either the Zombie dies or if his head gets blown off
zombie_eye_glow_stop()
{
if( IsDefined( self.fx_eye_glow ) )
{
self.fx_eye_glow Delete();
}
}
Last Edit: May 23, 2014, 03:05:27 pm by InFInIX
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 147 days ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
to stopp the FX after the zombie died
find this!

// Called when either the Zombie dies or if his head gets blown off
zombie_eye_glow_stop()
{
if( IsDefined( self.fx_eye_glow ) )
{
self.fx_eye_glow Delete();
}
}

and replace it with this code!

// Called when either the Zombie dies or if his head gets blown off
zombie_eye_glow_stop()
{
/* if( IsDefined( self.fx_eye_glow ) )
{
self.fx_eye_glow Delete();
level._numZombEyeGlows --;
}

self haseyes(0);*/
}

I think you have these backwards?
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 7 days ago
Posts
649
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Linksask me!DerInFInIXDerInFInIX
I think you have these backwards?

switched :)

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Twitch
Loading ...