Raised This Month: $ Target: $400
 0% 

[NMRiH] Cyclop's beam (2016/05/03)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
5173
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
    29 
    Plugin Description:
    Laser beam from the player's eyes
    Old 05-03-2016 , 09:38   [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #1

    Name: Cyclop's beam

    Description: Creates a laser beam from the admin's eyes (as the Cyclops from the comic book X-Man) and allow to the all players to shove the zombies by pressing button Reload.

    Installation: Place compiled plugin (nmrih_cyclop.smx) into the plugins folder (../addons/sourcemod/plugins/).
    Place the translation file (nmrih_cyclop.phrases.txt) into the translations folder (../addons/sourcemod/translations/).

    CVars:
    • nmrih_cyclop_version - Plugins version
    • sm_cyclop_default - Default client colour preference (0 - 8)
      You can choose from eight colors (red, orange, yellow, green, cyan, blue, purple and white) beam or make it invisible (set to 0).
      To select a color use the command "!settings".
    • sm_cyclop_alpha - Beam transparency
    • sm_cyclop_damage - Default beam damage
    • sm_cyclop_effect - Zombies die with effect (0 - no effect, 1 - burn, 2 - dissolve, 3 - disappear, 4 - trow)
    • sm_cyclop_shove - Allow shove the zombies by pressing Reload

    Commands: sm_cyclop, sm_ct - Toggle the beam
    Attached Files
    File Type: sp Get Plugin or Get Source (nmrih_cyclop.sp - 1843 views - 8.5 KB)
    File Type: txt nmrih_cyclop.phrases.txt (991 Bytes, 813 views)
    __________________

    Last edited by Grey83; 05-03-2016 at 09:45.
    Grey83 is offline
    yomox9
    Member
    Join Date: Jan 2014
    Location: jp
    Old 05-05-2016 , 23:07   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #2

    I enter !cyclop in chat.
    Message displayed "[Cyclop] Beam enabled".
    and I can kill zombie(burn).
    But I can't see my beam.
    So I try sm_cyclop_default 0~8. But I still can't see beam...
    Why?
    yomox9 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 05-06-2016 , 01:30   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #3

    yomox9, use menu "!settings" for change color of Your beam
    __________________
    Grey83 is offline
    yomox9
    Member
    Join Date: Jan 2014
    Location: jp
    Old 05-06-2016 , 23:12   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #4

    I could it. I should read carefully.Thank you~
    This is funny idea plugin.

    My suggestion:
    ・Energy for Beam. e.g. 0~100
    ・For create beam, need Full energy. e.g. 100
    ・If create beam, Energy will be 0.
    ・Energy will be recovery at regular intervals. e.g. 10/sec
    ・Energy indicator e.g. "Energy 100" on screen bottom left
    ・When only press reload button + Attack button, crate beam
    ・Beam sound
    ・More thick beam
    yomox9 is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 05-15-2016 , 07:34   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #5

    Could possibly be adapted for any game, I think.
    __________________
    Leonardo is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 05-15-2016 , 14:31   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #6

    Leonardo, only for those who supported by the SDKTools
    __________________
    Grey83 is offline
    DJPlaya
    Senior Member
    Join Date: Nov 2014
    Location: Germany
    Old 10-30-2016 , 12:59   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #7

    Reminds me of Evil Admin ^^

    TF2 - Beam visable at wrong height without damage

    Edit:
    Made an Laser Pointer out of it and fixed the height
    Code:
    Vars:
    sm_cyclop_version
    sm_cyclop_default - 0 - Default client color preference (0 - 8)
    sm_cyclop_alpha - 63 - Beam transparency (0-255)
    Commands:
    sm_cyclop/sm_ct - Fire a laser
    (Sourcemod)sm_settings - Change the color
    
    config>cfg\sourcemod\cyclop_beam.cfg
    supportet translations>Englisch, Russia, German
    Attached Files
    File Type: smx cyclop_beam.smx (9.6 KB, 483 views)
    File Type: txt cyclop_beam.phrases.txt (1.3 KB, 479 views)
    File Type: sp Get Plugin or Get Source (cyclop_beam.sp - 1073 views - 6.5 KB)
    __________________
    My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

    Last edited by DJPlaya; 12-30-2017 at 14:40.
    DJPlaya is offline
    Send a message via Skype™ to DJPlaya
    PLTAT
    Member
    Join Date: Apr 2023
    Old 05-23-2024 , 11:49   Re: [NMRiH] Cyclop's beam (2016/05/03)
    Reply With Quote #8

    compile 1.12.0_7136
    ----
    warning 242: function "OnPlayerRunCmd" should return an explicit value
    // 167 | public Action OnPlayerRunCmd(int client, int &iButtons, int &iImpulse, float fVel[3], float fAng[3], int &iWeapon)
    warning 209: function has explicit 'int' tag but does not return a value
    // 275 | public int PrefMenuHandler(Menu prefmenu, MenuAction action, int client, int item)
    ----
    i try fix?
    my english poor
    web did't i18n
    Attached Files
    File Type: txt nmrih_cyclop.phrases.txt (1.2 KB, 1 views)
    File Type: sp Get Plugin or Get Source (nmrih_cyclop_1.1.0_23.05.2024.sp - 28 views - 8.1 KB)

    Last edited by PLTAT; 06-02-2024 at 16:33.
    PLTAT is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 05-23-2024 , 16:29   [NMRiH] Cyclop's beam [2024/05/23]
    Reply With Quote #9

    Changes in v1.1.0 [2024/05/23]:
    • Completely rewritten in new syntax (fully compatible with SM1.12)
    • The code has been slightly optimized
    Attached Files
    File Type: sp Get Plugin or Get Source (nmrih_cyclop 1.1.0_23.05.2024.sp - 36 views - 8.1 KB)
    __________________

    Last edited by Grey83; 06-01-2024 at 02:55. Reason: fixed error "Language phrase "Menu_Title" not found"
    Grey83 is offline
    PLTAT
    Member
    Join Date: Apr 2023
    Old 05-27-2024 , 22:49   Re: [NMRiH] Cyclop's beam [2024/05/23]
    Reply With Quote #10

    Quote:
    Originally Posted by Grey83 View Post
    Changes in v1.1.0 [2024/05/23]:
    • Completely rewritten in new syntax (fully compatible with SM1.12)
    • The code has been slightly optimized
    i run the plugin, look like can't use?
    sm_ct?
    Unknown command "sm_cyclop"
    __________________
    ---- Signature Start ----
    Web not i18n
    My English poor
    ---- Signature End ----
    PLTAT 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 07:14.


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