Humanity As a currency script

RobbieWhitlcok

New Member
Hi,

I have seen multiple threads here talk about using a currency in-game however what if we simply used humanity. Not only would it encourage players to help each other, it would also require a lot
less work (as far as I can tell). Here's how it would work

1. Player enters trading zone or approaches some kind of shop

2. Player finds the weapon he wants and looks how much of his humanity it will cost e.g. a G17 may lower humanity by say 200 whereas an AK-74 would lower it by 1000.

3. A player cannot purchase anything if it will lower there humanity to below Zero (we don't want it to cause bandit skins on every player lol)

I think it could work and since there is already coding in the game to make certain actions (like killing players) lose humanity it shouldn't be as hard to make it work.

If you have any idea how this would work or think you could help try to script it please say ;P

thanks
Robbie
 
I wold add that if your humanity is below zero (e.g. my humanity is atm -107k) it will add the amount of humanity if you buy something (e.g. weapon costs 1k Humanity, Hero got 50k, Bandit got -50k. After the trade hero got 49k and Bandit got -49k)

cheers
 
doable, but wud have to be through the mosue wheel if player humanity >0 then

addaction menu
AK 107 (500 humanity)

if humanity < 0 then
addactiomenu
AK107 (1000 Humanity) player _humanity = _humanity - 1000

but then gaining humanity is a very very diffcult thing to do in dayz
 
Gaining Humanity can be a very difficult thing in dayz. But the most one just stand in hospitals and do some kind of bloodbag parties.
 
Humanity could be gained by killing AI. this way, from killing AI, players could effectively go and get guns, it adds another dimension to them. whatsmore, my AI patrol inland to stop them killing Bambis, this could encourage players to head inland rather than sniping over electro ect.
I don't know much about coding (I can install it all fine and normally find solutions to issues I'm having in the code but writing from scratch is a bit beyond me at the moment.) if someone could help me understand it and what i should try to do it would be greatly appreciated.

thanks

Robbie
 
Well if i ever get my humanity extended edition working, there will be heros, super heros, bandits super bandits, and ultimate bandits, all giving different levels of humanity when u kill them, so humanity will be easier to gain if u go hunting bandits/super bandits/ultimate bandits only


but ive got way too much going on atm to even look at it
 
Humanity could be gained by killing AI. this way, from killing AI, players could effectively go and get guns, it adds another dimension to them. whatsmore, my AI patrol inland to stop them killing Bambis, this could encourage players to head inland rather than sniping over electro ect.
I don't know much about coding (I can install it all fine and normally find solutions to issues I'm having in the code but writing from scratch is a bit beyond me at the moment.) if someone could help me understand it and what i should try to do it would be greatly appreciated.

thanks

Robbie

Just start with basic changes, understand how varibles work such and then certain commands, So _playerinvehicle = vehicle player

that means _playerinvehicle is defined by vehicle player which is the check to see if they are in a vehicle. then further down you might have

_pos = 19283,123123

_playervehiclepos = _playervehice is at _pos
set damage 1

not actual coding above just made up stuff. so like u can figure out that _playervehiclepos is defined by _playervehicle being at _pos so u look up where _player vehicle is defined and where _pos is defined

then u understand what its trying to do

other commands that arnt run by varible can be found here

http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2
 
Back
Top