Project Zomboid

Project Zomboid

Cynabal Jul 10, 2014 @ 5:37am
Max Skills and Traits Cheat
MAX SKILLS
(Working as of build 30)

Go to C:\Program Files (x86)\Steam\SteamApps\common\ProjectZomboid\media\lua\client

1. Copy and paste the "Demo warning" LUA file to desktop.
2. Rename file to "CheatPlayerXPSkill.lua".
3. Open file with notepad, delete all text, copy and paste the following;
getCore()
getPlayer()

--F11 is for XP

function AddPlayerXP(character)
if isKeyDown(Keyboard.KEY_Y) and
isKeyDown(Keyboard.KEY_F11) then
character:getXp():AddXP(Perks.Fitness, 1000);
character:getXp():AddXP(Perks.Strength, 1000);
end
if isKeyDown(Keyboard.KEY_U) and
isKeyDown(Keyboard.KEY_F11) then
character:getXp():AddXP(Perks.Sprinting, 1000);
character:getXp():AddXP(Perks.Lightfoot, 1000);
character:getXp():AddXP(Perks.Nimble, 1000);
character:getXp():AddXP(Perks.Sneak, 1000);
character:getXp():AddXP(Perks.Cooking, 1000);
character:getXp():AddXP(Perks.Woodwork, 1000);
character:getXp():AddXP(Perks.Farming, 1000);
character:getXp():AddXP(Perks.Axe, 1000);
character:getXp():AddXP(Perks.Blunt, 1000);
character:getXp():AddXP(Perks.Aiming, 1000);
character:getXp():AddXP(Perks.Reloading, 1000);
character:getXp():AddXP(Perks.Fishing, 1000);
character:getXp():AddXP(Perks.Trapping, 1000);
character:getXp():AddXP(Perks.BluntGuard, 1000);
character:getXp():AddXP(Perks.BluntMaintenance, 1000);
character:getXp():AddXP(Perks.BladeGuard, 1000);
character:getXp():AddXP(Perks.BladeMaintenance, 1000);
character:getXp():AddXP(Perks.PlantScavenging, 1000);
character:getXp():AddXP(Perks.Doctor, 1000);
end
-- if isKeyDown(Keyboard.KEY_I) and
-- isKeyDown(Keyboard.KEY_F11) then
-- character:getXp():AddXP(Perks.Strength, 1);
-- end
end

Events.OnPlayerUpdate.Add(AddPlayerXP);
4. Save
5. Move the file to C:\Program Files (x86)\Steam\SteamApps\common\ProjectZomboid\media\lua\client
6. Load up the game, hold F11 and press U as many times as needed.
NOTE; The Lua file should be closed before loading the game or the cheat may not work.
(Strength and fitness perks dont seem to do anything, could be because of an older version of the game?)
Source - http://www.gamefaqs.com/boards/641551-project-zomboid/67809805
Also contains the cheat file text for spawning items if thats your thing

MAX TRAITS
Link - http://pz-mods.net/professions/Pointstospend/
Follow the link, the only difference is "self.pointToSpend" should = 48 as of version 27#1
Last edited by Cynabal; Jan 4, 2015 @ 8:05am
< >
Showing 1-15 of 39 comments
Steviefaux Jul 10, 2014 @ 5:59am 
Check through the forums someone has already answered this. I can't remember which file it is you edit.

You wouldn't get banned because you can't play multiplayer with the edited files anyway.
Steviefaux Jul 10, 2014 @ 6:01am 
In there somewhere

F:\Games\Steam\steamapps\common\ProjectZomboid\media\lua
Cynabal Jul 10, 2014 @ 6:13am 
Ok, thanks for the advice, i figured it out. Will post how to do it in the origional post for others.
Last edited by Cynabal; Jul 10, 2014 @ 6:35am
Leonardo_E Oct 13, 2014 @ 12:05pm 
a quick update for Build 29.3,
add following lines AFTER "character:getXp():AddXP(Perks.Trapping, 1000);".

