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

Pyrovision (1.2, 2013-05-10)


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-06-2012 , 09:44   Re: Pyrovision
Reply With Quote #21

Quote:
Originally Posted by SlimeCounty View Post
Forgive my ignorance, I'm still a bit new to all of this, but is there a difference in functionality between using this plugin and using the following in tf2items.weapons.txt?
Code:
    "*"
    {
        "*"
        {
            "preserve-attributes"    "1"
            
            "1"                "406 ; 1"
        }
    }
Assuming the above worked as I think it would, wouldn't this allow others to continue using their edited items along with enabling pyrovsion for everyone?
Should have the same result.

Having said that, I'm still not sure if Force Holidays with the Meet The Pyro holiday turned on or off has any effect on this.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-06-2012 at 09:44.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-12-2012 , 23:27   Re: Pyrovision
Reply With Quote #22

Valve has appeared to have disabled the Meet the Pyro holiday, and the Pyroland texture replacement is no longer happening.

Fortunately, I already added the Meet the Pyro holiday to Force Holidays...
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 07-13-2012 , 08:14   Re: Pyrovision
Reply With Quote #23

so
Meet The Pyro holiday + Pyrovision glasses = Pyroland? only through this way?
meaning
Pyrovision glasses equiped - not enough to see pyroland

Last edited by Leonardo; 07-13-2012 at 08:14.
Leonardo is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-13-2012 , 08:27   Re: Pyrovision
Reply With Quote #24

Quote:
Originally Posted by Leonardo View Post
so
Meet The Pyro holiday + Pyrovision glasses = Pyroland? only through this way?
meaning
Pyrovision glasses equiped - not enough to see pyroland
Valve has either changed their mind back or there was a bug yesterday causing Pyrovision to not work with the Pyroland items alone. This appeared to be working properly again this morning.

The Pyrovision plugin isn't needed by people who have the Pyrovision Goggles, Balloonicorn, Rainblower, Lollichop, Infernal Orchestrina, or Burning Bongoes equipped.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-22-2012 , 06:24   Re: Pyrovision
Reply With Quote #25

Doesn't this plugin have a handle leak since you use CloneHandle (and TF2Items doesn't close the handles)? You should be fine just saying hItem = pyrovisionhandle, since you set the flags to PRESERVE and OVERRIDE and nothing else. It'll avoid the handle leak, too.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-24-2012 , 10:56   Re: Pyrovision
Reply With Quote #26

Quote:
Originally Posted by FlaminSarge View Post
Doesn't this plugin have a handle leak since you use CloneHandle (and TF2Items doesn't close the handles)? You should be fine just saying hItem = pyrovisionhandle, since you set the flags to PRESERVE and OVERRIDE and nothing else. It'll avoid the handle leak, too.
Oh blah, I thought I uploaded the other version that didn't use CloneHandle.

Updated to version 1.1 on the first page.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-24-2012 at 11:00.
Powerlord is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-23-2013 , 15:32   Re: Pyrovision (Updated 2012/07/24)
Reply With Quote #27

Looks ok. Approved.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-10-2013 , 15:37   Re: Pyrovision (1.2, 2013-05-10)
Reply With Quote #28

I rewrote this plugin to use TF2Attributes to assign the attribute directly to the player instead of the items.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-18-2013 at 15:23.
Powerlord is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 05-18-2013 , 05:11   Re: Pyrovision (1.2, 2013-05-10)
Reply With Quote #29

Quote:
Originally Posted by Powerlord View Post
I rewrote this plugin to use TF2Attributes to assign the attribute directly to the player instead of the items.
Just to say that the link provided of TF2Attributes seems wrong, as it is directing to AMXX forum.

https://forums.alliedmods.net/showth...=TF2Attributes was probably meant.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-18-2013 , 15:24   Re: Pyrovision (1.2, 2013-05-10)
Reply With Quote #30

Quote:
Originally Posted by RedSword View Post
Just to say that the link provided of TF2Attributes seems wrong, as it is directing to AMXX forum.

https://forums.alliedmods.net/showth...=TF2Attributes was probably meant.
You're right. I probably copied another number (since I use the thread markup instead of the full link) between the time I'd updated the first post (which has the correct link) and the time I wrote that post (which didn't).
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-18-2013 at 15:25.
Powerlord 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 10:03.


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