[Pytanie] Itemy mutków

Regulamin forum
Dział "Tworzenie Modyfikacji" służy do zadawania pytań odnośnie tworzenia modyfikacji, edytowania plików gry, oraz pisania tzw. tutoriali, czyli poradników odnośnie modyfikowania gry.
Nie zadajemy tutaj pytań odnośnie modyfikacji gotowych (nie dyskutujemy o nich!), prócz prób ich połączenia etc.


Przy cytowaniu plików *.LTX stosować tag [SYNTAX="ini"], przy cytowaniu plików *.script [SYNTAX="lua"] a przy cytowaniu plików *.xml - [SYNTAX="xml"].

[Pytanie] Itemy mutków

Postprzez Alchemik w 28 Maj 2011, 23:05

Mam problem z pewnym elementem moda. Otóż z pewnym użytkownikiem zmodyfikowaliśmy plik części mutantów, by te nadawały się do zjedzenia, ale niestety, jak wkładam jakiś item do plecaka, to nie widać go, albo go w nim wogóle nie ma. Czasem mam też bugtrapa :E. Wiecie może co schrzanił mój team?

Kod: Zaznacz wszystko
[mutant_flesh_eye]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_flesh_eye"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_flesh_eye.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_flesh_eye
inv_name_short      = mutant_flesh_eye
description         = mutant_flesh_eye_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 8
inv_grid_y         = 19
cost            = 300

eat_health         = 0.5
eat_satiety         = 0
eat_power         = 0
eat_alcohol         = 0
eat_radiation      = 0
wounds_heal_perc   = 0
eat_portions_num   = 0
eat_max_power      = 0

attach_angle_offset      = 0.000000, 0.000000, 0.000000
attach_position_offset   = 0.087266, -0.078540, 0.052360
attach_bone_name      = bip01_r_hand
auto_attach   


[mutant_boar_leg]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_boar_leg"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_boar_leg.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_boar_leg
inv_name_short      = mutant_boar_leg
description         = mutant_boar_leg_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 11
inv_grid_y         = 1
cost            = 800

eat_health         = 0
eat_satiety         = 0
eat_power         = 1.0
eat_alcohol         = 0
eat_radiation      = -0.8
wounds_heal_perc   = 0
eat_portions_num   = 1
eat_max_power      = 0.2

attach_angle_offset      = 0.000000, 0.000000, 0.000000
attach_position_offset   = 0.087266, -0.078540, 0.052360
attach_bone_name      = bip01_r_hand
auto_attach   


[mutant_dog_tail]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_dog_tail"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_dog_tail.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_dog_tail
inv_name_short      = mutant_dog_tail
description         = mutant_dog_tail_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 9
inv_grid_y         = 1
cost            = 500

; eatable item
eat_health = 0
eat_satiety = 0
eat_power = 0
eat_radiation = -0.3
wounds_heal_perc = 0
eat_portions_num = 0


[mutant_psevdodog_tail]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_psevdodog_tail"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_psevdodog_tail.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_psevdodog_tail
inv_name_short      = mutant_psevdodog_tail
description         = mutant_psevdodog_tail_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 9
inv_grid_y         = 19
cost            = 1500

; eatable item
eat_health = 0
eat_satiety = 0
eat_power = 0
eat_radiation = -0.4
wounds_heal_perc = 0
eat_portions_num = 0


[mutant_krovosos_jaw]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_krovosos_jaw"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_krovosos_jaw.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_krovosos_jaw
inv_name_short      = mutant_krovosos_jaw
description         = mutant_krovosos_jaw_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 18
inv_grid_y         = 7
cost            = 3000

; eatable item
eat_health =    0.0
eat_satiety =    0
eat_power =    0.0
eat_radiation = 0.0
wounds_heal_perc = 1.0
eat_portions_num = 0


[mutant_burer_hand]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_burer_hand"
;$prefetch          = 32
class            = II_ATTCH
cform            = skeleton
visual            = equipments\item_burer_hand.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_burer_hand
inv_name_short      = mutant_burer_hand
description         = mutant_burer_hand_description
inv_weight         = 0.2
can_trade         = on
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 13
inv_grid_y         = 12
cost            = 2000


