Last's Blood Mod / no death mod

Post Reply
User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Last's Blood Mod / no death mod

Post by last » Tue Jul 05, 2011 5:08 am

Edit 29.11.2013: Complete re-write of this first post.

When you have installed this mod before and there is a alpha update then please uninstall this mod first or update it when there is update for my mod here. When you decide to uninstall this mod please use all the original scripts provided in here. When there isn't updated scripts in there, then please ask for them in there.
When you don't uninstall this mod
you usually get IsWall_Jump_Enabled() error message when you load level.
Always look for latest blood mod / no death mod for your OG- This means that when the new alpha comes out and i haven't had time to confirm that older version of my mod still works don't install old version of my mod.

I try to remember to edit this post too when i update my mod.
So here is a download link to the latest version.
This means for a207download/file.php?id=6281

[+] how do i install this mod
You start by downloading the .zip file and then open it.
Now you see there are 2 folders in there
bloodmod+no death mod
and Original a*** file

Image

open the bloodmod+no death mod folder and you should see that there is a Data folder in there. Extract this data folder into folder where you installed your Overgrowth and overwrite all the files that are there.

Image

Now run the game and when you enter the level and go to editor mode and press esc key you should see there new buttons in the game menu there.

I put the other folder named Original a*** file into that .zip file for uninstalling the mod.
The uninstallation process is basically the same only you have to extract the other data folder in that folder into your game folder and overwrite all the files. (you may want to uninstall my mod before you update your alpha because when David updates OG script files that i use in this mod. then i have to make an update to my mod also).
Here is a video tutorial made by iDubbbzTV. Thanx for it man.



So here is what this mod is currently doing:
1. It adds new buttons into the editor menu (press esc key in the editor mode)
Image
Note: Those new buttons are "Open mod settings menu" and "Open Slow motion settings".
And it is also using 2. menu that you can access by pressing "m" key in the game mode.
themodomdmenu.jpg
Now in the "Open mod settings menu" there are different settings for turning on and off blood effects, no death, jump from ledge grab, footprints, mini-map, animal run (not working since alpha 198), health bar and a button that leads you to "Open Slow motion settings" menu.
This is the same button that was in the same menu when you first pressed esc key.
Now in the Open Slow motion settings you turn on and off 4 different slow motion options.
Those are falling to death, successful counter block/judo throw, slow motion when you make dodge move and every successful block activates slow motion.

The "m" key menu lets you to access to the "the mod mod" menu that i added into my mod.
This mod is created by AAoris and SteelRaven7
This mod will add many cool stuff to your game.
Tackle mod, that allows you to do running tackle with physically simulated ragdoll. After you have activated it you have to press "g" and your character will tackle.
Blindness mod
Audio cue mod
AAtweaks mod that contains several tweaks like wall ragdoll, jump tweaks, slow motion during combat (helps to reduce ragdoll lag on some computers), counter move with attack plus grab move, ragdoll collisions. There was Versus mode with AI but i can't see a way how to bring it back.



I changed some keys: "x" isn't resetting blood decals on the ground now.
i moved old "x" functions under new key "."(point)
Also added blood dripping functions all over your and AI bodies. just press "y"
I added new keys to toggle blood effects and no death on and off
"o" key is for blood effects on and off (like on and off)
"u" key for no death (like unstoppable)
"page up" and "page down" keys for camera zoom
Last edited by last on Wed Aug 20, 2014 5:49 am, edited 50 times in total.

User avatar
AAorris
Posts: 178
Joined: Sun Jun 12, 2011 1:01 pm
Contact:

Re: Last's Blood Mod

Post by AAorris » Tue Jul 05, 2011 9:00 am

Yay, thanks for posting this!

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Tue Jul 12, 2011 6:04 am

Here is blood mod for this week alfa 139.
http://ogmods.antonriehl.com/downloads/ ... 20a139.rar
This week i add new mod mod. i tried to make it look like comics style and aded some words as a particles. they pop out ranomly when someone is blocking or when there is critical hit.

Also there is a version without words in it.

Here is a video of it

Pancho497
Posts: 27
Joined: Tue Jun 07, 2011 7:30 pm

Re: Last's Blood Mod

Post by Pancho497 » Tue Jul 12, 2011 8:13 pm

Awesome job! I have a question though. I like having the blood stains on the characters stay instead of disappearing when you press "x". How can I only add that effect without the rest your mod?

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Wed Jul 13, 2011 2:00 am

I don't know if you want it onley makes blood when someone is cut with a blade or also in fistfights. So there is two options here

