betty glitch. I do not know how to fix it :-/

broken avatar :(
Created 510 days ago
by ville88
0 Members and 1 Guest are viewing this topic.
950 views
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 10 days ago
Posts
265
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups

Double Post Merge: June 22, 2018, 10:15:32 pm
(Content removed from quote.)
Is this the only problem for me? Or this glitch at all?
Last Edit: June 22, 2018, 10:16:03 pm by ville88
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 24 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) [You are not allowed to view external links. Register or Login to see them]
discord server:
[You are not allowed to view external links. Register or Login to see them]
×
death_reaper0'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.
dont know why you needed sound effects and and intro...
but it looks like you just gave them to yourself via console, its not going to work. the stuff to set them up only activates when obtained legit. same goes with monkey bombs and maybe Molotovs (dont use them so not sure)

buy them and see if it still happens, if it does your probably not having the script added somewhere
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 10 days ago
Posts
265
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
sound effects I added to the video
problem - betty does not kill zombies
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 99 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
Signature
Please. Save me.
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
sound effects I added to the video
problem - betty does not kill zombies

Did you read what reaper said? Instead of getting the BBs through a console command, buy them off the wall.
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 10 days ago
Posts
265
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
I not use the console. this bug is on everyone on the map "verruckt" (betty does not kill zombies)

broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 99 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Then you're probably missing the scripts.
Do you have a cracked version?
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 10 days ago
Posts
265
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
I have a license (no "Steam" version). I also think that the problem is in scripts

broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 99 days ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Go to your root\raw\maps and find _zombiemode_betty.gsc.

Open the file in whatever text editor you use and delete everything.

Paste this into it:
[noae]
#include common_scripts\utility; 
#include maps\_utility;
#include maps\_zombiemode_utility;


/*------------------------------------
BOUNCING BETTY STUFFS -
a rough prototype for now, needs a bit more polish

------------------------------------*/
init()
{
trigs = getentarray("betty_purchase","targetname");
for(i=0; i<trigs.size; i++)
{
model = getent( trigs[i].target, "targetname" );
model hide();
}

array_thread(trigs,::buy_bouncing_betties);
level thread give_betties_after_rounds();
}

buy_bouncing_betties()
{
self.zombie_cost = 1000;
self sethintstring( &"ZOMBIE_BETTY_PURCHASE" );
self setCursorHint( "HINT_NOICON" );

level thread set_betty_visible();
self.betties_triggered = false;

while(1)
{
self waittill("trigger",who);
if( who in_revive_trigger() )
{
continue;
}

if( is_player_valid( who ) )
{

if( who.score >= self.zombie_cost )
{
if(!isDefined(who.has_betties))
{
who.has_betties = 1;
play_sound_at_pos( "purchase", self.origin );

//set the score
who maps\_zombiemode_score::minus_to_player_score( self.zombie_cost );
who thread bouncing_betty_setup();
who thread show_betty_hint("betty_purchased");

// JMA - display the bouncing betties
if( self.betties_triggered == false )
{
model = getent( self.target, "targetname" );
model thread maps\_zombiemode_weapons::weapon_show( who );
self.betties_triggered = true;
}

trigs = getentarray("betty_purchase","targetname");
for(i = 0; i < trigs.size; i++)
{
trigs[i] SetInvisibleToPlayer(who);
}
}
else
{
//who thread show_betty_hint("already_purchased");

}
}
}
}
}

set_betty_visible()
{
players = getplayers();
trigs = getentarray("betty_purchase","targetname");

while(1)
{
for(j = 0; j < players.size; j++)
{
if( !isdefined(players[j].has_betties))
{
for(i = 0; i < trigs.size; i++)
{
trigs[i] SetInvisibleToPlayer(players[j], false);
}
}
}

wait(1);
players = getplayers();
}
}

