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

[L4D2]Portals


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
flud
Senior Member
Join Date: Jun 2009
Location: Latvija
Plugin ID:
1713
Plugin Version:
1.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    create the portals to transfer of matter from one point to another
    Old 06-05-2010 , 10:57   [L4D2]Portals
    Reply With Quote #1

    [IMG]http://img15.**************/img15/3936/portalsgv.jpg[/IMG]

    Credit & Thanks
    Credit going to Me
    Thanks to alexip121093 for code snippets and Elektramode for post in thread

    Features
    • Teleport players, props, tanks ;D to any position in map
    • All clients have different teleports
    • Visual and sound effects

    Portals a new secret technology appearing in L4D world, use caution can transform your brains to liquid substance
    For now it work only in L4D2 but I'm 100% know possible to work on any source engine game (need more code skill and time)

    commands:
    1. sm_p, or in chat !p
    2. for delete portals use command sm_p twice
    3. !p red teleport red portal, !p blue blue portal if both already exists
    4. sm_pd admin command to delete all portals

    AutoExec Config File: cfg\sourcemod\Portals.cfg

    Convars:
    1. sm_portals_model (def=models/props_mall/mall_shopliftscanner.mdl)

      // 0 = bots can use portal, 1 = only players
    2. sm_portals_nobots (def=0)

      // 0 = pipe's, gascan any physic prop can use portal, 1 = only players
    3. sm_portals_noprops (def=1)

      // Particle effect
    4. sm_portals_particle (def=electrical_arc_01_system)

      // Sound on error acquired
    5. sm_portals_sounderror (def=buttons/button11.wav)

      // Sound if teleport used
    6. sm_portals_soundfx (def=ui/pickup_misc42.wav)

      // Sound when someone teleported
    7. sm_portals_soundgo (def=weapons/defibrillator/defibrillator_use.wav)

      // Only admin can spawn portals
    8. sm_portals_admin (def=0)

    for compile and play you need SDK Hooks

    Quote:
    update log [06.06.2010]
    • add admin cvar sm_portals_admin
    • delete force function not work correctly

    update log [07.06.2010]
    • add admin command to delete all portals on map sm_pd
    • change default value sm_portals_noprops to 1, props not work correctly
    • disable use particle effect and Screen Fade effect for props

    update log [09.06.2010]
    • bugs, maybe fix something
    • add function to remove client portal when he disconnect

    update log [08.06.2010]
    • fix jump bug (add block to world brush that thing have valid entindex and model name, but it's still can be so set portal on clear ground)
    • change all PrintToChatAll to PrintToChat prevent spam in main chat

    update log [15.06.2010]
    • add alexip121093 code
    • another fix for jump bag, now you can't spawn portal if some entity block it
    Attached Files
    File Type: sp Get Plugin or Get Source ([L4D2]Portals.sp - 2594 views - 17.6 KB)
    File Type: smx [L4D2]Portals.smx (12.2 KB, 4190 views)
    __________________
    Beware of a terrible language

    Last edited by flud; 06-15-2010 at 03:47.
    flud is offline
    Send a message via Skype™ to flud
     



    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:51.


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