Forum Jump :

Author Message


Posts: 25
Rank:


Level: Member

Country: rs
Location: Belgrade
Occupation: technical diving
Age: 32
In-game name: Nemanjic

 
#46 Posted at 2013-04-21 21:17        
     
YES !!! It works !!! You made one little mistake with comma in script,just need to put semicolon insted.Thank you COMANDO !!! You are a life saver! If you figured out how to use IV bags for dehydration,you will help me alot again! Thank you very much!It works finally!

Added 26 minutes later:

Very helpfull!! thank you COMANDO !! Thank you sir!

This post was edited by Ledeni (2013-04-21 21:43, ago)

maybe we are fighting on different sides but for the same thing.justice

Author Message


Posts: 9
Rank:


Level: Member

Country: es
Location:
Occupation:
Age: 36
In-game name:

 
#47 Posted at 2013-04-21 22:05        
     
If I am sorry for the error, the translator does not put the commas, but I've updated, I'm glad it works well, you too have helped me a lot thanks.

The IV bags for dehydration if I find something notice.

DAVID

Advertisement


Author Message


Posts: 25
Rank:


Level: Member

Country: rs
Location: Belgrade
Occupation: technical diving
Age: 32
In-game name: Nemanjic

 
#48 Posted at 2013-04-22 12:31        
     
when they fall unconsciousness i cant give them IV bag to wake them up.So i cant figured out how it works i try everything,action keys,self keys,etc.. dont work..

maybe we are fighting on different sides but for the same thing.justice

Author Message


Posts: 9
Rank:


Level: Member

Country: es
Location:
Occupation:
Age: 36
In-game name:

 
#49 Posted at 2013-04-23 11:25        
     
Have to make it work the IV bag.

There must be some way to make it work.

This post was edited by COMANDOvrs (2013-04-23 12:31, ago)

DAVID

Author Message


Posts: 25
Rank:


Level: Member

Country: rs
Location: Belgrade
Occupation: technical diving
Age: 32
In-game name: Nemanjic

 
#50 Posted at 2013-04-26 23:00        
     
nothing new.i tried every module for first aid,enabling wound system,but with no results for IVbags..

maybe we are fighting on different sides but for the same thing.justice

Author Message


Posts: 9
Rank:


Level: Member

Country: es
Location:
Occupation:
Age: 36
In-game name:

 
#51 Posted at 2013-05-12 20:00        
     
There must be some way to make it work.

DAVID

Author Message


Posts: 8
Rank:


Level: Member

Country: us
Location: OHIO USA
Occupation:
Age: 42
In-game name: RichardMetzdorf

 
#52 Posted at 2013-06-10 21:28        
     
it is you have to open pbo file remove init sqf in the add it to your missions init file that should work .then any one on your clen have too redownload it too

TopGun=RichardMetzdorf

Author Message


Posts: 9
Rank:


Level: Member

Country: es
Location:
Occupation:
Age: 36
In-game name:

 
#53 Posted at 2013-06-19 23:42        
     
I find that your invention does not work.

This post was edited by COMANDOvrs (2013-06-20 01:25, ago)

DAVID

Author Message


Posts: 1
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#54 Posted at 2014-07-31 08:43        
     
Hi, I can not place objects except the case of mineral water bottle. I try manipulation Ledeni (addweapon "itemaxe") and any ways that I could.
I am French and I speak very little English, so everything is not clear to me and translators are imprecise then is it possible that you clearly explain me with a simple language or otherwise using screenshots? :)
Here, I await your response and I apologize for asking questions one year later...


Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 25
In-game name:

 
#55 Posted at 2014-11-14 07:14        
     
# Defconleader : Hi, I can not place objects except the case of mineral water bottle. I try manipulation Ledeni (addweapon "itemaxe") and any ways that I could.
I am French and I speak very little English, so everything is not clear to me and translators are imprecise then is it possible that you clearly explain me with a simple language or otherwise using screenshots? :)
Here, I await your response and I apologize for asking questions one year later...

I am new with forums so I hope this is okay. you have found the item class names.

you need in init field of character:
this addWeapon "ItemAxe"; //for spawning with desired classed weapon i.e. ItemKabarKnife - ItemCanteenEmpty in RSP readme
this addMagazine "ItemApple"; //for spawning with desired classed magazine i.e. ItemLog - ItemIvBag in RSP readme

OR

Use this to spawn an object on map:
-place a random object
-name it axe1 (or whatever)
-place a trigger
-erase axis a and axis b values or make 0 (for visual purpose)
-in Condition field replace this with true
-in On Act field put Weapon1 = "weaponHolder" createVehicle position axe1;weapon1 addWeaponCargo ["ItemAxe", 1];deleteVehicle axe1;
-make sure to replace axe1 in trigger lines if you use a different name for random object


Notes:
-you can only cut logs from timber in editor (empty\objects)
-empty canteens can be refilled at barrels with water or water stands from editor (empty/objects)
-using knives to cut meat from animals does not work. im looking into how to fix that.
-if there is an issue when putting any code in either init field of unit or in On Act in trigger simply erase the quotation marks copied from this page and retype.
-I am sorry no one got back to you sooner and i hope you get this and that it helps out!

EDIT: cutting meat works if you are NOT using ACE mod

This post was edited by MrWigglyBigglyson (2014-11-14 09:06, ago)


Author Message


Posts: 4
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#56 Posted at 2018-08-20 02:14        
     
You need to put a "init.sqf" file in your mission folder if running RSP as your "survival base" , and put this code in it :

-------------------------------
ASP_Food_Delay = 1;
publicVariable "ASP_Food_Delay";
ASP_Water_Delay = 1;
publicVariable "ASP_Water_Delay";
ASP_Animal_Delay = 30;
publicVariable "ASP_Animal_Delay";
ASP_Garbage_Delay = 60;
publicVariable "ASP_Garbage_Delay";
ASP_Debug = true;
publicVariable "ASP_Debug";
ASP_Enabled = Enable;
publicVariable "ASP_Enabled";

------------------------------

I tweaked and removed comments from the script code.
I am certain , it could be scripted better ... but for years it had dogged me, why it wouldn't run properly , Icons never changed, no debug ( shows percentages of hunger thirst) ...
I changed the values , the way it's documented seems to make it weeks for hunger/thrist to go up ... when most users will want food/water needs every 30-45 minutes at least if not sooner. You can play with the variable numbers I think, to see what works for you of course.

The last line, publicVarible " ASP_Enanbled"; ... used to say publicVarible ="ASP_Enabled" ... I removed the '=' and seemed to fix what was broken for me. I am not a scripting guru , and don't know if it was needed and was a typo , or if updates to OA changed the way scripts were done ... all I know is removing the equal sign, allowed for it to run properly.
Also,if noticed from above post, I removed the comments from the scripts.
Because ... someone copy/pasting from the forum here ... wouldn't automatically realize, the first line comment would comment out the rest of the code ... unless using N++ and you gave the comments thier own "line" , so I simply removed them for others to simply copy paste and go.
my screenshot proof it works.

Added 6 minutes later:

Cutting meat in ACE2 does work btw.
You just need to use the correct knife , which is not the knife provided by ACE ...

you can get meat from dogs too. Rabbits don't seem to yield any meat for me. Cows give massive amounts of meat pieces , sheep/goats a moderate amount. Chicken gives white meat.

I'll do some more testing while running ACE2 , but I just gutted a dog, and cooked his meat in a can, on the fire to show someone else how to cook meat with RSP a bit ago.

This post was edited by awfrailey (2018-08-20 02:21, 86 days ago)