bouncing_betty_watch()
{
self endon("death");

while(1)
{
self waittill("grenade_fire",betty,weapname);
if(weapname == "mine_bouncing_betty")
{
betty.owner = self;
betty thread betty_think();
self thread betty_death_think();
}
}
}

betty_death_think()
{
self waittill("death");

if(isDefined(self.trigger))
{
self.trigger delete();
}

self delete();

}

bouncing_betty_setup()
{
self thread bouncing_betty_watch();

self giveweapon("mine_bouncing_betty");
self setactionslot(4,"weapon","mine_bouncing_betty");
self setweaponammostock("mine_bouncing_betty",5);
}

betty_think()
{
wait(2);
trigger = spawn("trigger_radius",self.origin,9,80,64);
trigger waittill( "trigger" );
trigger = trigger;
self playsound("betty_activated");
wait(.1);
fake_model = spawn("script_model",self.origin);
fake_model setmodel(self.model);
self hide();
tag_origin = spawn("script_model",self.origin);
tag_origin setmodel("tag_origin");
tag_origin linkto(fake_model);
playfxontag(level._effect["betty_trail"], tag_origin,"tag_origin");
fake_model moveto (fake_model.origin + (0,0,32),.2);
fake_model waittill("movedone");
playfx(level._effect["betty_explode"], fake_model.origin);
earthquake(1, .4, fake_model.origin, 512);

//CHris_P - betties do no damage to the players
zombs = getaispeciesarray("axis");
for(i=0;i<zombs.size;i++)
{
//PI ESM: added a z check so that it doesn't kill zombies up or down one floor
if(zombs[i].origin[2] < fake_model.origin[2] + 80 && zombs[i].origin[2] > fake_model.origin[2] - 80 && DistanceSquared(zombs[i].origin, fake_model.origin) < 200 * 200)
{
zombs[i] thread maps\_zombiemode_spawner::zombie_damage( "MOD_ZOMBIE_BETTY", "none", zombs[i].origin, self.owner );
}
}
//radiusdamage(self.origin,128,1000,75,self.owner);

trigger delete();
fake_model delete();
tag_origin delete();
if( isdefined( self ) )
{
self delete();
}
}

betty_smoke_trail()
{
self.tag_origin = spawn("script_model",self.origin);
self.tag_origin setmodel("tag_origin");
playfxontag(level._effect["betty_trail"],self.tag_origin,"tag_origin");
self.tag_origin moveto(self.tag_origin.origin + (0,0,100),.15);
}

give_betties_after_rounds()
{
while(1)
{
level waittill( "between_round_over" );
{
players = get_players();
for(i=0;i<players.size;i++)
{
if(isDefined(players[i].has_betties))
{
players[i]  giveweapon("mine_bouncing_betty");
players[i]  setactionslot(4,"weapon","mine_bouncing_betty");
players[i]  setweaponammoclip("mine_bouncing_betty",2);
}
}
}
}
}

//betty hint stuff
init_hint_hudelem(x, y, alignX, alignY, fontscale, alpha)
{
self.x = x;
self.y = y;
self.alignX = alignX;
self.alignY = alignY;
self.fontScale = fontScale;
self.alpha = alpha;
self.sort = 20;
//self.font = "objective";
}

setup_client_hintelem()
{
self endon("death");
self endon("disconnect");

if(!isDefined(self.hintelem))
{
self.hintelem = newclienthudelem(self);
}
self.hintelem init_hint_hudelem(320, 220, "center", "bottom", 1.6, 1.0);
}


show_betty_hint(string)
{
self endon("death");
self endon("disconnect");

if(string == "betty_purchased")
text = &"ZOMBIE_BETTY_HOWTO";
else
text = &"ZOMBIE_BETTY_ALREADY_PURCHASED";

self setup_client_hintelem();
self.hintelem setText(text);
wait(3.5);
self.hintelem settext("");
}
[/noae]
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 10 days ago
Posts
265
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
For "verruckt" need go to root/raw/maps/mapname.gsc and find function but i understand you and i'll be try

 

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 ...