Anti-Rad Auto Injections

============================================================ Automatic Anti-Radiation Injection System 1.1 - by Atrocious ================...

Download

Uploading...
Do not refresh or leave this page!

File Description

============================================================ Automatic Anti-Radiation Injection System 1.1 - by Atrocious ============================================================

Features: ========= - Automatic Anti-Rad Injections for certain suits (at 80% * radiation) - Nearly all variables editable - Custom text messages for the related events (optional) - Half Life 1 HEV sounds for the related events (optional) - The system will remind you if you need new Anti-Rad supplies (optional) - All sounds and texts can be disabled - Scientific First-Aid kits can be disassembled and used by the system (optional) **

Changes in 1.1 ============== -> The suits are no longer selected by a list, but by their stats: ... Suits with 70% * or more radiation protection have the system ... Suits with 45% * or more bullet protection have the system ... This makes the mod easier to use, because you don't have to keep the suit list updated! ... Also the selection process is faster now - due to some optimization -> The system now checks the radiation over time, in addition to the maximum value (80% *): ... If the user was exposed to radiation for more than 20 seconds * ... at a level of more than 10% *, the system will also administer Anti-Rads -> Added new text messages for the radiation-over-time events -> Made a better reminder audio message, so the reminder can be used without text, too -> The whole mod can be disabled by one option

* Values marked with * can be edited easily in the options on top of the script.

** When Scientific kits are used, the system can only administer the included Anti-Rads. Further medical attention, like health restoration, can not be provided by the injection system. However, the rest of the kit will be left for further usage (equal to regular Medkit).

Notes: ====== Probably usable with any Stalker SHOC version, if you make the custom installation.

Please use the FileFront forum for any help requests or issues: http://forums.filefront.com/s-t-l-k-e-r-soc-modding-editing-954/

Read the info.txt for more information.

======================================================== Credits & Thanx ========================================================

-> Credits to AMK for proper news message usage ... and other nifty function designs -> Thanx to maxfu for coming up with the idea -> Thanx to Cpt. Borovich and Russo for the help

======================================================== Atrocious 2008 ========================================================

Read More

Screenshots
Readme
============================================================
Automatic Anti-Radiation Injection System 1.1 - by Atrocious
============================================================

Features:
=========
- Automatic Anti-Rad Injections for certain suits (at 80% * radiation)
- Nearly all variables editable
- Custom text messages for the related events (optional)
- Half Life 1 HEV sounds for the related events (optional)
- The system will remind you if you need new Anti-Rad supplies (optional)
- All sounds and texts can be disabled
- Scientific First-Aid kits can be disassembled and used by the system (optional) **


Changes in 1.1
==============
-> The suits are no longer selected by a list, but by their stats:
... Suits with 70% * or more radiation protection have the system
... Suits with 45% * or more bullet protection have the system
... This makes the mod easier to use, because you don't have to keep the suit list updated!
... Also the selection process is faster now - due to some optimization
-> The system now checks the radiation over time, in addition to the maximum value (80% *):
... If the user was exposed to radiation for more than 20 seconds * 
... at a level of more than 10% *, the system will also administer Anti-Rads
-> Added new text messages for the radiation-over-time events
-> Made a better reminder audio message, so the reminder can be used without text, too
-> The whole mod can be disabled by one option

* Values marked with * can be edited easily in the options on top of the script.

** When Scientific kits are used, the system can only administer the included Anti-Rads. Further medical attention, like health restoration, can not be provided by the injection system. However, the rest of the kit will be left for further usage (equal to regular Medkit).


Notes:
======
Please use the FileFront forum for any help requests or issues:
http://forums.filefront.com/s-t-l-k-e-r-soc-modding-editing-954/


Installation:
=============
If you already used version 1.0, it would be sufficient to update (overwrite) only the sound files and the auto_injection.script! But there is also a little improvement in bind_stalker.script, that you would miss then (possibility to deactivate mod by script).

Otherwise:

-> Easy, but not recommended: If your current mods don't use bind_stalker.script and info_l01escape.xml, you can just copy the gamedata folder and overwrite your current gamedata folder. No manual changes needed then.

-> Recommended: If you are using other mods, that use one of those two files, you have to merge my changes into the files (and copy the other files into your gamedata sub-folders). That is recommended because I am not sure about differences in bind_stalker.script.

The following two blocks have to be included: 
-> The first block into gamedatascriptsbind_stalker.script into the "function actor_binder:update(delta)" - at the end of the function.

	-- mod: function calls for automatic antirad injection
	if auto_injection.system_enabled() then
		auto_injection.check_auto_injection_suit()
		auto_injection.check_antirad_supplies()
		auto_injection.check_radiation()
	end
	-- mod: function calls for automatic antirad injection - end

Advanced users: Don't worry, although the function calls are in "actor_binder:update", they will not be executed constantly. Every function has an internal timer that blocks unnecessary execution.

-> The second block into gamedataconfiggameplayinfo_l01escape.xml under &quot;<game_information_portions>&quot;.

	<!-- MOD: Antirad auto-injection system -->
	<info_portion id=&quot;auto_injection_system_startup&quot;></info_portion>
	<!-- MOD: Antirad auto-injection system - end -->


Options:
========
The Auto Injection System is fully configurable. Therefore the auto_injection.script starts with an options section. The options can be disabled with &apos;false&apos;. They are as follows:

local enable_system = true
--[[disables the whole mod, if set to &apos;false&apos;		]]--

local max_rad_percentage = 80
--[[radiation level, at which the system kicks in		]]--

local monitor_long_exposure = true
--[[the system will also activate, if the user was exposed to radiation over a longer time		]]--

local min_rad_percentage = 10
--[[minmum radiation dose, before the system counts the time (unused if monitor_long_exposure is &apos;false&apos;)		]]--

local max_radiated_seconds = 20
--[[maximum time of low radiation, before anti-rads are administered (unused if monitor_long_exposure is &apos;false&apos;)		]]--

local reminder = true
--[[get reminding messages, if you are out of anti-rad supplies		]]--

local mins_till_next_remind = 60
--[[time in minutes until you get the next reminder message (unused if reminder is &apos;false&apos;)		]]--

local use_text = true
--[[show text if the system has something to tell?		]]--

local use_sounds = true
--[[play sounds if the system has something to tell?		]]--

local use_custom_sounds = true
--[[use Half Life 1 HEV sounds? (unused if use_sounds is &apos;false&apos;)		]]--

local use_scientific_kit = true
--[[disassemble scientific medkits for anti-rad usage?		]]--

local suit_radiation = 70
local suit_bullet_proof = 45
--[[selection parameters: suits with radiation protection or bullet protection equal to 
	or higher than those two percentage values, will provide the injection system. 		]]--


========================================================
 Credits & Thanx
========================================================

-> Credits to AMK for proper news message usage 
... and other nifty function designs
-> Thanx to maxfu for coming up with the idea
-> Thanx to Cpt. Borovich and Russo for the help

========================================================
 Atrocious 2008   
========================================================

Read More

Comments on this File

There are no comments yet. Be the first!

Atrocious


50 XP


Registered 1st April 2008

17 Files Uploaded

Share This File
Embed File