Git Product home page Git Product logo

renanmsv / stalker_outfit_marauder Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 38 KB

The addon makes it possible to pick up armors and helmets when looting NPC corpses.The state of things depends on the faction and rank of the deceased. Fully customizable!

Home Page: https://www.moddb.com/mods/call-of-chernobyl/addons/outfit-loot-vanilla-coc-15r6-fully-configurable

TeX 100.00%
stalker call-of-chernobyl chernobyl pripyat addon outfit-marauder

stalker_outfit_marauder's Introduction

----------------------
-- File: Outfit Marauder
-- Author: Shoker
-- CoM visuals table: ziken
-- CoM script adaptation: Dimeyne
-- ?????? ????? ? ??????.
-- CoC 1.5R6 adaptation: RenanMsV
----------------------

The addon makes it possible to pick up armors and helmets when looting NPC corpses.The state of things depends on the faction and rank of the deceased. For Call of Chernobyl 1.5R6

How to config this mod (change drop chance etc...):

Edit the gamedata/configs/outfit_marauder.ltx The default drop chance is 25%.

Item conditions based by the NPC rank (novice, experienced, legend) are enabled by default. So experienced stalker will drop outfits with a better condition. You can disable it in the config.

[global_config]
	dropchance = 25 ;outfit and helmet drop chance in % (from 0 to 100)
	outfit_Condition_Based_On_Rank = true ;if so experienced stalkers will drop outfits with a better condition
	debugMessages = false ;debug messages (for developers)
[outfit_condition] ;default armor durability in % (from 0 to 100)
	min = 10
	max = 45
[helmet_condition] ;default helmet durability in % (from 0 to 100)
	min = 10
	max = 35
[rank_condition_table] ;setup here the durability based on the npc rank, will not work if outfit_Condition_Based_On_Rank not enabled. 1 = default by config, 2 = 2x more
	novice = 1
	trainee = 1.1
	experienced = 1.2
	professional = 1.3
	veteran = 1.4
	expert = 1.5
	master = 1.6
	legend = 1.7

How to install :

Copy and replace this mod's gamedata folder into your game's gamedata folder. If you dont use any outfit mod you are good to go, you can play the game without any extra step.

For this mod to work with mods that change the gamedata/configs/misc/death_generic.ltx file you need to add those lines to this file (in the [keep_items] section):

novice_outfit = true
banditmerc_outfit = true
trenchcoat_outfit = true
bandit_novice_outfit = true
merc_outfit = true
helm_respirator = true
svoboda_light_outfit = true
dolg_exo_outfit = true
scientific_outfit = true
cs_light_novice_outfit = true
cs_medium_outfit = true
helm_hardhat = true
helm_m40 = true
svoboda_exo_outfit = true
dolg_scientific_outfit = true
stalker_outfit = true
ecolog_outfit_orange = true
dolg_outfit = true
exo_outfit = true
monolith_outfit = true
merc_exo_outfit = true
cs_light_outfit = true
svoboda_scientific_outfit = true
dolg_novice_outfit = true
cs_novice_outfit = true
military_outfit = true
ecolog_outfit_green = true
monolith_scientific_outfit = true
dolg_heavy_outfit = true
helm_battle = true
military_exo_outfit = true
bandit_exo_outfit = true
svoboda_novice_outfit = true
monolith_exo_outfit = true
merc_scientific_outfit = true
specops_outfit = true
cs_heavy_outfit = true
ecolog_guard_outfit = true
helm_tactic = true
svoboda_heavy_outfit = true

How to add new outfits:

To setup new outfits open the outfit_marauder.script with any text editor, and include values in the visuals variable. Example below:

  • stalker_visual_name = {"armor_name", "helmet_name"}
  • The helmet is not required.
  • Also if its a new outfit or helmet (non vanilla) you need to add to the gamedata/configs/misc/death_generic.ltx so the game will keep this item in the npc inventory after death. If you dont the game will randomly remove those outfits or helmets from npc's inventory. Making this mod kinda useless.

No new game required.

Changelog:

You can now fully config the mod, such as drop chance, item conditions, debug enabled, etc...

New debug option (for developers, or for you to test if your configs are correct and if the mod is working).

New outfits based in the Vanilla version 1.4.22. You can add new outfits from mods.

stalker_outfit_marauder's People

Contributors

renanmsv avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sevenchalices

stalker_outfit_marauder's Issues

Some NPCs do not drop anything

During gameplay I noticed the character Sargeant Kitsenko and possibly Sargeant Plichko "stalker_do_balon_1" do not drop outfits.
A user reported one or more Clear Sky characters do not drop outfits.

Turns out some npc visuals are missing from the table so it returns 'none'. Even more might be missing.

----- Duty -----
stalker_do_balon_3 = {"dolg_outfit"},
stalker_do_komandir = {"dolg_outfit"},
stalker_dolg_0 = {"dolg_novice_outfit"},
stalker_dolg_1 = {"dolg_scientific_outfit"},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.