Raised This Month: $12 Target: $400
 3% 

VSH Versus Saxton Hale 1.55 - New Saxton Hale + Vagineer Models!


Post New Thread Reply   
 
Thread Tools Display Modes
Wliu
Veteran Member
Join Date: Apr 2013
Old 07-15-2014 , 18:44   Re: Versus Saxton Hale 1.43 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #21

Quote:
Originally Posted by Chdata View Post
Not exactly insta-kill.

If Hale is less than or equal to 1024 HP, it can insta kill him instead of leaving him at 1 HP (which used to happen because the mantread damage was handled in player_hurt instead of ontakedamage).

Yeah I know the wording is off though.

Edit: * Mantread stomps now OHKO Hale instead of leaving him at 1 health when his health is less than the damage mantreads do (1024 dmg).

I suppose I'll look up github tuts or w/e. Then I can add nergal's FRoG. Not the healthbar thing if it's another plugin already, but I added that to optional installations in the op.
All right, that makes much more sense .

As for learning Github, they have a great set of tutorials.
__________________
~Wliu
Wliu is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-15-2014 , 18:51   Re: Versus Saxton Hale 1.43 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #22

another thing, I think rocket launchers should have no damage fall off

PHP Code:
    decl Float:Pos[3];
    
decl Float:Pos2[3];
    
GetEntPropVector(attackerProp_Send"m_vecOrigin"Pos);//Spot of attacker
    
GetEntPropVector(clientProp_Send"m_vecOrigin"Pos2); //Spot of victim
    
new Float:dist GetVectorDistance(PosPos2false); //Calculates the distance between target and attacker
    
