Posted by
Oliv82 on
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/RELEASE-DaiZy-FACTIONS-Chernarus-1987-v11-32b-20-10-20-tp13907p18561.html
Eric the Viking wrote
1. I think blood bagging is bugged? I tested my blood, B+. I had a transfusion kit and a B+ blood bag but using it resulted in death - but, my blood did go up and the message was displayed that I feel better now. I have the save game I made just before attempting this if it helps.
Yes, it was a bug, its fixed now
Eric the Viking wrote
2. I'm getting an error or something being displayed on occasions, something like "_CanBP: (False)"
I ve forgot to remove this test line, fixed
Eric the Viking wrote
3. What version of Arma 2 / Beta patch are you using?
ARMA2_OA_Build_112555
But in fact I dont think there is any importance.. if I remember, lastest versions add better mags 3d models, idk more about this
Eric the Viking wrote
4. Came across a friendly AI; love that I could actually talk to him and he'd talk back!! Problem is he's goddamn shooting at every goddamn thing and won't goddamn stop. Until I shot him in the head, that is. Any way we can command them to "hold fire"?
Big problem since long time, weird ai's behaviour... I do my best to try to avoid strange behaviours, this part of scripting is pretty unknown, and mysterious for me :p
Restoring Arma2 generics commands... black hole... :p
Eric the Viking wrote
5. Is the restriction of not being able to eat/drink whilst in a vehicle yours or just part of the game?
Ive forgot to check those feature after adding 1.8.8 scripts
By fixing selfbloodbag script, I've allowed to medic in vehicle only on this script for the moment, I will take a look
EDIT:
- change clothes in vehicle possible now
- fill bloodbag in vehicle possible now
- bandage in vehicle possible now
- drink/eat in vehicle possible now
Eric the Viking wrote
It could perhaps use a timer so that only after a sustained period (10 minutes?) of low temperature would the player become sick.
Mmm.. no, you cant feel at witch moment you will get sick, for me effect must be imediate
Eric the Viking wrote
_hunger = _hunger / 1.00;
This line is useless, and will return no effect because divider is 1, reading my explain about hunger/thirst you will know why :)
Eric the Viking wrote
(Other alternatives to managing this survival aspect include the benefits from different foods - cooked meat or a MRE should not only give more blood than a can of peaches but also decrease hunger levels to a greater extent. Equally, an entire canteen of water should completely remove thirst from the player while a can of Coke should be less - A canteen contains 1000ml of fuild, a can 375ml - these could also be the values decreased by their consumption.)
My english is far to be perfect, iam not sure to undestand the meaning.. Each food type have his own food/hunger blood-add-qty, same for each Drink types (since ive added 1.8.8 features and added my own nutrition calculation)
This feature to change values for each food/drink have been added since my first mod release if I well remember
If you want to check/adjust thoses values it's in "addons\dayz_code\CfgMagazines.hpp"
ex. for "ItemSodaMtngreen" mag:
thirstRegen = 460; //for drinks
(400 for Coke can)
ex. for "FoodbaconCooked" mag:
bloodRegen = 380; //food
With added simple math calculation of thirst/hunger in eat/drink scripts
About "ItemWaterbottle", i've forgot to adjust value, now its done,
1000 / 375 = ~2.66666
my max value for drink regen is 460 so 460 * 2.666 = ~1220
my thirst coef is 1.28 so 1220 / 1.28 = ~960
thirstRegen for "ItemWaterbottle" is 960
voila )