Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Sign in to follow this  

Клин и износ оружия

Парни, подскажите, где находится файл отвечающий за износ и второй за шанс клина ствола. Спасибо.

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

На счет износа не знаю но клин это в скрипте. ПО умолчанию он написан в Pistol_Base.с , RifleBoltFree_Base.c и RifleBoltLock_Base.c . Написан он для оружия, которое имеет магазин.
Для не магазин нужен другой скрипт но короче, а выглядит он так:

override float GetChanceToJam()
		float chanceToJam = super.GetChanceToJam();
			chanceToJam = chanceToJam + ((0.1 - chanceToJam) * 0.15); // 0.1
		return chanceToJam;


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.