Raised This Month: $ Target: $400
 0% 

[TF2] PortalMod Gun + Cube v1.0 11/11/2015


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Erreur 500
Senior Member
Join Date: Aug 2012
Location: Paris, France
Plugin ID:
4151
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Play Portal in Team Fortress 2
    Old 04-01-2014 , 04:09   [TF2] PortalMod Gun + Cube v1.0 11/11/2015
    Reply With Quote #1



    Last Change (11/11/2015): Show log, Change : .sp and .smx !




    DESCRIPTIONS

    What is the Portalgun ? The portalgun is a weapon create for the Portal game. It creates portals on wall which permit you to be teleported on the other portal. You keep the same velocity.


    More Information :
    Code:
    			CAN							|					CAN'T
    										|
    - Create portal on any plane wall.						|	- Not allow to create portal in spawn room. 
    - Mustn't wait the bullet end before shoot a new bullet.			|	- TF2 isn't Portal, it's impossible to use func_monitor (Can't see through a portal)
    - If your map is close with player clip, there isn't portal outside.		|	- There is a velocity restriction (max = 1000). 
    - If player stuck, portal are destroyed.					|	- You can't pass through a portal like in Portal.
    - If player stuck, player is TP in front the first portal.			|	- You can't spawn a portal on func_door.
    - Portal can be destroyed by projectile (portalgun_breakable)			|	- You can't spawn portals on prop_dynamic and prop_physics (portalgun_prop).
    - Portal can be destroyed when player dies (portalgun_per_life)			|
    - All player can receive the PortalGun						|






    HOW DOES IT WORKS?

    Player Command:
    HTML Code:
    !portalgun	// Drop portalgun
    Admin Command (root):
    HTML Code:
    portalmod_reset		// Force to reset the mod
    CVARS
    HTML Code:
    portalgun_breakable	<0 or 1> (def: 1)	// Portal can be destroyed by projectiles 
    portalgun_health	<int>	(def: 500)	// Portal health
    portalgun_enable	<0 or 1> (def: 1)	// Enable - disable the plugin
    portalgun_per_life	<0 or 1> (def: 1)	// Destroy player portal when he dies
    portalgun_only_mine	<0 or 1> (def: 0)	// Players can only use their portals
    portalgun_flag	<a or c  or d or e or f or g or h or i or l or m or n or o or p or q or r or s or t> (def: a) // Flag without restriction (b and z are yet include)
    portalgun_prop	<0 or 1> (def: 0)	// Can spawn portal on prop_dynamic and prop_physics?
    portalgun_wall	<0.0 to 1.0> (def: 1.0)	// Pourcentage (1.0 to 0.1) to check if the wall is plane. (0.0 = no check)
    
    portalgun_scout		<0 or 1> (def: 1)	// Can scout receive the portalgun?
    portalgun_sniper	<0 or 1> (def: 0)	// Can sniper receive the portalgun?
    portalgun_soldier	<0 or 1> (def: 0)	// Can soldier receive the portalgun?
    portalgun_demoman	<0 or 1> (def: 0)	// Can demomanreceive the portalgun?
    portalgun_medic		<0 or 1> (def: 0)	// Can medic receive the portalgun?
    portalgun_heavy		<0 or 1> (def: 0)	// Can heavy receive the portalgun?
    portalgun_pyro		<0 or 1> (def: 0)	// Can pyro receive the portalgun?
    portalgun_spy		<0 or 1> (def: 0)	// Can spy receive the portalgun?
    portalgun_engineer	<0 or 1> (def: 0)	// Can engineer receive the portalgun?
    portalgun_game_desc     <0 or 1> (def: 1)	// Change your game description (need steamTools)

    By using CVARs, you will allow players to receive the portalgun if their are in specific class or with flag.
    Maps and my plugin are not perfect, and some time you can be stuck at the portal exit. Some of stuck position can be unstuck by my plugin !stuck. For the other stuck position I'm working on it to find a way.



    How to install ?

    portalmod_gun.smx in tf\addons\sourcemod\plugins
    portalmod_gun.sp in tf\addons\sourcemod\scripting


    Decompress, copy and paste materials-models-sounds files in your server.

    Need to work :
    morecolors.inc
    Tf2 Items (the last snapshot)

    Optional :
    Stuck (highly recommended)
    SteamTools




    KNOW ISSUES

    I need your feedback to fix the issues.
    Issue(s) : None !


    LOGS
    Spoiler
    Attached Files
    File Type: zip portalmod_gun_fastDL_files.zip (1.58 MB, 1311 views)
    File Type: zip portalmod_gun_server_files.zip (1.63 MB, 1580 views)
    File Type: smx portalmod_gun.smx (31.6 KB, 1629 views)
    File Type: sp Get Plugin or Get Source (portalmod_gun.sp - 1376 views - 60.7 KB)
    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500

    Last edited by Erreur 500; 11-14-2015 at 03:17. Reason: Update
    Erreur 500 is offline
     



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


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