NEW Health System - wip SYRINGE INJECTION based (bottom of page 1)
hey guys - ive seen a few threads mentioning they have created a medi pack health system, but not seen them implimented yet, or some problems, so i thought i would try a slightly different method.
my system is based on Weapons and Ammo (and FG)
The player picks up the medi packs as a weapon that has ammo. when they use the medi pack, it restores health and decrease the amount of ammo they have.
Of course i have disabled the medipack from firing bullets lol.
in this method, the player needs to press the button "y" in order to give health. this means, the player does not need to have the medipack weapon selected - which is better in combat situations.
the Fg checks that you need the health (can stop you if you dont need it) and also warns you if you dont have any to use. for every use of a medipack, the 'ammo' you have of it will obviously decrease.
The FG can be edited to give the player more or less health (currently 10 hp), change the keyboard button to press, and also remove the Hud messages
this method works in a way that you press the fire button when you have the medipack selected as a weapon (though it wont actually shoot bullets too lol)
as it is based on firing, there is no need in the Fg to check for ammo levels etc.
But, the way that the [Weapon:WeaponListener] node works is that it cant get a [WeaponClass] input from custom weapons. the only way it can get the input for the weapon is using the [WeaponID] input, which requires that a new FG be set up for every medipack that is placed in the level - which will be a bit tedious to FG if you have a lot in the level.
As you also have to 'fire' the weapon, it means u have to have it selected, which means scrolling through ur weapons, which in a fast paced gun shootout can mean the difference between life and death lol.
Personally i prefer the PUSH the button method.
before i release the to the Community I would appreciate some feedback on the two systems, which one they prefer, if anyone thinks they might be able to improve it, or if they think i should maybe scrap the FIRE method and just have the PUSH method, or maybe impliment both so the player has the option(though there is one problem with that, that i wont discuss yet.) and any other C&C, so i can make this Health System as best as possible for the community.
P.S. the medipack model i made was just a placeholder - its literally 6 polygons lol
ill provide the Max files in the release for people to make their own better medipacks that will suit the look and feel of whatever mod they plan to make
__________________
This post has been edited 3 time(s), it was last edited by jlim: 23.11.2008 01:24.
14.10.2008 22:00
marcocatena
Trainee
Wow it looks pretty good! That could be great for lost dimensions
I think that there is no meaning to treat medi-kit as weapon & bullets.
It means... It's not necessary to be able to choose medi-kit.
"Just stock when player pick it up in the same way as FEAR & push Y to use"
This is the best way.
This post has been edited 1 time(s), it was last edited by modsuki: 14.10.2008 22:22.
14.10.2008 22:26
MF_Clocks
Trained Modder
Well if you look at the medikit as a form of band aid and gaze to stop bleedings etc. then it would make a lot of sense to use it as a weapon cos you need to spend some time to apply the medikit and you cant really do this running around shooting at the same time.
But as long as the health regenerates itself medikit are kinda useless :-)
__________________
14.10.2008 23:18
jlim
Silent Guardian
Thread Starter
quote:
Originally posted by modsuki
I think that there is no meaning to treat medi-kit as weapon & bullets.
It means... It's not necessary to be able to choose medi-kit.
"Just stock when player pick it up in the same way as FEAR & push Y to use"
This is the best way.
to my recollection - in Fear - it doesnt tell you how many medikits u have
and in other games there is usually some indication of how many medikits you have, either displayed on the Hud or in an inventory menu screen.
It can be FGed without an actual weapon, but then it wouldnt be displayed anywhere how many medikits you have left.
or it could be done using Gametokens and they can be displayed on the HUD - but game tokens dont exactly look pretty on the HUD - so without creating a new HUD, i thought this would be the neatest option.
lol and of course i would expect, if someone was to use this in their mod, that they would create the simple FG needed to disable the Nanosuit autohealth regen
__________________
15.10.2008 06:35
modsuki
Uber Modder
quote:
Originally posted by jlim
quote:
Originally posted by modsuki
I think that there is no meaning to treat medi-kit as weapon & bullets.
It means... It's not necessary to be able to choose medi-kit.
"Just stock when player pick it up in the same way as FEAR & push Y to use"
This is the best way.
to my recollection - in Fear - it doesnt tell you how many medikits u have
and in other games there is usually some indication of how many medikits you have, either displayed on the Hud or in an inventory menu screen.
???
F.E.A.R. tell us how many medikits we have.
Ahh... but I don't know tombraider.
This post has been edited 1 time(s), it was last edited by modsuki: 15.10.2008 11:03.
15.10.2008 06:39
triggerman
:evil:
the player has 200 health, not 100.
__________________ for the love of god, USE A MATH:TOBOOLEAN NODE! cmon...
15.10.2008 14:22
theGiallo
Experienced Modder
I think the fire method is better because with the push button one you can heal yourself wile fireing or running. It would be more realistic if you have to not use others weapons and if your speed is decreased and if you can't jump
Originally posted by modsuki
I think that there is no meaning to treat medi-kit as weapon & bullets.
It means... It's not necessary to be able to choose medi-kit.
"Just stock when player pick it up in the same way as FEAR & push Y to use"
This is the best way.
to my recollection - in Fear - it doesnt tell you how many medikits u have
and in other games there is usually some indication of how many medikits you have, either displayed on the Hud or in an inventory menu screen.
???
F.E.A.R. tell us how many medikits we have.
Ahh... but I don't know tombraider.
oh sorry - ive only played Fear once and i cudnt really remember so i looked up a screenshot and cudnt see it lol - but at any rate - to display that onscreen in Crysis would require editing the HUD, which i havent learnt Flash yet, so i cant make.
--i am planning to learn flash though, so once i know how to - i will create a new health system that just uses the HUD, and no 'weapon'
Tomb Raider, Metal Gear Solid and a few other games, the health is in your inventory, which you can scroll through weapons and other items to get to.
quote:
Originally posted by modsuki
the player has 200 health, not 100.
if your talking about Nomad and my FG, the player has 100 health and 100 suitpower. This system is purely based on Health, so will only restore health.
Its currently aimed at mods that dont plan to have the NanoSuit - so the player wont have the defence suit; only 100 health (of which this FG is currently suited (compared to the video above, i just need to disable the nanosuit energy and remove from HUD))
other mods may wish to have seperate systems for health and nanosuit energy.
But if the mod has a nanosuit then they might as well stick with the regen nanosuit energy, (which is what is shown in the video above)
__________________
This post has been edited 1 time(s), it was last edited by jlim: 15.10.2008 14:26.
15.10.2008 15:31
callofduty511
Explosive Llama
Nice work jlim
I love it how you've rigged the medkit up
Sorry to necro post but I am very interested in this. It sounds from the initial post that it was going to be released as a community resource but never was. Whats the status now?
It will proberly take awhile to be updated....and are you goin to make a model for the medpack....becuase it wouldent be hard
__________________ Left crymod as i don't have the time to do things right now, might be back some day but for now farewell...
13.11.2008 13:12
Papas
Uber Modder
Vey interesting work so far!
__________________ I AM BACK FROM THE DEAD ONCE AGAIN!YOOO
13.11.2008 15:24
jlim
Silent Guardian
Thread Starter
^^ well i guess i could release it "as is" - its basically just the FG as seen in the pics, and a few xml files etc.
in terms of making a model for the medipack - im just going to leave it as the green box, as i would hope that anyone that wants to use it in their mods would have to create their own medipack to suit the art direction they were going for - ie futuristic, modern, fantasy etc. and ill include instructions on helping people swap out my green box for their own medipack models.
the only thing that i was waiting on was for me to learn Flash so that i could create the pretty health element to the HUD instead of the health packs being stored as waepons.
__________________
13.11.2008 20:55
FantasticMrFox
Beginner
Its good to hear you are still working on it, I was worried it had been buired somehow, its your asset do what you feel best with it
ok so ive redone the weapon system now so that its more of a realistic method of giving the player health - similar to what you might see in FarCry2
Features
- No usual Nanosuit functions or energy
- No autoregen health,
- a Syringe is used to inject Morphine into the arm to restore 50 HP
- a Syringe is also used to inject Adrenaline, to give the player a [10] seconds boost of [strength]
--with adrenaline, the amount of seconds can be changed, and the strength powerup can be changed to the sprint powerup
- the Syringe is contained in a pocket-sized casing for easy carry-ability
WIP
- animations need tweeking
- replace nanosuit arms with skin arms
- have a blood particle form on the arm where the needle sticks in
- alphachannel textures
- there are supposed to be alpha channel textures on the syringe (a 2ml measure meter) and on the bottles (a morphine label and adrenaline label), but unfortunately i cant get alpha maps to work :S
- it would be cool to have it so that the Adrenaline gives the player Strength and Speed - but i would guess that something like that would need to be rescripted in lua files.
- Lastly - the big problem with not having the armour of the nanosuit, or the autoregen health, is that it becomes really easy to be killed - a grenade 6 metres away will KO and 3-4 bullet shots will KO;
which i guess is more realistic and some mods may like that, but others, include one of my own, would prefer the player to have more health.
so, either the weapons need to be recoded to do less damage, or give the player more health. i dont think giving the player more medi-packs is the best solution.