I had hoped it wouldn't end this way but clearly this was a fool's errand. I travelled into the hellish Nether dimension to extend my life not to end it! But here I am buried in a tiny hole with the Ghasts mewling outside. My portal has been destroyed and I have little food or water left. All I can do is wait for the inevitable...
VoodooFrog's Survivalism Mod
Working on updating for 1.0
After what seems like ages of trial and error and late night coding sessions I have completed my first mod: Survivalism. The mod is designed to increase the challenge of the game as well as deepen immersion into the game world by simulating needs and limiting lives.
Features
Hunger - Food isn't just for healing any more and as you get hungry you have less energy reserves.
Thirst - On top of hunger there is thirst which decreases faster than hunger and has a similar effect on energy.
Fatigue - You have a limited pool of energy to use up before becoming fatigued and slowed down. Rest, food and drink all help replenish your energy.
Lives - Lose them all and be locked out of your save
Hardcore Mode - For the really adventurous, activating hardcore mode means your save is deleted on death!
New Items - Waterskin for thirst, Energy Bar for fatigue regeneration and Soul Orbs for...
The Soul Shrine - A device created from Nether materials that can imbue a Soul Orb with energy and save your life!
Safe - This mod leaves existing worlds alone. In order to force enable it press CTRL + R. There is no disable key as a deliberate choice.
Game Modes - This mod adds 2 new game modes: Succession Single Player and Succession Multiplayer.
Gameplay
As I've said before the point of this mod is to increase immersion and provide extra challenge. When running the mod for the first time you'll notice a couple of new elements have been added to your screen:
Needs Indicators
The top bar (represented by lightning bolts) is your energy. This decreases when you move, swing your arm, or jump and the rate of decrease is faster in water or when hungry or thirsty. The bar increases when you stop moving for a while including when crafting. Energy is completely replenished by sleeping.
The next bar down (represented by water drops) is your thirst. This decreases at a constant rate and lasts about about 1 1/2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage.
The final bar (represented by apples) is your hunger. This decreases at a constant rate and lasts about about 2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage. Cake does not replenish hunger (I'll be looking into it).
Lives Indicator
The lives indicator (golden hearts) is fairly self explanatory. You start with 3 lives by default and lose one when you die. There is no way to regain lives lost but you can create and charge up Soul Orbs to take the hit when you die rather than your life pool. Of course, that means gathering materials from the dangerous Nether...
I heartily recommend activating Hardcore Mode (see configuration below) so that saves are deleted on death for the best experience but I can understand some might be hesitant to do so. When you are locked out of a save on death, if you really, really want to get back in you simple need to delete the "vf_survivalism.dat" from your save directory. You wuss. :tongue.gif:
Recipes
Waterskin
4 x Leather
Gives you an empty waterskin which can then be filled in the same way as a bucket. Replenishes thirst and a small amount of fatigue on use and carries 5 uses worth of water. You cannot drink when you your thirst bar is full.
Energy Bar
3 x Sugar, 3 x Wheat
Returns three energy bars that can be used to replenish a small amount of hunger but a lot of fatigue. Can be stacked in threes unlike other food items.
Soul Orb
4 x Diamonds, 1 x Soul Sand
When charged in a Soul Shrine, the Soul Orb can prevent you from losing a life upon death. You only need to carry it in your inventory and it will be removed at point of death. Does not stack.
Soul Shrine
4 x Netherack, 4 x Glowstone, 1 x Redstone Dust
The Soul Shrine is used to charge an empty Soul Orb with Redstone power.
Charging an Orb
1 x Empty Soul Orb, 64 x Redstone Dust
Works like a furnace, but uses Redstone instead of convential fuels. Note that it takes a stack of 64 Redstone to activate a Soul Orb.
Windows
1) Locate your minecraft.jar file in "%APPDATA%/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (7-Zip, WinRAR, etc.)
3) Delete the META-INF folder
5) Copy the contents of the downloaded mod zip file into the jar file replacing previous files
Linux
1) Locate your minecraft.jar file in "/home/<username>/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (File Roller, Ark, etc.)
The rest of the steps are the same as Windows above
OS X
1) Locate your minecraft.jar file. in "<home>/Library/Application Support/minecraft/bin" and create a backup of it
3) Rename minecraft.jar to minecraft.zip and extract it
4) Rename the resulting folder to minecraft.jar and open it
5) Copy the .class files from the downloaded mod zip into the minecraft.jar folder replacing previous files
Please report any issues you discover to this thread.
Configuration
Most configuration is handled by going into the "Mod Options" sub-menu within the "Options" menu. In there you'll see a button for Survivalism and the options within are as follows:
Days Until Starving/Days Until Dehydrated: The amount of in-game days it takes before your hunger/thirst bars are empty Fatigue Rate: The speed with which you lose energy Rest Rate: The speed with which you regain energy
Within the "New World Options" submenu you can set your number of lives and what game mode you want to use when starting a new game. Note that these options are saved with the world so changing them in an existing game that already has these features will have no effect on them.
Should you need to enable debug mode or change item/block IDs then within the mods folder in .minecraft you'll find a folder named "Survivalism" and a file within that's called "settings.properties". You can edit to change the following:
ItemID_WaterskinFull=15001 //The item ID for a full waterskin
ItemID_EnergyBar=15002 //The item ID for an energy bar
BlockID_SoulShrineActive=241 //The block ID for an active Soul Shrine
BlockID_SoulShrineInactive=240//The block ID for an inactive Soul Shrine
ItemID_WaterskinEmpty=15000 //The item ID for an empty waterskin
ItemID_SoulOrbEmpty=15003 //The item ID for an empty Soul Orb
ItemID_SoulOrbFull=15004 //The item ID for a full Soul Orb
debugMode=false //Turns on debugging info so that variables can be watched
Compatibility
[Includes Specific Support|Known Compatible|Possible Issues|Incompatible}
FiniteLiquids v3
Millénaire
Somnia
IndustrialCraft
Treasure Mobs
Buildcraft
Portal Gun
Zombe's Modpack
TMI
SPC
Toggle Blocks
More creeps and weirdos
Wireless redstone
Shelf
Recipe Book
Zans Minimap
Dynamic Lights
Download
By downloading you agree to the following disclaimer (borrowed from Risugami's thread).
Disclaimer: These mods require altering minecraft.jar, and SMP may not work with these mods installed. Some of these mods add new content, do not load worlds with this new content if the respective mod is not installed. I am not responsible for any damage done to your computer, worlds, or your copy of Minecraft. That said, backup your worlds and bin folder!
N.B.: Shots taken using custom DokuCraft textures. Mod does not require 32px texture support.
Credits
Foremost I'd like to than PROWSE and CJB whose mods I learned what the hell I was doing with this from. Risugami for his awesome ModLoader, Clintonxa for MOAPI and the the dedicated team of the MCP. I'd also like to give a big shout out to all the helpful folk at #risucraft!
Changelog
v1.4.5
Updated for 1.7.3.
v1.4.4
Fixed hunger not resetting on death.
v1.4.3
Fixed lives from one save bleeding into another.
Fixed Soul Orbs not working correctly.
Fixed player spawn not being wiped correctly in succession games.
v1.4.2
Fixed a sudden needs loss when importing an old world.
v1.4.1
Fixed needs counter not updating.
Fixed lives being lost too rapidly leading to premature epitaph.
v1.4
Refactored code.
Allow drinking water direct from source.
Changed needs HUD to scale better with screen.
Tweaked Soul Orb recipe.
Renamed fatigue and rest options.
Added succession game modes.
Added epitaph screen.
Added graves.
Added needs HUD position toggle.
Added bed check to prevent energy loss on waking.
Added beginnings of per-game stat tracking.
Added "off" mode.
Added notification toggle.
Added first achievement.
Fixed waterskin emptying bug.
Fixed exhaustion message spam.
Fixed crash on joining smp server.
v1.3.1
Changed waterskin to be refillable even when only partially empty.
v1.3
Rewrote needs handler to sync with changes in world time.
Now cannot drink water when bar is full.
v1.2.1
Fixed lives exploit.
v1.2
Added MOAPI support.
Moved options in to GUI.
Added FiniteLiquids v3 support.
v1.1.2
Fixed needs not being reset on death.
v1.1.1
Fixed exhaustion event not triggering.
Disabled hunger/thirst modification while sleeping for now.
v1.1_3
REALLY fixed needs not updating. Derp.
v1.1_2
Fixed needs not updating.
v1.1
Existing worlds have this mod disabled by default.
To enable Survivalism on an existing world press CTRL+R.
v1.0
Initial Release
If you've read this far, thanks... I mean it. This post took an age.
Would it be possible to enable this mod only on certain maps, so I don't get locked out of my older project worlds? The mod looks awesome though!
Ah good thought. I can think of a way to do it but it might be a little convoluted. At least until I get my ass in gear for v2 and add in gui option changing.
EDIT: I recommend to looking into the various methods for creating localized/portable copies of Minecraft to keep this mode seperate in the meantime.
Very awesome! also, maybe add a way to regain lives, perhaps destroying a mob spawner? idk, but it would be cool.
I've considered maybe allowing an active soul orb to be consumed in order to regain lives but on the whole I want it to be hard. Nothing so far has beaten my first experience palying a full game with this on. The world seemed more beautiful and death seemed terrifying. I was ninja'ed by a zombie on fire kicking me off a cliff in broad daylight after he popped out a cave. I laughed.
By the by, if anyone is looking for the 32px DokuCraft textures that I have in the screenshots, I'll be releasing them as soon as I've finished the GUI items and any tweaks I feel necessary.
Seems intense, tho I hate the idea of being locked out of my world, espeically if its a really good one. Of course, i could fix it by increasing the lives to a stupid amount (1000?), but I really would like the option to put in infinite lives, or is there already a way to do that?
I have the same thing too. So is it normal?
Oh wait, I checked the config file and it says hungertime 2400. Does that mean 2400 seconds?
If that's right, then you have 2400:60= 40 minutes until something happens with the bar.
Am I right?
I had hoped it wouldn't end this way but clearly this was a fool's errand. I travelled into the hellish Nether dimension to extend my life not to end it! But here I am buried in a tiny hole with the Ghasts mewling outside. My portal has been destroyed and I have little food or water left. All I can do is wait for the inevitable...
VoodooFrog's Survivalism Mod
Working on updating for 1.0
After what seems like ages of trial and error and late night coding sessions I have completed my first mod: Survivalism. The mod is designed to increase the challenge of the game as well as deepen immersion into the game world by simulating needs and limiting lives.
Features
Gameplay
As I've said before the point of this mod is to increase immersion and provide extra challenge. When running the mod for the first time you'll notice a couple of new elements have been added to your screen:
Needs Indicators
The top bar (represented by lightning bolts) is your energy. This decreases when you move, swing your arm, or jump and the rate of decrease is faster in water or when hungry or thirsty. The bar increases when you stop moving for a while including when crafting. Energy is completely replenished by sleeping.
The next bar down (represented by water drops) is your thirst. This decreases at a constant rate and lasts about about 1 1/2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage.
The final bar (represented by apples) is your hunger. This decreases at a constant rate and lasts about about 2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage. Cake does not replenish hunger (I'll be looking into it).
Lives Indicator
The lives indicator (golden hearts) is fairly self explanatory. You start with 3 lives by default and lose one when you die. There is no way to regain lives lost but you can create and charge up Soul Orbs to take the hit when you die rather than your life pool. Of course, that means gathering materials from the dangerous Nether...
I heartily recommend activating Hardcore Mode (see configuration below) so that saves are deleted on death for the best experience but I can understand some might be hesitant to do so. When you are locked out of a save on death, if you really, really want to get back in you simple need to delete the "vf_survivalism.dat" from your save directory. You wuss. :tongue.gif:
Recipes
Waterskin
4 x Leather
Gives you an empty waterskin which can then be filled in the same way as a bucket. Replenishes thirst and a small amount of fatigue on use and carries 5 uses worth of water. You cannot drink when you your thirst bar is full.
Energy Bar
3 x Sugar, 3 x Wheat
Returns three energy bars that can be used to replenish a small amount of hunger but a lot of fatigue. Can be stacked in threes unlike other food items.
Soul Orb
4 x Diamonds, 1 x Soul Sand
When charged in a Soul Shrine, the Soul Orb can prevent you from losing a life upon death. You only need to carry it in your inventory and it will be removed at point of death. Does not stack.
Soul Shrine
4 x Netherack, 4 x Glowstone, 1 x Redstone Dust
The Soul Shrine is used to charge an empty Soul Orb with Redstone power.
Charging an Orb
1 x Empty Soul Orb, 64 x Redstone Dust
Works like a furnace, but uses Redstone instead of convential fuels. Note that it takes a stack of 64 Redstone to activate a Soul Orb.
Installation
Requires Risugami's ModLoader
Requires Clintonxa's ModOptionsAPI
Windows
1) Locate your minecraft.jar file in "%APPDATA%/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (7-Zip, WinRAR, etc.)
3) Delete the META-INF folder
5) Copy the contents of the downloaded mod zip file into the jar file replacing previous files
Linux
1) Locate your minecraft.jar file in "/home/<username>/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (File Roller, Ark, etc.)
The rest of the steps are the same as Windows above
OS X
1) Locate your minecraft.jar file. in "<home>/Library/Application Support/minecraft/bin" and create a backup of it
3) Rename minecraft.jar to minecraft.zip and extract it
4) Rename the resulting folder to minecraft.jar and open it
5) Copy the .class files from the downloaded mod zip into the minecraft.jar folder replacing previous files
Please report any issues you discover to this thread.
Configuration
Most configuration is handled by going into the "Mod Options" sub-menu within the "Options" menu. In there you'll see a button for Survivalism and the options within are as follows:
Days Until Starving/Days Until Dehydrated: The amount of in-game days it takes before your hunger/thirst bars are empty
Fatigue Rate: The speed with which you lose energy
Rest Rate: The speed with which you regain energy
Within the "New World Options" submenu you can set your number of lives and what game mode you want to use when starting a new game. Note that these options are saved with the world so changing them in an existing game that already has these features will have no effect on them.
Should you need to enable debug mode or change item/block IDs then within the mods folder in .minecraft you'll find a folder named "Survivalism" and a file within that's called "settings.properties". You can edit to change the following:
Compatibility
[Includes Specific Support|Known Compatible|Possible Issues|Incompatible}
FiniteLiquids v3
Millénaire
Somnia
IndustrialCraft
Treasure Mobs
Buildcraft
Portal Gun
Zombe's Modpack
TMI
SPC
Toggle Blocks
More creeps and weirdos
Wireless redstone
Shelf
Recipe Book
Zans Minimap
Dynamic Lights
Download
By downloading you agree to the following disclaimer (borrowed from Risugami's thread).
Disclaimer: These mods require altering minecraft.jar, and SMP may not work with these mods installed. Some of these mods add new content, do not load worlds with this new content if the respective mod is not installed. I am not responsible for any damage done to your computer, worlds, or your copy of Minecraft. That said, backup your worlds and bin folder!
Link 1: Ad.fly (I'm supportive)
Link 2: Direct (I'm in a hurry/stingy/hate ads and you)
Media
N.B.: Shots taken using custom DokuCraft textures. Mod does not require 32px texture support.
Credits
Foremost I'd like to than PROWSE and CJB whose mods I learned what the hell I was doing with this from. Risugami for his awesome ModLoader, Clintonxa for MOAPI and the the dedicated team of the MCP. I'd also like to give a big shout out to all the helpful folk at #risucraft!
Changelog
If you've read this far, thanks... I mean it. This post took an age.
Great work man, you should make some more mods!
A. Still a ****-ton.
Translation: I approve too.
Ah good thought. I can think of a way to do it but it might be a little convoluted. At least until I get my ass in gear for v2 and add in gui option changing.
EDIT: I recommend to looking into the various methods for creating localized/portable copies of Minecraft to keep this mode seperate in the meantime.
I've considered maybe allowing an active soul orb to be consumed in order to regain lives but on the whole I want it to be hard. Nothing so far has beaten my first experience palying a full game with this on. The world seemed more beautiful and death seemed terrifying. I was ninja'ed by a zombie on fire kicking me off a cliff in broad daylight after he popped out a cave. I laughed.
Looks awsome !
im dowloading now and il play in the morning. il let ya know how it goes
You're kidding... right?
Please do! :smile.gif:
This and finite water and mo's mobs are the 3 most amazing mods ive seen for minecraft.
I don't make spelling mistakes, I make new words
I had the same problem. And I'm on day 2 now. The meters are there, but they aren't running
No the bars should be decreasing, can you turn debug mode on if the config and tell me in the counter numbers are running?
Same issue. I'm going to start screwing with the properties, be back in a few.
If I don't make it back, tell my girlfreind, I love her.
I don't make spelling mistakes, I make new words