new String:classname[64];
    if (
IsValidEdict(weapon)) GetEdictClassname(weaponclassnamesizeof(classname));
if (
strcmp(classname"tf_weapon_rocketlauncher"false) == || strncmp(classname"tf_weapon_flaregun"18false) == 0)
                {
                    if (
dist 966.03dist 966.03;
                    if (
dist 512.0dist 512.0;
                    
damage *= dist/512.0;
                    return 
Plugin_Changed;
                } 
Also, code for Market Gardener should be included as well.

PHP Code:
    HookEvent("rocket_jump"OnRocketJump);
    
HookEvent("rocket_jump_landed"OnJumpLanded);


public 
Action:OnRocketJump(Handle:event, const String:name[], bool:dontBroadcast)
{
    if (!
Enabled) return Plugin_Continue;
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    
g_bInJump[client] = true;
    return 
Plugin_Continue;
}
public 
Action:OnJumpLanded(Handle:event, const String:name[], bool:dontBroadcast)
{
    if (!
Enabled) return Plugin_Continue;
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    
g_bInJump[client] = false;
    return 
Plugin_Continue;
}



                    case 
416//market gardener
                    
{
                        if (!(
GetEntityFlags(attacker) & FL_ONGROUND) && g_bInJump[attacker])
                        {
                            new 
Float:changedamage HaleHealthMax 0.025;

                            
Damage[attacker] += RoundFloat(changedamage);

                            
damage changedamage;

                            
HaleHealth -= RoundFloat(changedamage);
                            
HaleRage += RoundFloat(changedamage);

                            
HaleRage = (HaleRage RageDMG) ? RageDMG HaleRage;
                            return 
Plugin_Changed;
                        }
                    } 
__________________

Last edited by nergal; 07-15-2014 at 19:01.
nergal is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-15-2014 , 19:03   Re: Versus Saxton Hale 1.43 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #23

I also have a market gardener code. (Below is only part of it).

The commented out line pertains to Soldier rocket jumping, getting stuck in HHH, and being able to "multi-backstab" the boss. I think it's commented out because it's either not working, or because I removed clipping from HHH for 2-4 seconds after he teleports unless it's a scout.

Also the damage is balanced around being weaker than backstabs (for various reasons).

There's also code to remove crits from the market gardener.

(dat 2.25% though... 51 damage solo? nope)

PHP Code:
case 416:           //Market Gardener
                    
{
                        if (
GetRJFlag(attacker))
                        {
                            
//if ((GetEntProp(client, Prop_Send, "m_iStunFlags") & TF_STUNFLAGS_GHOSTSCARE | TF_STUNFLAG_NOSOUNDOREFFECT) && Special == VSHSpecial_HHH) return Plugin_Continue;

                            
damage = (Pow(float(HaleHealthMax), (0.74074)) + 512.0 - (Marketed/128*float(HaleHealthMax)) )/3.0;    //divide by 3 because this is basedamage and lolcrits (0.714286)) + 1024.0)
                            
damagetype |= DMG_CRIT;

                            if (
Marketed 5Marketed++;

                            
PrintCenterText(attacker, (Special == VSHSpecial_Nue) ? "You market gardened her!" "You market gardened him!");
                            
PrintCenterText(client"You were just market gardened!");

                            
EmitSoundToClient(client"player/doubledonk.wav"__SNDLEVEL_TRAFFICSND_NOFLAGS0.6100_PosNULL_VECTORfalse0.0);
                            
EmitSoundToClient(attacker"player/doubledonk.wav"__SNDLEVEL_TRAFFICSND_NOFLAGS0.6100_PosNULL_VECTORfalse0.0);

                            return 
Plugin_Changed;
                        }
                    } 
__________________

Last edited by Chdata; 07-15-2014 at 19:09.
Chdata is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-15-2014 , 19:13   Re: Versus Saxton Hale 1.43 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #24

Quote:
Originally Posted by Chdata View Post
I also have a market gardener code. (Below is only part of it).

The commented out line pertains to Soldier rocket jumping, getting stuck in HHH, and being able to "multi-backstab" the boss. I think it's commented out because it's either not working, or because I removed clipping from HHH for 2-4 seconds after he teleports unless it's a scout.

Also the damage is balanced around being weaker than backstabs (for various reasons).

There's also code to remove crits from the market gardener.

(dat 2.25% though... 51 damage solo? nope)

PHP Code:
case 416:           //Market Gardener
                    
{
                        if (
GetRJFlag(attacker))
                        {
                            
//if ((GetEntProp(client, Prop_Send, "m_iStunFlags") & TF_STUNFLAGS_GHOSTSCARE | TF_STUNFLAG_NOSOUNDOREFFECT) && Special == VSHSpecial_HHH) return Plugin_Continue;

                            
damage = (Pow(float(HaleHealthMax), (0.74074)) + 512.0 - (Marketed/128*float(HaleHealthMax)) )/3.0;    //divide by 3 because this is basedamage and lolcrits (0.714286)) + 1024.0)
                            
damagetype |= DMG_CRIT;

                            if (
Marketed 5Marketed++;

                            
PrintCenterText(attacker, (Special == VSHSpecial_Nue) ? "You market gardened her!" "You market gardened him!");
                            
PrintCenterText(client"You were just market gardened!");

                            
EmitSoundToClient(client"player/doubledonk.wav"__SNDLEVEL_TRAFFICSND_NOFLAGS0.6100_PosNULL_VECTORfalse0.0);
                            
EmitSoundToClient(attacker"player/doubledonk.wav"__SNDLEVEL_TRAFFICSND_NOFLAGS0.6100_PosNULL_VECTORfalse0.0);

                            return 
Plugin_Changed;
                        }
                    } 
2.25% damage cuz

market gardener is melee so always crit = constant 195

say hale had 30k hp = 30k * 0.025 * 3(cuz crit) = 2250
__________________
nergal is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-15-2014 , 19:14   Re: Versus Saxton Hale 1.43 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #25

Mines starts at like 700 damage and ends at like 2200 or so, maybe it was 3200. Dat 1v1 market garden yo.

I made market gardener not always crit on my server and only crit on the market garden.

If anyone has a server and can test this plugin btw, please add me on steam.
__________________

Last edited by Chdata; 07-15-2014 at 19:20.
Chdata is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-16-2014 , 00:04   Re: Versus Saxton Hale 1.44 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #26

Managed to test some things on someone's server. Most is all good.

Updated to 1.44. OP edited with recent changes list.

Updates may or may not start coming in fast, I'll try to save it for big updates altogether though.
__________________

Last edited by Chdata; 07-16-2014 at 00:06.
Chdata is offline
Advokat
Member
Join Date: Mar 2014
Location: Australia
Old 07-16-2014 , 05:54   Re: Versus Saxton Hale 1.44 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #27

I think Spy backstabs count as double damage for medics that are healing them though I haven't tested it extensively.
Advokat is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 07-16-2014 , 08:32   Re: Versus Saxton Hale 1.44 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #28

EDIT: Never mind, poked around in the source file.
Though are you sure it's a good idea to put the Air Strike code in ClientTimer?
__________________
~Wliu

Last edited by Wliu; 07-16-2014 at 10:34.
Wliu is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-16-2014 , 11:20   Re: Versus Saxton Hale 1.44 - Now with collaboration! (Last updated 7/15/2014)
Reply With Quote #29

Yeah that is unnecessary on my part. I didn't think about placement when nergal sent that. I'll move it to player_hurt.

I think I see why medics get double from backstabs and will look into that after college.
__________________

Last edited by Chdata; 07-16-2014 at 16:21.
Chdata is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 07-16-2014 , 18:42   Re: Versus Saxton Hale 1.44 - Now with collaboration! (Last updated 7/16/2014)
Reply With Quote #30

I'd like to make another contribution to plugin by asking for THIS new boss to be added :>

Introducing RoboHale!

complete with models+texture AND all Saxton Hale voice clips converted to robotic sound

on my server, i only have him merely as a saxton hale reskin/clone but with different model and sounds.

here's files

https://drive.google.com/file/d/0B3F...it?usp=sharing
Attached Images
File Type: jpg 5361b8df22b9dde.jpg (60.0 KB, 385 views)
__________________
nergal is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode