Thread: mapedit

Results 1 to 9 of 9
  1. #1
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored

    mapedit

    ok so i added a mapedit to my mod
    but when i walk up to the door it dont say anything
    its suppost to say press f to close door
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  2. #2
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    378
    My Mood
    Inspired
    You need to copy the hint texts from QCZM... copying the function itself wouldn't suffice. When the player spawns, create a HUD string element called self.hint or similar. Search _rank.gsc, under createplayerhud() and dohudcontrol(). PM me the code and I'll fix it for you when I get home. Currently in school on phone now, so yea - cant reply to PMs.

  3. #3
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    is this it?
    Code:
    		self.hint = "";
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  4. #4
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    378
    My Mood
    Inspired
    No, no. You actually have to create the element on the player during spawn, destroy it on death and need a function to regulate the hint text. Check createplayerhud(), dohudcontrol() and destroyondeath().

  5. #5
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    I'll I see is
    self.hinttext = "";

  6. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,803
    Reputation
    3165
    Thanks
    73,331
    My Mood
    Breezy


    Code:
    doHUDControl() 
    {
        	self.HintText = self createFontString( "objective", 1.25 );
    	self.HintText setPoint( "CENTER", "CENTER", 0, 50 );
            self thread destroyOnDeath(self.HintText);
            self endon("death");
            self endon("disconnect");
            while(1) {
                    self.HintText setText(self.hint);
    	        self.hint = "";
                    wait .5;
            }
    }
    
    destroyOnDeath(elem)
    {
        self waittill("death");
        elem destroy();
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #7
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    thanks now theirs another problem, when I walk up to the door, it closes by it self and when I press my +activate nothing happens

  8. #8
    Boon Pek's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    378
    My Mood
    Inspired
    How can we know the problem if we do not know the code? We're not magical, you know, with the ability to guess your code's functions.

    Check the... nvm.
    My minecraft launcher!

    A full-featured, actively-developed windows-only Minecraft Launcher! It allows you to download older versions of minecraft.jar through the options menu, multi-username support, RAM allocation support, non-legit logins and more!











  9. #9
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    u want me to post code? cause its just a mapedit from QCZM
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!