Results 1 to 7 of 7
  1. #1
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default [SC7E52] [Release]Camper Prevention

    I made this real quick for my new mod menu, it makes a icon on your minimap when someone camps

    Code:
    CamperPrevention()//add to onplayerspawned
    {
            self endon("disconnect");
            self endon("death");
    precacheShader( "compass_waypoint_target" );
            for(;;)
        {
            self.crnt = self.origin;
    wait 15;
    if( Distance( self.crnt, self.origin )<80 )
    {
    objective_add( 1, "active", self.origin );
    objective_icon( 1, "compass_waypoint_target" );
    notifyData = spawnStruct();
    notifyData.titleText = "^2"+self.name+" Is A Gay Camper";
    notifyData.notifyText = "^7Look At your Mini Map To Find The camper";
    notifyData.duration = 6;
    notifyData.sound = "mp_challenge_complete";
    self maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    self endon("death")
    for(;;)
    {
    objective_position( 1, self.origin );
    wait 0.2;
    }
    }
    }
    
    
    }

    0 Not allowed! Not allowed!
    Last edited by tony; 09-16-2012 at 02:12 PM.

  2. #2
    Heritage Generals InZanIty's Avatar
    Join Date
    Jun 2012
    Posts
    1,183
    Points
    1,273
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Posts
    1,183
    Points
    1,273

    Default

    Cool. But I don't know how to mod.

    0 Not allowed! Not allowed!
    Quote Originally Posted by Goober View Post
    Slowski likes to googe clay.
    Quote Originally Posted by PVT.Money View Post
    I can't change to something I can't be.
    Former |-KigZz-|

  3. #3
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    Quote Originally Posted by |-KGŽž-| View Post
    Cool. But I don't know how to mod.
    useless post is useless.

    Jk if you look in the wii guides their is [tuts] on how to mod

    0 Not allowed! Not allowed!

  4. #4
    Heritage Generals InZanIty's Avatar
    Join Date
    Jun 2012
    Posts
    1,183
    Points
    1,273
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Posts
    1,183
    Points
    1,273

    Default

    Quote Originally Posted by tony View Post
    useless post is useless.

    Jk if you look in the wii guides their is [tuts] on how to mod
    Not funny. JK. alright I will look and then i shall figure all this out. Hehe.

    0 Not allowed! Not allowed!
    Quote Originally Posted by Goober View Post
    Slowski likes to googe clay.
    Quote Originally Posted by PVT.Money View Post
    I can't change to something I can't be.
    Former |-KigZz-|

  5. #5
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    You didnt test this?
    When the script checks for the distance between your current origin and your old origin, you have it set to check if you've moved away from your old origin.
    Basically make the > into a <

    And revise the script so it doesnt check every 15 seconds. That could get annoying running around and then 15 seconds you happen to stumble upon your old origin.

    0 Not allowed! Not allowed!

  6. #6
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default [SC7E52] [Release]Camper Prevention

    Sweet ill have to add this when I get back to my computer


    Sent from my iPod touch using Tapatalk

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  7. #7
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,302
    Points
    10,689
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default Re: [SC7E52] [Release]Camper Prevention

    Quote Originally Posted by Kazzababe View Post
    You didnt test this?
    When the script checks for the distance between your current origin and your old origin, you have it set to check if you've moved away from your old origin.
    Basically make the > into a <

    And revise the script so it doesnt check every 15 seconds. That could get annoying running around and then 15 seconds you happen to stumble upon your old origin.
    the 15 seconds is self preference, and lol ill fix it

    Sent from my Transformer TF101 using Tapatalk 2

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 08:17 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.