-
Posts
79 -
Joined
-
Last visited
Reputation Activity
-
7Roses got a reaction from Adamsuchy67 in the Addiction Mod
this mod will be a mod that adds addictions to PZ,
nicotine, alcohol, caffeine will have some extra difficulties.
the mod will give you however more buffs while using such drugs. but be aware some drugs/addictive items can be helpfull and not addictive in small quantities but be aware. like in real live if you smoke a lot of sigarretes or drink a bottle of wiskey strait up you will become addictive to them.
while I'm not that cruel to add addictions I will also give a way to get clean again.
(this however will take some thoughts from the player as you will need to have the addictive chemicals in your body, yet not to high so you will remove some of it's addictive effect.)
while I'm not going to release this mod in the first 2 weeks (vacation/no internet/still implementing the core)
I'am open for suggestions about addictive things that could add some value in PZ (addictive items that will not only give a negative effect when used, but also a possitive)
-
7Roses got a reaction from RoboMat in Trying to make a cure
how to check if its been used? well first you will need to add a contextmenu (with lua code) for that item, second you should add a function to do whatever is need to be done when you click the menu (also lua code)
for the adding of menu options you could take a look at ISInventoryPaneContextMenu.lua (media/lua/ISUI/ISInventoryPaneContextMenu.lua)
-
7Roses reacted to RoboMat in pz Modding hit in the right direction
I didn't try to mod the java source, because basically most of the stuff I want to do is possible with lua. I don't recommend modding with java because your mod will be broken with every update. It's also so much more complicated than modding with lua. In lua you only have to write the file, place it in the game files and voila your mod works
Personally I didn't know anything about lua before starting to mod PZ too. All I knew was a little bit of java, but switching to lua was very easy. I know this is basically not what you were asking, but if you want to mod for PZ there is no way around lua in my opinion
Btw. I started writing some Modding Tutorials so maybe take a look at those You can even find more tutorials on pz-mods.net
EDIT: There also is a lua request thread now, where you can ask for new lua features to be added
-
7Roses reacted to RoboMat in Modding Capabilties
Lua is actually quite easy to pick up. I started a tutorial in which I've linked to other resources. You can also find short tutorials on pz-mods.net and the pzwiki. To get familiar with its syntax I recommend the official manual.
Btw. please mark your threads as solved once your question has been answered
-
7Roses got a reaction from RoboMat in [WIP] SICmod (AKA Beer and Duct Tape)
?
for i,v in pairs(table) do print(string.format("index: %s and value: %s",i,v));endfor both it works the same.as of the deletion table.remove(table,itemindex); does that for both numerical or string keys
you have a point that #tablename would return strang things if you mix both indexes but WHY would you do that? that's a bad coding habit if you do that!
-
7Roses got a reaction from RoboMat in Debug Console
on windows PZ can be started in a console directly (Don't know if via desura it is started using the .bat files but if you would use the .bat files it will start with a console running in the background)
if you don't start with it, or want to have the console still running after PZ closes (like I always want) then indeed cmd is the way to go
(love those free wifi hotspots on vacation )
-
7Roses got a reaction from kinyoshi in [Request] Tutorial on Adding Sprites
robomat, someone says he found the solution !!
http://theindiestone.com/forums/index.php/topic/660-adding-sprites/
not verified yet but it seems to me he found it
-
7Roses got a reaction from kinyoshi in the Addiction Mod
this mod will be a mod that adds addictions to PZ,
nicotine, alcohol, caffeine will have some extra difficulties.
the mod will give you however more buffs while using such drugs. but be aware some drugs/addictive items can be helpfull and not addictive in small quantities but be aware. like in real live if you smoke a lot of sigarretes or drink a bottle of wiskey strait up you will become addictive to them.
while I'm not that cruel to add addictions I will also give a way to get clean again.
(this however will take some thoughts from the player as you will need to have the addictive chemicals in your body, yet not to high so you will remove some of it's addictive effect.)
while I'm not going to release this mod in the first 2 weeks (vacation/no internet/still implementing the core)
I'am open for suggestions about addictive things that could add some value in PZ (addictive items that will not only give a negative effect when used, but also a possitive)
-
7Roses got a reaction from Aricane in the Addiction Mod
yea it is in fact challenging already at least the coding part
but I hope it will also make playing PZ more interesting cause you need to think about the consequences of for example smoking a cigarette, cause while it will give you a stress outlet when used causally it will give you stress when your addicted and don't have any nicotine in your body.
-
7Roses got a reaction from RoboMat in Sleeping Overhaul (DOES NOT WORK WITH STEAM FFS)
maybe another possible feature could be 2 new traits? havy sleeper and light sleeper
those could affect how fast you will be awaken by certain events, as well as affect the speed at which you recover
and that could maybe even affect if coffee would affect you
-
7Roses reacted to RoboMat in I'm stuck and need other modders help!
Please don't just post "resolved" here. Instead post your solution so that people who happen to come across the same issue can find it here.