[mutant_zombie_hand]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_zombie_hand"
;$prefetch          = 32
class            = II_ATTCH
cform            = skeleton
visual            = equipments\item_zombie_hand.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_zombie_hand
inv_name_short      = mutant_zombie_hand
description         = mutant_zombie_hand_description
inv_weight         = 0.2
can_trade         = on
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 10
inv_grid_y         = 1
cost            = 200


[mutant_snork_leg]:identity_immunities
GroupControlSection   = spawn_group
discovery_dependency =
$spawn             = "devices\monster_items\mutant_snork_leg"
;$prefetch          = 32
class            = II_FOOD
cform            = skeleton
visual            = equipments\item_snork_leg.ogf
radius            = 1
;script_binding      = stalker.object_init

inv_name         = mutant_snork_leg
inv_name_short      = mutant_snork_leg
description         = mutant_snork_leg_description
inv_weight         = 0.2
can_trade         = off
inv_grid_width      = 1
inv_grid_height      = 1
inv_grid_x         = 14
inv_grid_y         = 19
cost            = 1100

eat_health         = 0
eat_satiety         = 0
eat_power         = 1.0
eat_alcohol         = 0
eat_radiation      = 0
wounds_heal_perc   = 0
eat_portions_num   = 1
Lizać stópki, niuchać stópki
Awatar użytkownika
Alchemik
Człowiek-Artefakt

Posty: 666
Dołączenie: 17 Lut 2010, 12:59
Ostatnio był: Dzisiaj, 05:45
Ulubiona broń: "Tunder" 5.45
Kozaki: 209

Reklamy Google

Re: [Pytanie] Itemy mutków

Postprzez scigacz1975 w 28 Maj 2011, 23:44

Kod: Zaznacz wszystko
can_trade         = off (ustawcie raczej na on lub true)
eat_portions_num   = 0  musi być =1  a nie = 0
auto_attach         = false  albo true (bo głupieje)


brak sekcji:
Kod: Zaznacz wszystko
; food item
slot            = 4
animation_slot         = 4

Kod: Zaznacz wszystko
;hud item
hud = wpn_vodka_hud

Kod: Zaznacz wszystko
// should be deleted after update
bone_name         = bip01_r_hand
position_offset         = 0.0,0.0,0.0
angle_offset         = 1.570790,1.570790,3.92699


co do braku w ekwipunku sprawdźcie
Kod: Zaznacz wszystko
inv_grid_x         = 8
inv_grid_y         = 19
- odpowiadają za umieszczenie ikon w pliku ui_icon_equipment.dds

Za ten post scigacz1975 otrzymał następujące punkty reputacji:
Positive Alchemik.
Awatar użytkownika
scigacz1975
Monolit

Posty: 3243
Dołączenie: 29 Sty 2010, 00:26
Ostatnio był: 29 Mar 2026, 16:28
Miejscowość: Stalowa Wola
Frakcja: Samotnicy
Ulubiona broń: --
Kozaki: 926

Re: [Pytanie] Itemy mutków

Postprzez Alchemik w 01 Cze 2011, 10:16

To jeszcze jedno pytanie:

Kod: Zaznacz wszystko
// should be deleted after update
bone_name         = bip01_r_hand
position_offset         = 0.0,0.0,0.0
angle_offset         = 1.570790,1.570790,3.92699


Czy wstawić wszystkim częściom, tą samą wartość, czy zmienić liczby?
Lizać stópki, niuchać stópki
Awatar użytkownika
Alchemik
Człowiek-Artefakt

Posty: 666
Dołączenie: 17 Lut 2010, 12:59
Ostatnio był: Dzisiaj, 05:45
Ulubiona broń: "Tunder" 5.45
Kozaki: 209

Re: [Pytanie] Itemy mutków

Postprzez scigacz1975 w 01 Cze 2011, 13:58

Myślę że można skopiować np. z opisu kiełbasy i dać wszystkim te same.
Awatar użytkownika
scigacz1975
Monolit

Posty: 3243
Dołączenie: 29 Sty 2010, 00:26
Ostatnio był: 29 Mar 2026, 16:28
Miejscowość: Stalowa Wola
Frakcja: Samotnicy
Ulubiona broń: --
Kozaki: 926


Powróć do Cień Czarnobyla

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 1 gość