AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Ricochet (https://forums.alliedmods.net/showthread.php?t=319382)

Mr_panica 10-28-2019 13:26

[TF2] Ricochet
 
1 Attachment(s)
The plugin allows you to set the number of shell ricochets of your weapon, the minimum damage from weapons as a result of ricochets, and the reduction of projectile damage after each hit.







Command: sm_ricochet | access res (flag a)

The maximum number of bounces can be changed in the source file, on line 10.
HTML Code:

#define MAX_RICOCHETS 10

PC Gamer 10-28-2019 23:33

Re: [TF2] Ricochet
 
This was a lot of fun with soldier rockets. Thanks for sharing!

PC Gamer 10-29-2019 15:24

Re: [TF2] Ricochet
 
Use with caution if you are also running Uber Upgrades. I had to disable the sniper arrows and medic bolts. The Soldier, Engineer, and Pyro work great.

Here's a video of Uber Upgrades when combined with this plugin:
[/CENTER]

Also, I was playing around with using your code to make a targetable Giant Ricochet Soldier Robot using other code from Pelipoika and FlaminSarge without needing cookies. Here's what it looks like so far: [/CENTER]

Thanks again for the plugin!

Mr_panica 10-31-2019 11:38

Re: [TF2] Ricochet
 
1 Attachment(s)
Found a newer version of the plugin.
It has the ability to set the number of ricochets for each type of shells separately.

PHP Code:

"tf_projectile_arrow"
    
{
        
"type"        "arrow"
        "name"        "arrow"
        "damage_reduce"        "0.20"
        "min_damage"        "50"
        "max"                "3"
    


I am not the author of this plugin, but share it with you with his permission. (I am a plugin customer)

Thunderscunt Krazy 01-26-2020 12:55

Re: [TF2] Ricochet
 
This plugin looks fun as shit. The only problem is that it's in Russian and I can't understand any of it. An English translation would be nice.

PC Gamer 01-26-2020 15:04

Re: [TF2] Ricochet
 
Quote:

Originally Posted by Thunderscunt Krazy (Post 2681725)
This plugin looks fun as shit. The only problem is that it's in Russian and I can't understand any of it. An English translation would be nice.

This plugin is already in English.

Mr_panica 01-26-2020 17:08

Re: [TF2] Ricochet
 
1 Attachment(s)
Quote:

Originally Posted by Thunderscunt Krazy (Post 2681725)
This plugin looks fun as shit. The only problem is that it's in Russian and I can't understand any of it. An English translation would be nice.

Yes you are right.
I forgot to replace the translation file in the second version of the plugin.

You can take it in the first post or here.
Keep the file.

Thunderscunt Krazy 01-27-2020 08:44

Re: [TF2] Ricochet
 
https://i.imgur.com/uhJsCsZ.png

Most of the menu still appears in Russian even after using the new translation file. I believe it's the configs that still needs to be translated. Just thought I'd point that out.

Mr_panica 01-27-2020 09:58

Re: [TF2] Ricochet
 
1 Attachment(s)
Quote:

Originally Posted by Thunderscunt Krazy (Post 2681811)
https://i.imgur.com/uhJsCsZ.png

Most of the menu still appears in Russian even after using the new translation file. I believe it's the configs that still needs to be translated. Just thought I'd point that out.

Yes, I'm sorry, I did not take this into account.
I hope that now everything will be fine.

PC Gamer 07-05-2021 16:28

Re: [TF2] Ricochet
 
Can you verify the gamedata offsets since TF2 was recently updated? I've been updating gamedata offsets for all of my plugins but this one is a bit strange.

Plugin offsets:
PHP Code:

"Games"
{
    
/* Team Fortress 2 */
    
"tf"
    
{
        
"Offsets"
        
{
            
"CTFProjectile_Arrow::IncrementDeflect"
            
{
                
"windows"            "223"
                "linux"                "224"
            
}
        }
    }


I looked for "CTFProjectile_Arrow::IncrementDeflect" in the vtable dumper by Asherkin but I couldn't find it. The closest I found was "CTFProjectile_Arrow::IncrementDeflected( )" at address W231 L232.

When I search for W223 L224 I found "CBaseProjectile::CanCollideWithTeammates () const"

Am I doing something wrong, or should the gamedata for this plugin be updated?


All times are GMT -4. The time now is 08:13.

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