Raised This Month: $32 Target: $400
 8% 

[CSGO/ANY]HexProps (Spawn models/props!)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Plugin ID:
5900
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-05-2017 , 03:11   [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #1

    HexProps





    Features:
    Code:
    1. Spawn Props
    2. Edit Props
    3. Move Props
    4. Save Props
    Edit Menu
    Code:
    1. Edit Transparency
    2. Edit Color
    3. Edit LifePoints
    4. Edit Consistency
    5. Edit Size(May not work with all models)
    Extras


    How to install
    Code:
    Just download the plugin from here and put the addons folder in your /GAME folder!
    How to add more props
    Code:
    To add more models(props) just edit the props_list.txt file located in: /GAME/addons/sourcemod/configs/props, and add this: 
    
    Code:
        "MODEL_NAME" 
        { 
            "model"    "MODEL_PATH" 
        }
    Then save!
    Todo / WIP / Bugs & Issues -->



    Credits
    Code:
    1. Boomix for model moving and ideas!
    2. Block_passes I took some parts from there & the models list.
    Videos

    Plugin Showcase: https://youtu.be/Y50XtEOQHxI
    Add more models: https://youtu.be/W-TckH1I4l4


    SourceCode on GitHub!

    Download
    __________________
    My Plugins
    SPCode


    Steam: hexer504
    Telegram: Hexah
    Discord: Hexah#6903

    If you like my work you can donate here!

    Last edited by Papero; 04-05-2018 at 08:33.
    Papero is offline
    Pavelas
    Junior Member
    Join Date: Oct 2016
    Old 11-09-2017 , 15:40   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #2

    Hello, nice job!

    I found a few bugs:

    1) Sometimes when I remove the prop, accidentally another random prop is being removed.
    I have no idea why it is happening, but this bug is very annoying.

    2) Another bug, when you make your prop solid, you still able to drop weapons through it.


    Suggestions:

    1) Ability to add custom names to spawned props, in this case it would be much easier to find which prop disappeared.

    Error log:

    PHP Code:
    L 11/09/2017 22:43:58: [SMException reportedProperty "m_vecOrigin" not found (entity 125/func_dustmotes)
    L 11/09/2017 22:43:58: [SMBlaminghexprops.smx
    L 11
    /09/2017 22:43:58: [SMCall stack trace:
    L 11/09/2017 22:43:58: [SM]   [0GetEntPropVector
    L 11
    /09/2017 22:43:58: [SM]   [1Line 513D:\Tools\BasicPawn\SourcePawn\include\hexstocks.inc::GetEntityOrigin
    L 11
    /09/2017 22:43:58: [SM]   [2Line 918D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::FirstTimePress
    L 11
    /09/2017 22:43:58: [SM]   [3Line 861D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::OnPlayerRunCmd 

    Last edited by Pavelas; 11-09-2017 at 15:46.
    Pavelas is offline
    Papero
    Veteran Member
    Join Date: Aug 2016
    Location: Italy
    Old 11-10-2017 , 03:13   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #3

    Quote:
    Originally Posted by Pavelas View Post
    1) Sometimes when I remove the prop, accidentally another random prop is being removed.
    I have no idea why it is happening, but this bug is very annoying.
    Do you get any errors for this?, in the next round does the props reappears?
    Maybe this is cause by saveing the ent index, instead the ent reference.

    Quote:
    Originally Posted by Pavelas View Post
    2) Another bug, when you make your prop solid, you still able to drop weapons through it.
    I've no idea for why this is happening, I'll try to investigate.
    Also here there's the same issue: https://forums.alliedmods.net/showthread.php?t=302669

    Quote:
    Originally Posted by Pavelas View Post
    Suggestions:

    1) Ability to add custom names to spawned props, in this case it would be much easier to find which prop disappeared.
    Also boomix suggested this, I will do this.


    Quote:
    Originally Posted by Pavelas View Post
    Error log:
    PHP Code:
    L 11/09/2017 22:43:58: [SMException reportedProperty "m_vecOrigin" not found (entity 125/func_dustmotes)
    L 11/09/2017 22:43:58: [SMBlaminghexprops.smx
    L 11
    /09/2017 22:43:58: [SMCall stack trace:
    L 11/09/2017 22:43:58: [SM]   [0GetEntPropVector
    L 11
    /09/2017 22:43:58: [SM]   [1Line 513D:\Tools\BasicPawn\SourcePawn\include\hexstocks.inc::GetEntityOrigin
    L 11
    /09/2017 22:43:58: [SM]   [2Line 918D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::FirstTimePress
    L 11
    /09/2017 22:43:58: [SM]   [3Line 861D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::OnPlayerRunCmd 
    This should be fixed by saving the ent refence instead of the ent index...
    I'll fix soon.



    Thanks for the feedback.
    __________________
    My Plugins
    SPCode


    Steam: hexer504
    Telegram: Hexah
    Discord: Hexah#6903

    If you like my work you can donate here!

    Last edited by Papero; 11-10-2017 at 03:25.
    Papero is offline
    Papero
    Veteran Member
    Join Date: Aug 2016
    Location: Italy
    Old 11-10-2017 , 13:02   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #4

    Quote:
    Originally Posted by Pavelas View Post
    PHP Code:
    L 11/09/2017 22:43:58: [SMException reportedProperty "m_vecOrigin" not found (entity 125/func_dustmotes)
    L 11/09/2017 22:43:58: [SMBlaminghexprops.smx
    L 11
    /09/2017 22:43:58: [SMCall stack trace:
    L 11/09/2017 22:43:58: [SM]   [0GetEntPropVector
    L 11
    /09/2017 22:43:58: [SM]   [1Line 513D:\Tools\BasicPawn\SourcePawn\include\hexstocks.inc::GetEntityOrigin
    L 11
    /09/2017 22:43:58: [SM]   [2Line 918D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::FirstTimePress
    L 11
    /09/2017 22:43:58: [SM]   [3Line 861D:\My Profile\Documents\HexProps\addons\sourcemod\scripting\hexprops.sp::OnPlayerRunCmd 
    Should be fixed within the last commit, please update it <,<
    I also added a Prop name, it could be changed every round.
    __________________
    My Plugins
    SPCode


    Steam: hexer504
    Telegram: Hexah
    Discord: Hexah#6903

    If you like my work you can donate here!

    Last edited by Papero; 11-10-2017 at 13:03.
    Papero is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 12-06-2017 , 10:54   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #5

    Hello! good job with your plugin! i wanted to ask you if you had this issue where you wanted to place a playermodel on a map, but when you want to move it you can't, also, when you select "remove prop" and you aim at the player model, it shows "no prop found" like it ignores totally the player model. I wonder if this is a normal behavior from this plugin (to allow to place player models as prop but don't allow us to move them or delete them)

    EDIT: Seems to be working, but sadly it's really hard since you need to go directly inside the player model, spam E untill you "grab it" then it will allow you to move it.

    And also what i've noticed, the "remove prop" doesn't seems to work, it always spam "no prop found"

    Thanks!

    Last edited by Lannister; 12-06-2017 at 12:13.
    Lannister is offline
    Papero
    Veteran Member
    Join Date: Aug 2016
    Location: Italy
    Old 12-07-2017 , 10:19   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #6

    Thanks for the report!

    Quote:
    Originally Posted by Lannister View Post
    EDIT: Seems to be working, but sadly it's really hard since you need to go directly inside the player model, spam E untill you "grab it" then it will allow you to move it.
    I'm having this issue too, I think it's because the hitbox of the "bones" of the player model.
    Currently I have no idea if this could be fixed.

    Quote:
    Originally Posted by Lannister View Post
    And also what i've noticed, the "remove prop" doesn't seems to work, it always spam "no prop found"
    I'll check, on my last test, it was ok.
    __________________
    My Plugins
    SPCode


    Steam: hexer504
    Telegram: Hexah
    Discord: Hexah#6903

    If you like my work you can donate here!
    Papero is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 12-07-2017 , 11:29   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #7

    Quote:
    Originally Posted by Papero View Post
    Thanks for the report!


    I'm having this issue too, I think it's because the hitbox of the "bones" of the player model.
    Currently I have no idea if this could be fixed.


    I'll check, on my last test, it was ok.
    Maybe a good way to fix this issue would be like, instead of select the model by aiming at him, select him from the menu (there should be a list with all the models placed in map?), then be allow to move it with your mouse normally, i think it would be a good "fix", but anyway, maybe just feew people want to add player model like us!

    Still, good job!
    Lannister is offline
    StormishJustice
    Member
    Join Date: May 2015
    Location: In a mysterious place.
    Old 03-08-2018 , 11:19   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #8

    Hi! I like your plugin, are you going to make a version that works for TF2? I tried compiling it with spcomp but the /props command doesn't work, I even tried loading it again but it says that it's already loaded, I also tried using build.sh to compile it but I realized it's for sourcemod's linux build, it would be appreciated if you make the plugin support TF2, it's really neat!
    __________________
    StormishJustice is offline
    Send a message via AIM to StormishJustice Send a message via Yahoo to StormishJustice Send a message via Skype™ to StormishJustice
    Papero
    Veteran Member
    Join Date: Aug 2016
    Location: Italy
    Old 03-28-2018 , 18:13   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #9

    Quote:
    Originally Posted by StormishJustice View Post
    Hi! I like your plugin, are you going to make a version that works for TF2? I tried compiling it with spcomp but the /props command doesn't work, I even tried loading it again but it says that it's already loaded, I also tried using build.sh to compile it but I realized it's for sourcemod's linux build, it would be appreciated if you make the plugin support TF2, it's really neat!
    Can you post you [code]sm plugins list[/php] reply from server console?

    I've never played TF2, but I'll try to help...

    Sorry for late reply.
    __________________
    My Plugins
    SPCode


    Steam: hexer504
    Telegram: Hexah
    Discord: Hexah#6903

    If you like my work you can donate here!

    Last edited by Papero; 03-28-2018 at 18:13.
    Papero is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 03-29-2018 , 04:21   Re: [CSGO/ANY]HexProps (Spawn models/props!)
    Reply With Quote #10

    Hmm, I think the entities passing through the solid props bug is caused by the props having "m_CollisionGroup" netprop set to 0 or something else that excludes said entities from colliding with said props.
    cravenge is offline
    Reply



    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 18:19.


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