1. Post #1
    jeims11's Avatar
    September 2010
    23 Posts
    Hi my names jeim11 i wod ned help to get a working lvl system i seen some people told me use Zoeys Experiance Mod but it dosent work att al a shity mod and will never in mel gibsons ass so if some 1 cod help me i wod be appreciated.
    Who cares if i cant type i got a voice.
    Reply With Quote Edit / Delete Reply Windows 7 Finland Show Events Dumb Dumb x 6Funny Funny x 2Informative Informative x 1 (list)

  2. Post #2
    sintwins's Avatar
    November 2009
    712 Posts
    I could, for a price.

  3. Post #3
    Best Gamemode Ever
    Deadman123's Avatar
    July 2011
    1,602 Posts
    I could, for a price.
    If you could, teach him how to spell also.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 5Dumb Dumb x 1 (list)

  4. Post #4
    Gold Member
    Greatie's Avatar
    August 2011
    685 Posts
    Isn't there's a XP system on gmod.org?

    http://www.garrysmod.org/downloads/?a=view&id=127854
    yeah there is
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 1 (list)

  5. Post #5
    wishbone's Avatar
    October 2008
    450 Posts
    Please someone teach this kid how to spell... I have seen quite a few EXP mods try to look harder next time.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  6. Post #6
    darren.splash's Avatar
    April 2010
    159 Posts
    AMOUNT_PER_KILL = 25 //Amount of EXp you get per kill

    function GM:PlayerInitialSpawn(ply)
    ply:SetPData("Level", 0)
    ply:SetPData("EXP", 0)
    end

    function ONNpcDeath(ply)
    ply:SetPData(ply:GetPData("EXP") + AMOUNT_PER_KILL))
    end

    function LevelUp(ply)
    if ply:GetPData("EXP") == 100 then
    ply:SetPData("Level", 2)
    ply:ChatPrint("You are now level 2! Congrats!!!!!")
    //elseif --Continue this Im too lazy to write the rest -.-"
    end

    end
    hook.Add("OnNPCDeath", "LevelUpLOL", LevelUp)

    This is kinda of a basic idea of a level system. Pretty crappy but hey it works ^_^. Only thing I could come up with in 5 minutes...
    Reply With Quote Edit / Delete Reply Windows 7 Canada Show Events Agree Agree x 1 (list)

  7. Post #7
    Gold Member
    JeffDOA's Avatar
    July 2011
    120 Posts
    AMOUNT_PER_KILL = 25 //Amount of EXp you get per kill

    function GM:PlayerInitialSpawn(ply)
    ply:SetPData("Level", 0)
    ply:SetPData("EXP", 0)
    end

    function ONNpcDeath(ply)
    ply:SetPData(ply:GetPData("EXP") + AMOUNT_PER_KILL))
    end

    function LevelUp(ply)
    if ply:GetPData("EXP") == 100 then
    ply:SetPData("Level", 2)
    ply:ChatPrint("You are now level 2! Congrats!!!!!")
    //elseif --Continue this Im too lazy to write the rest -.-"
    end

    end
    hook.Add("OnNPCDeath", "LevelUpLOL", LevelUp)

    This is kinda of a basic idea of a level system. Pretty crappy but hey it works ^_^. Only thing I could come up with in 5 minutes...
    Use LUA Box please.

    AMOUNT_PER_KILL = 25 //Amount of EXp you get per kill
    
    function GM:PlayerInitialSpawn(ply)
    ply:SetPData("Level", 0)
    ply:SetPData("EXP", 0)
    end
    
    function ONNpcDeath(ply)
    ply:SetPData(ply:GetPData("EXP") + AMOUNT_PER_KILL))
    end
    
    function LevelUp(ply)
    if ply:GetPData("EXP") == 100 then
    ply:SetPData("Level", 2)
    ply:ChatPrint("You are now level 2! Congrats!!!!!")
    //elseif --Continue this Im too lazy to write the rest -.-"
    end
    
    end
    hook.Add("OnNPCDeath", "LevelUpLOL", LevelUp)
    
    Reply With Quote Edit / Delete Reply Windows XP United States Show Events Useful Useful x 1 (list)

  8. Post #8

    May 2010
    1,116 Posts
    Actually, if you look in my addon someone posted earlier a good and arguably more stable approach is simply to store XP and have the level calculated out of that.

  9. Post #9
    jeims11's Avatar
    September 2010
    23 Posts
    I donnt ned to learn how spell i use my microphone on my temspeak server + am 16 and dont care if i cant type
    Reply With Quote Edit / Delete Reply Windows 7 Finland Show Events Dumb Dumb x 4Funny Funny x 2 (list)

  10. Post #10
    Best Gamemode Ever
    Deadman123's Avatar
    July 2011
    1,602 Posts
    I donnt ned
    + am 16
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 5Funny Funny x 2Optimistic Optimistic x 1 (list)

  11. Post #11
    Can someone give me a dayz copy?
    gonzalolog's Avatar
    April 2011
    1,231 Posts
    My mod is best...
    And i called it "RPGmod" rofl