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

[ANY] L Duke's Tripmines: Reborn 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
`666
AlliedModders Donor
Join Date: Jan 2006
Old 11-08-2019 , 11:22   Re: [ANY] L Duke's Tripmines: Reborn 1.0
Reply With Quote #11

Awesome! I'm using it in insurgency coop. Only problem that some team mates walk in to a laser by accident or on purpose. Can you add option to disable trigger by friendly team?
`666 is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 03-31-2022 , 08:32   Re: [ANY] L Duke's Tripmines: Reborn 1.0
Reply With Quote #12

Does anyone know what particles & materials are in the "prop_dynamic_override" explosion? In the insurgency, the explosion doesn't have any visual effects, so I need to add whatever is missing manually for clients to download.
`666 is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 04-05-2022 , 00:54   Re: [ANY] L Duke's Tripmines: Reborn 1.0
Reply With Quote #13

Quote:
Originally Posted by `666 View Post
Awesome! I'm using it in insurgency coop. Only problem that some team mates walk in to a laser by accident or on purpose. Can you add option to disable trigger by friendly team?
Haven't touched this in years but I've been bored lately so I'll try messing around with this and re-sharpening my SourceMod skills.
404UserNotFound is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 04-06-2022 , 05:14   Re: [ANY] L Duke's Tripmines: Reborn 1.0
Reply With Quote #14

Quote:
Originally Posted by TF2CutContentWiki View Post
Haven't touched this in years but I've been bored lately so I'll try messing around with this and re-sharpening my SourceMod skills.
You can copy it from here

For insurgency (checkpoint mode):
- Only bots trigger it
- Plant using custom c4 weapon. Must be added via custom theater weapon like here:https://steamcommunity.com/sharedfil...?id=2779377093

PHP Code:
"weapon_c4_tripmine"
        
{
            
"import"                "weapon_base"
            "weapon_class"                "other_explosive"
            "weapon_type"                "grenade"
            "print_name"                "#weapon_c4_tripmine"
            "print_desc"                "#weapon_c4_tripmine_desc"
            "view_model"                "models/weapons/v_c4_tm_sec.mdl"
            "world_model"                "models/weapons/w_c4_tm.mdl"
            "weapon_slot"                "explosive"
            "weapon_max_subslot"            "1"
            "act_table"                "grenade"
            "weapon_weight"                "0"
            "weapon_cost"                "3"
            "class_restricted"            "0"
    
            "explosives"
            
{
                
"entity"                "grenade_c4_tripmine"
                "GrenadeRollSpeed"            "0"
                "GrenadeRollSpeedProne"        "0"
                "GrenadeRollUpSpeed"        "0"
                "GrenadeRollUpSpeedProne"    "0"
                "GrenadeThrowSpeed"            "400"
                "GrenadeThrowSpeedProne"    "350"
                "RemoteDetonation"            "0"
                "AllowPlant"                "1"
            
}
            
"ammo_clip"
            
{
                
"ammo_type"                "grenade_c4_tripmine"
                "clip_max_rounds"            "-1"    
// no clips
                
"clip_default"                "1"
            
}
            
"team_access"                "security, insurgent"
        

- Added particle explosion effect of c4
- c4 planting voice notifications

edit:

- Added command for clients:
PHP Code:
RegConsoleCmd("tmrgb"Command_TripMineColour"Set RGB colour of your trip mine laser"); 
edit2: - Added 2 more commands for clients:
PHP Code:
 RegAdminCmd("tmrgbrandomalways"Command_TripMineRngAlwaysADMFLAG_RESERVATION"[toggle cmd] Randomise your trip mine laser colour every time (reserved slot access only)");
RegConsoleCmd("tmrgbrandom"Command_TripMineRandomRgb"Set a random RGB colour of your trip mine laser"); 
edit3: tweaks & cfg file
edit4: cookie support
edit5: check for too many spaces in cmd
edit6: A Player can pick up his own deployed trip mines with the USE key.
edit7: Pick up distance check
Attached Files
File Type: sp Get Plugin or Get Source (tripmines2016.sp - 16 views - 23.5 KB)

Last edited by `666; 09-06-2022 at 12:48. Reason: Pick up distance check
`666 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 19:16.


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