Raised This Month: $12 Target: $400
 3% 

[TF2] Rollermine spawner


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Plugin ID:
4944
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    24 
    Plugin Description:
    Electric balls
    Old 12-09-2015 , 08:58   [TF2] Rollermine spawner
    Reply With Quote #1

    TF2 Rollermine spawner

    What is it?
    This plugin re-creates the HL2 rollermines.


    Commands:
    sm_rollermine Spawn a Rollermine at your crosshair.
    sm_clearmines Remove all Rollermines.

    Cvars:
    tf2_rollermine_version - Plugin Version
    tf2_rollermine_speed - Rollermine rotation speed
    tf2_rollermine_force - Rollermine angular force
    tf2_rollermine_damage - Rollermine shock damage
    tf2_rollermine_stunduration - Rollermine stun duration
    tf2_rollermine_open_threshold - Rollermine open threshold
    tf2_rollermine_max_attack_distance - Rollermine max attack distance

    Chaneglog:
    1.0 - Initial Release
    1.1 - Fixed sounds continuing when no rollermine existed
    1.2 - Fixed some errors when a player disconnected
    1.3 - Added a few ConVars
    1.4 - Fixed compile error

    Bugs / Problems:
    - No lightning
    - Dumb (Needs line of sight)
    Attached Files
    File Type: smx rollermine.smx (12.4 KB, 651 views)
    File Type: sp Get Plugin or Get Source (rollermine.sp - 1644 views - 16.8 KB)
    __________________

    Last edited by Pelipoika; 02-05-2016 at 05:41. Reason: ConVars
    Pelipoika is offline
    Randommagic
    Senior Member
    Join Date: Jun 2014
    Location: -
    Old 12-09-2015 , 09:45   Re: [TF2] Rollermine spawner
    Reply With Quote #2

    Working fine
    Handy for creating a mayhem for my fun server
    __________________
    Randommagic is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 12-09-2015 , 20:39   Re: [TF2] Rollermine spawner
    Reply With Quote #3

    Yeah it really needs a way to disable print to chat messages otherwise nice.
    Horsedick is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 12-10-2015 , 06:22   Re: [TF2] Rollermine spawner
    Reply With Quote #4

    Quote:
    Originally Posted by Horsedick View Post
    Yeah it really needs a way to disable print to chat messages otherwise nice.
    What print to chat
    __________________
    Pelipoika is offline
    Randommagic
    Senior Member
    Join Date: Jun 2014
    Location: -
    Old 12-10-2015 , 08:34   Re: [TF2] Rollermine spawner
    Reply With Quote #5

    Any way to make the ball not to follow the player?

    If the ball stands still, and people can still push the ball by touching it, it might be possible to play soccer with that
    __________________

    Last edited by Randommagic; 12-10-2015 at 08:35. Reason: RIP my english grammar
    Randommagic is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 12-10-2015 , 08:39   Re: [TF2] Rollermine spawner
    Reply With Quote #6

    Quote:
    Originally Posted by Randommagic View Post
    Any way to make the ball not to follow the player?

    If the ball stands still, and people can still push the ball by touching it, it might be possible to play soccer with that
    It would be better to use an actual soccer ball instead.

    prop_soccer_ball
    __________________
    Pelipoika is offline
    Randommagic
    Senior Member
    Join Date: Jun 2014
    Location: -
    Old 12-10-2015 , 12:18   Re: [TF2] Rollermine spawner
    Reply With Quote #7

    could not compile until
    Code:
    public void OnRollermineThink(int iEnt, int client)
    By the way, how can I make the ball to not follow the player?
    I tried to change the ROLLERMINE_MAX_ATTACK_DIST, and when I set it to like 10, the ball didn't even move when i touched it.

    I have almost no knowledge in scripting, so have no idea how to
    __________________
    Randommagic is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 12-10-2015 , 12:24   Re: [TF2] Rollermine spawner
    Reply With Quote #8

    Quote:
    Originally Posted by Randommagic View Post
    Any way to make the ball not to follow the player?

    If the ball stands still, and people can still push the ball by touching it, it might be possible to play soccer with that
    Or you could play the not-quite-soccer-not-quite-football PASStime game mode.
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 12-10-2015 , 12:47   Re: [TF2] Rollermine spawner
    Reply With Quote #9

    Quote:
    Originally Posted by Randommagic View Post
    could not compile until
    Code:
    public void OnRollermineThink(int iEnt, int client)
    By the way, how can I make the ball to not follow the player?
    I tried to change the ROLLERMINE_MAX_ATTACK_DIST, and when I set it to like 10, the ball didn't even move when i touched it.

    I have almost no knowledge in scripting, so have no idea how to
    I don't get it, you couldn't compile but you could after all?

    Also 10 is definitely too small, you'd have to get inside the rollermine.

    ::EDIT
    Oh i see you had to add public in front of that, idk why it compiles just fine for me
    __________________

    Last edited by Pelipoika; 12-10-2015 at 12:49.
    Pelipoika is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 12-10-2015 , 14:28   Re: [TF2] Rollermine spawner
    Reply With Quote #10

    I tried this on server and it seemed to crash twice pretty fast. This might help clarify if this plugin?


    Code:
                                      3KMG-KI7Z-ORRJ                 5 minutes ago                                      server_srv.so!CServerGameEnts::CheckTransmit(CCheckTransmitInfo*, unsigned short const*, int) + 0x293                                                                                                                   IA7N-VTYW-IZU4                 15 minutes ago                                      server_srv.so!CServerGameEnts::CheckTransmit(CCheckTransmitInfo*, unsigned short const*, int) + 0x293
    SourceMod Version: 1.7.3-dev+5251
    Metamod:Source version 1.10.6-dev
    MaloModo 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 12:05.


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