Raised This Month: $170 Target: $400
 42% 

l4d2 Gravity Gun


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AK978
Junior Member
Join Date: Jun 2018
Plugin ID:
6152
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    l4d2 Gravity Gun
    Old 06-07-2018 , 07:06   l4d2 Gravity Gun
    Reply With Quote #1

    Original plug-in

    weapon : Grenade gun
    sm_bh :turn on
    sm_blackhole_ff 0/1 :survivors damage


    Explanation: 1.The first shot to confirm the weapon does not have a black hole function.
    2.Shooting point produces huge flame and black hole function.
    3.Gravity only applies to survivors and special infected.
    4.Multiplayer server test is normal.

    v2 version : Flame black hole changed to aperture.

    Anyone can continue to perfect it.
    Sorry for my bad English, I can only use Google to translate.

    donate

    my server
    Attached Files
    File Type: smx l4d2_blackhole.smx (15.7 KB, 71 views)
    File Type: sp Get Plugin or Get Source (l4d2_blackhole.sp - 110 views - 7.7 KB)
    File Type: smx l4d2_blackhole_v2.smx (15.8 KB, 125 views)
    File Type: sp Get Plugin or Get Source (l4d2_blackhole_v2.sp - 126 views - 7.9 KB)

    Last edited by AK978; 06-07-2018 at 12:45.
    AK978 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-19-2018 , 03:49   Re: l4d2 Gravity Gun
    Reply With Quote #2

    SP ERROR



    Multiple black holes can cause a crash
    Attached Images
    File Type: jpg QQ?????20180819153635.jpg (33.7 KB, 261 views)
    File Type: jpg QQ?????20180819153707.jpg (35.6 KB, 256 views)
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    ricksfishin
    Senior Member
    Join Date: Oct 2017
    Old 08-19-2018 , 09:30   Re: l4d2 Gravity Gun
    Reply With Quote #3

    Compiled fine for me.
    Attached Files
    File Type: inc morecolors.inc (23.8 KB, 34 views)
    ricksfishin is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-19-2018 , 14:01   Re: l4d2 Gravity Gun
    Reply With Quote #4

    I want him to support the smg_silenced weapon. What should I do?

    How can he be allowed to support more weapons?
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    AK978
    Junior Member
    Join Date: Jun 2018
    Old 08-20-2018 , 01:52   Re: l4d2 Gravity Gun
    Reply With Quote #5

    if (StrEqual(weapon,"weapon_grenade_launcher"))

    118 : weapon_grenade_launcher
    You can try to change the weapon you want.

    V2 version is relatively stable and not easy to crash

    Last edited by AK978; 08-20-2018 at 01:55.
    AK978 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-20-2018 , 03:28   Re: l4d2 Gravity Gun
    Reply With Quote #6

    Quote:
    Originally Posted by AK978 View Post
    if (StrEqual(weapon,"weapon_grenade_launcher"))

    118 : weapon_grenade_launcher
    You can try to change the weapon you want.

    V2 version is relatively stable and not easy to crash
    This method is invalid, I have already tested it before I ask.
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-20-2018 , 03:30   Re: l4d2 Gravity Gun
    Reply With Quote #7

    118: if (StrEqual(weapon,"weapon_smg_silenced"))
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    AK978
    Junior Member
    Join Date: Jun 2018
    Old 08-20-2018 , 16:40   Re: l4d2 Gravity Gun
    Reply With Quote #8

    Collision point coordinates also need to be rewritten
    The bullet coordinates of the grenade gun and other gun bullet coordinates need to be compiled in different ways.


    You should be able to hook the bullet collision point with a hook

    Last edited by AK978; 08-20-2018 at 16:46.
    AK978 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 23:06.


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