How do you take more hits from swords?
How do you take more hits from swords?
I know that you can just press x to jump up back alive again but i have seen a few videos were they have edited the config so they can take more hits from weapons before dieing. So does anyone know what bit to edit i think they said that they changed it in the aschar.as file but i dont know where in the file they changed it if anyone could tell me it would be much appreciated .
Re: How do you take more hits from swords?
Edit the aschar.as file and edit this lineLemonspy wrote:I know that you can just press x to jump up back alive again but i have seen a few videos were they have edited the config so they can take more hits from weapons before dieing. So does anyone know what bit to edit i think they said that they changed it in the aschar.as file but i dont know where in the file they changed it if anyone could tell me it would be much appreciated .
void Recover() {
knocked_out = _awake;
blood_health = 1.0f; <------ (make it higher, like 1000.0 or something)
block_health = 1.0f;
temp_health = 1.0f;
then you are able to take more sword attacks, but you are still the same to normal hand to hand attacks.
Re: How do you take more hits from swords?
what about making yourself invincible. Holding x gives wierd results. should I just change all of those similar values nearby to 9999999999999999(hehe)?
-
- Posts: 225
- Joined: Wed Nov 03, 2010 5:34 am
- Location: Planet Decapod 10
Re: How do you take more hits from swords?
To make everyone invicible:
Or only the player:
Or only NPCs:
Code: Select all
void Update(bool _controlled, int _num_frames) {
blood_health = 1.0f;
block_health = 1.0f;
temp_health = 1.0f;
permanent_health = 1.0f;
Code: Select all
void Update(bool _controlled, int _num_frames) {
if(controlled){
blood_health = 1.0f;
block_health = 1.0f;
temp_health = 1.0f;
permanent_health = 1.0f;
}
Code: Select all
void Update(bool _controlled, int _num_frames) {
if(!controlled){
blood_health = 1.0f;
block_health = 1.0f;
temp_health = 1.0f;
permanent_health = 1.0f;
}
Re: How do you take more hits from swords?
Thanks, gonna go kill as many rabbits as my computer can handle
Overgrowth is going to be so cool when its optimized!
Overgrowth is going to be so cool when its optimized!
Re: How do you take more hits from swords?
I get crashes when trying to use the altered scripts in the aschar.as
Still running a146, is that why?
Still running a146, is that why?
-
- Posts: 225
- Joined: Wed Nov 03, 2010 5:34 am
- Location: Planet Decapod 10
Re: How do you take more hits from swords?
What does the error message look like?
-
- Posts: 2
- Joined: Fri Sep 23, 2011 12:12 pm
Re: How do you take more hits from swords?
Where can i find this aschar.as file?
Re: How do you take more hits from swords?
Starting from your main Overgrowth installation folder ('Overgrowth'), go yo Overgrowth/Data/Scripts .a bit longer cat wrote:Where can i find this aschar.as file?
All of the assets are in subfolders under Overgrowth/Data, so you can go through the models (Data/Meshes, OBJ files), textures (Data/Textures, mostly DDS files), all the scripts, lists of what animation each character uses, animations (although they're in a custom, non-readable format, so you can't do much with those) and so on.
-
- Posts: 2
- Joined: Fri Sep 23, 2011 12:12 pm
Re: How do you take more hits from swords?
Thank you.
-
- Posts: 30
- Joined: Fri Sep 23, 2011 6:55 pm
Re: How do you take more hits from swords?
How can I have more unarmed health then? I like slower fist fights and right now my player is puny and gets killed in 3 minor hits.