character:getXp():AddXP(Perks.BluntGuard, 1000);
character:getXp():AddXP(Perks.BluntMaintenance, 1000);
character:getXp():AddXP(Perks.BladeGuard, 1000);
character:getXp():AddXP(Perks.BladeMaintenance, 1000);
character:getXp():AddXP(Perks.PlantScavenging, 1000);
Punatulkku Oct 13, 2014 @ 1:47pm 
Im amazed, new game comes, and first the unskilled people are asking "how to cheat" really???
darkrajin Oct 13, 2014 @ 2:15pm 
Punatulkku, people are welcomed to play the game as they want, it causes no impact on anyone elses game so who cares, let them enjoy the game how they like.
darkrajin Oct 13, 2014 @ 11:42pm 
hey with this, my question, is there a maximum level, I mean like, can I kill enough zombies, and level all skills to max, or is there a limited amound of skill points?
Last edited by darkrajin; Oct 13, 2014 @ 11:43pm
Mikkel Nov 14, 2014 @ 12:01pm 
For whatever reason, only the new branch of traits doesn't seem to go up, despite having changed the lua to include them. the lua looks like this:

getCore() getPlayer() --F12 is for XP function AddPlayerXP(character) if isKeyDown(Keyboard.KEY_Y) and isKeyDown(Keyboard.KEY_F11) then character:getXp():AddXP(Perks.Fitness, 1000); character:getXp():AddXP(Perks.Strength, 1000); end if isKeyDown(Keyboard.KEY_U) and isKeyDown(Keyboard.KEY_F11) then character:getXp():AddXP(Perks.Sprinting, 1000); character:getXp():AddXP(Perks.Lightfoot, 1000); character:getXp():AddXP(Perks.Nimble, 1000); character:getXp():AddXP(Perks.Sneak, 1000); character:getXp():AddXP(Perks.Cooking, 1000); character:getXp():AddXP(Perks.Woodwork, 1000); character:getXp():AddXP(Perks.Farming, 1000); character:getXp():AddXP(Perks.Axe, 1000); character:getXp():AddXP(Perks.Blunt, 1000); character:getXp():AddXP(Perks.Aiming, 1000); character:getXp():AddXP(Perks.Reloading, 1000); Character:getXp():AddXP(Perks.Fishing, 1000); character:getXp():AddXP(Perks.Trapping, 1000); character:getXp():AddXP(Perks.BluntGuard, 1000); character:getXp():AddXP(Perks.BluntMaintenance, 1000); character:getXp():AddXP(Perks.BladeGuard, 1000); character:getXp():AddXP(Perks.BladeMaintenance, 1000); character:getXp():AddXP(Perks.PlantScavenging, 1000); end -- if isKeyDown(Keyboard.KEY_I) and -- isKeyDown(Keyboard.KEY_F11) then -- character:getXp():AddXP(Perks.Strength, 1); -- end end Events.OnPlayerUpdate.Add(AddPlayerXP);



Using B29.3
Last edited by Mikkel; Nov 14, 2014 @ 12:01pm
Mikkel Jan 3, 2015 @ 6:03am 
Can anyone confirm this works for the new build 30?
StrungSweeney Jan 3, 2015 @ 6:09am 
So lame guys dissapointed in the commuinty, Dreadful.
Mikkel Jan 3, 2015 @ 6:12am 
Originally posted by StrungSweeney:
So lame guys dissapointed in the commuinty, Dreadful.

... What?
StrungSweeney Jan 3, 2015 @ 6:29am 
Cheating. the game is ment to be hard. earn your levels not change the lua. as i said dreadful.
Mikkel Jan 3, 2015 @ 6:35am 
First, i wanna personally thank you.

First - For being a moron. A voluminous one at that. To come all the way in here and contribute nothing to a thread.

Second - Your opinion stinks, and quite frankly, nobody asked for it. Good job.

Third - Please ♥♥♥♥ off.
StrungSweeney Jan 3, 2015 @ 6:55am 
Wow. Just wow we got a saying where we come from you're a tosser plain and simple.

Come back when you can survive longer then 48 hours in a pretty easy game.

Totally butthurt.
Last edited by StrungSweeney; Jan 3, 2015 @ 6:56am
Mikkel Jan 3, 2015 @ 7:01am 
Not so much.

Looking for game altering mechanics, not opinions on how special you are at a game, or how many tossers there are where you come from.

I play the game how i like. Don't you worry about that.

So if you have NOTHING useful to contribute with, just stay out of the thread.
< >
Showing 1-15 of 39 comments
Per page: 1530 50

Date Posted: Jul 10, 2014 @ 5:37am
Posts: 39