First: Blood onley when atacked with blade
Find your aschar.as file under OG\Data\Scripts folder. open it in somekind of text editor.
find there line
if(GetInputDown("x")){
Now what i make is I move my x key funktion to . key so i can clean all particles and models from blood.
So code for it should look like this

Code: Select all

 if(GetInputDown(".")){        
        Recover();
	}
Now i make x key functoin with this code

Code: Select all

if(GetInputDown("x")){        
        knocked_out = _awake;
        blood_health = 1.0f;
        block_health = 1.0f;
        temp_health = 1.0f;
        permanent_health = 1.0f;
        recovery_time = 0.0f;
        cut_throat = false;
        }
Now the secund option blood when you are fistfighting:

For it find your aschar.as file under OG\Data\Scripts folder. open it in somekind of text editor.
make new line after 4. line and paste there this code

Code: Select all

void wasblood() {
int stab_type=2;	
	vec3 bleed_pos = this_mo.position; //vec3(1.0f);
	vec3 stab_dir = attack_getter2.GetImpactDir();
	this_mo.Stab(bleed_pos, stab_dir, stab_type);
}
Now make also key changes that i described in first step.

And last thing you must do is locate atleast 1 function to make blood when you are in fist-fighting
the function begins with line
void TakeDamage(float how_much){
now find in that function line
TimedSlowMotion(0.1f,0.7f, 0.05f);
after that line make new line and type there

Code: Select all

wasblood();
If you want that blocked attack makes blood then you need to locate line
int BlockedAttack(const vec3&in dir, const vec3&in pos, int attacker_id){
and in that function there is a line
TimedSlowMotion(0.1f,0.3f, 0.05f);
again make new line below that and type there

Code: Select all

wasblood();
Now save and be proud that you can now program

Pancho497
Posts: 27
Joined: Tue Jun 07, 2011 7:30 pm

Re: Last's Blood Mod

Post by Pancho497 » Wed Jul 13, 2011 7:41 pm

I can program! lol jk. It worked thanks a lot. Also is there a way to add the blood stains when theres an impact in ragdoll mode. Let me be more specific. When I'm unconscious falling off a cliff and i hit my head on a rock I want there to be a blood mark to show where i hit on the rabbits body... I hope i explained that well enough :D thanks again

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Fri Jul 15, 2011 10:23 am

When I'm unconscious falling off a cliff and i hit my head on a rock I want there to be a blood mark to show where i hit on the rabbits body...
Sorry for waiting so long for my reply. I had some stuff to do outside of my city.

I belive there is a way to do that but i have'nt tryed to do it my self. So i can't help you at the moment.

Pancho497
Posts: 27
Joined: Tue Jun 07, 2011 7:30 pm

Re: Last's Blood Mod

Post by Pancho497 » Fri Jul 15, 2011 9:14 pm

Thank you for your continued help :) The blood in this video is what I have accomplished with your coding. Another thing I'd like to do is have the blood splatter decal appear whenever a rabbit is knocked unconscious. Thanks again!!!!

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Tue Jul 19, 2011 2:33 pm

Here is alfa 140 Blood Mod
blood mod a140.zip
(50.46 KiB) Downloaded 90 times

User avatar
adwuga
Posts: 2176
Joined: Tue Aug 18, 2009 12:09 pm
Location: America... Fuck yeah.

Re: Last's Blood Mod

Post by adwuga » Wed Jul 20, 2011 8:39 pm

awesome

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Tue Jul 26, 2011 2:02 pm

As usual i have here My Blood Mod for this week alfa.
blood mod a141.zip
(50.92 KiB) Downloaded 75 times

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Tue Aug 02, 2011 2:45 pm

Here I have my Blood Mod for this week alfa.
blood mod a142.zip
(51.02 KiB) Downloaded 66 times
I know that there is a bug with ledge climbing in this week's OG and i try to fix my mod as soon as david fixes his bug first.

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Tue Aug 16, 2011 1:11 pm

Blood mod for a144
blood mod a144.zip
(53.89 KiB) Downloaded 90 times

Pancho497
Posts: 27
Joined: Tue Jun 07, 2011 7:30 pm

Re: Last's Blood Mod

Post by Pancho497 » Fri Aug 19, 2011 8:33 pm

Hey Last, the blood mods not workin for me. i replaced all of the necessary files... The game doesnt crash, but theres no blood XD

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: Last's Blood Mod

Post by last » Sat Aug 20, 2011 12:09 pm

Ok i think you copyed right folder into wrong place or you copyed wrong folder from zip file

So here is how you should cpoy files and folders so that my mod will work

open up my zip file
open up folder called bloodmod now copy data folder from my zip file to OG main folder and overwrite all files and folders

for uninstalation there is 2. folder in my bloodmod zip file called Original a144 file
open this up and there is data folder
copy that into OG main folder and overwrite all folders and files

Post Reply