HELP: Engine disregards edited files

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

HELP: Engine disregards edited files

Postby Malkavi on 09 Sep 2011 23:50

Greetings! I didn't know S.T.A.L.K.E.R. had such a large modding community!

As for my problem, it concerns (what appears to be) nonsensical behavior on the part of the game engine. As part of a larger mod for myself, I've started editing some of the various "trader" configuration files; the problem is, only some of the changes I've implemented are actually taking effect. For example, NPCs that I run into show the changes I've made just fine, but Sodorovich doesn't. I've double-checked to make sure that I didn't skip over a .ltx file somewhere along the way, even made it so that all possible "trade_xxx.ltx" files were identical... yet Sodorovich refuses to play along x_x; I don't suppose anyone here could lend some insight into this odd turn of events?
Malkavi
New Member
 
Posts: 5
Joined: 09 Sep 2011 23:40

Re: HELP: Engine disregards edited files

Postby Nightwatch on 10 Sep 2011 21:20

Welcome to the forum Malkavi :mozilla_smile:
It would be quite helpful for us to try to find a solution if you posted the changes that you made in respect of Sodorovich -all changes made in regard to his trade part.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: HELP: Engine disregards edited files

Postby Malkavi on 11 Sep 2011 05:26

Ah; my apologies (and thanks for the welcome)! I hope this isn't too cluttering, as I don't see an option for expanding/hiding text; here is my latest attempt to get results. With any luck, I didn't butcher the code in my frustration.

[trader]
buy_condition = trader_generic_buy
sell_condition = {+esc_kill_bandits_quest_done} trader_after_fabric_sell, trader_start_sell
buy_supplies = {+esc_kill_bandits_quest_done} supplies_after_fabric, supplies_start


[trader_generic_buy]
;Àðòåôàêòû
af_medusa = 1, 0.6
af_cristall_flower = 1, 0.6
af_night_star = 1, 0.6
af_vyvert = 1, 0.6
af_gravi = 1, 0.6
af_gold_fish = 1, 0.6
af_blood = 1, 0.6
af_mincer_meat = 1, 0.6
af_soul = 1, 0.6
af_electra_sparkler = 1, 0.6
af_electra_flash = 1, 0.6
af_electra_moonlight = 1, 0.6
af_rusty_thorn = 1, 0.6
af_rusty_kristall = 1, 0.6
af_rusty_sea-urchin = 1, 0.6
af_ameba_slime = 1, 0.6
af_ameba_slug = 1, 0.6
af_ameba_mica = 1, 0.6
af_drops = 1, 0.6
af_fireball = 1, 0.6
af_cristall = 1, 0.6
af_dummy_glassbeads = 1, 0.6
af_dummy_pellicle = 1, 0.6
af_dummy_battery = 1, 0.6
af_dummy_dummy = 1, 0.6
af_dummy_spring = 1, 0.6
af_fuzz_kolobok = 1, 0.6

;Àììóíèöèÿ
ammo_9x18_fmj = 0.9, 0.6
ammo_9x18_pmm = 0.9, 0.6
ammo_9x19_pbp = 0.9, 0.6
ammo_9x19_fmj = 0.9, 0.6
ammo_11.43x23_hydro = 0.9, 0.6
ammo_11.43x23_fmj = 0.9, 0.6
ammo_12x70_buck = 0.9, 0.6
ammo_12x76_dart = 0.9, 0.6
ammo_12x76_zhekan = 0.9, 0.6
ammo_5.45x39_ap = 0.9, 0.6
ammo_5.45x39_fmj = 0.9, 0.6
ammo_9x39_sp5 = 0.9, 0.6
ammo_9x39_ap = 0.9, 0.6
ammo_9x39_pab9 = 0.9, 0.6
ammo_5.56x45_ss190 = 0.9, 0.6
ammo_5.56x45_ap = 0.9, 0.6
ammo_7.62x54_7h14 = 0.9, 0.6
ammo_7.62x54_7h1 = 0.9, 0.6
ammo_7.62x54_ap = 0.9, 0.6
ammo_og-7b = 0.9, 0.6
ammo_vog-25p = 0.9, 0.6
ammo_vog-25 = 0.9, 0.6
grenade_f1 = 0.9, 0.6
grenade_rgd5 = 0.9, 0.6
ammo_m209 = 0.9, 0.6

;Îðóæèå
wpn_pm = 0.9, 0.6
wpn_pb = 0.9, 0.6
wpn_fort = 0.9, 0.6
wpn_hpsa = 0.9, 0.6
wpn_beretta = 0.9, 0.6
wpn_walther = 0.9, 0.6
wpn_sig220 = 0.9, 0.6
wpn_colt1911 = 0.9, 0.6
wpn_usp = 0.9, 0.6
wpn_desert_eagle = 0.9, 0.6
wpn_bm16 = 0.9, 0.6
wpn_toz34 = 0.9, 0.6
wpn_wincheaster1300 = 0.9, 0.6
wpn_spas12 = 0.9, 0.6
wpn_ak74u = 0.9, 0.6
wpn_mp5 = 0.9, 0.6
wpn_ak74 = 0.9, 0.6
wpn_abakan = 0.9, 0.6
wpn_l85 = 0.9, 0.6
wpn_lr300 = 0.9, 0.6
wpn_sig550 = 0.9, 0.6
wpn_groza = 0.9, 0.6
wpn_val = 0.9, 0.6
wpn_vintorez = 0.9, 0.6
wpn_svu = 0.9, 0.6
wpn_svd = 0.9, 0.6
wpn_rg-6 = 0.9, 0.6
wpn_rpg7 = 0.9, 0.6
wpn_g36 = 0.9, 0.6
wpn_fn2000 = 0.9, 0.6

;ADDONS
wpn_addon_scope = 0.9, 0.6
wpn_addon_scope_susat = 0.9, 0.6
wpn_addon_silencer = 0.9, 0.6
wpn_addon_grenade_launcher = 0.9, 0.6
wpn_addon_grenade_launcher_m203 = 0.9, 0.6

;Áðîíèêè
novice_outfit = 1, 0.6
bandit_outfit = 1, 0.6
killer_outfit = 1, 0.6
monolit_outfit = 1, 0.6
soldier_outfit = 1, 0.6
specops_outfit = 1, 0.6
military_outfit = 1, 0.6
stalker_outfit = 1, 0.6
scientific_outfit = 1, 0.6
exo_outfit = 1, 0.6
svoboda_light_outfit = 1, 0.6
svoboda_heavy_outfit = 1, 0.6
dolg_outfit = 1, 0.6
dolg_scientific_outfit = 1, 0.6
ecolog_outfit = 1, 0.6
protection_outfit = 1, 0.6

;Ìåäèêàìåíòû
bandage = 1, 0.5
medkit = 1, 0.5
medkit_scientic = 1, 0.5
medkit_army = 1, 0.5
antirad = 1, 0.5

;Äåòàëè ìîíñòðîâ
mutant_flesh_eye ;NO TRADE
mutant_boar_leg ;NO TRADE
mutant_dog_tail ;NO TRADE
mutant_psevdodog_tail ;NO TRADE
mutant_krovosos_jaw ;NO TRADE
mutant_burer_hand ;NO TRADE
mutant_zombie_hand ;NO TRADE
mutant_snork_leg ;NO TRADE

;Åäà
bread = 0.9, 0.6
kolbasa = 0.9, 0.6
conserva = 0.9, 0.6
vodka = 0.9, 0.6
energy_drink = 0.9, 0.6

;Ïðåäìåòû
device_torch ;NO TRADE
detector_simple ;NO TRADE
detector_advances ;NO TRADE
detector_elite ;NO TRADE
device_pda = 1, 0.5
hand_radio ;NO TRADE
guitar_a = 0.9, 0.6
harmonica_a = 0.9, 0.6

;Êâåñòîâûå ïðåäìåòû
gunslinger_flash ;NO TRADE
af_blood_tutorial ;NO TRADE
esc_wounded_flash ;NO TRADE
quest_case_02 ;NO TRADE
dar_document1 ;NO TRADE
dar_document2 ;NO TRADE
dar_document3 ;NO TRADE
dar_document4 ;NO TRADE
dar_document5 ;NO TRADE
kruglov_flash ;NO TRADE
lab_x16_documents ;NO TRADE
good_psy_helmet ;NO TRADE
bad_psy_helmet ;NO TRADE
decoder ;NO TRADE
dynamite ;NO TRADE
quest_case_01 ;NO TRADE
hunters_toz ;NO TRADE
bar_ecolog_flash ;NO TRADE
bar_tiran_pda ;NO TRADE
bar_lucky_pda ;NO TRADE

;Óíèêàëüíûå ïðåäìåòû
outfit_novice_m1 = 1, 0.6
outfit_bandit_m1 = 1, 0.6
outfit_dolg_m1 = 1, 0.6
outfit_killer_m1 = 1, 0.6
outfit_specnaz_m1 = 1, 0.6
outfit_stalker_m1 = 1, 0.6
outfit_stalker_m2 = 1, 0.6
outfit_svoboda_m1 = 1, 0.6
outfit_exo_m1 = 1, 0.6
wpn_ak74_m1 = 1, 0.6
wpn_abakan_m1 = 1, 0.6
wpn_fort_m1 = 1, 0.6
wpn_ak74u_m1 = 1, 0.6
wpn_mp5_m1 = 1, 0.6
wpn_groza_m1 = 1, 0.6
wpn_spas12_m1 = 1, 0.6
wpn_winchester_m1 = 1, 0.6
wpn_l85_m1 = 1, 0.6
wpn_lr300_m1 = 1, 0.6
wpn_svd_m1 = 1, 0.6
wpn_sig_m1 = 1, 0.6
wpn_eagle_m1 = 1, 0.6
wpn_colt_m1 = 1, 0.6
wpn_val_m1 = 1, 0.6
wpn_mp5_m2 = 1, 0.6
wpn_abakan_m2 = 1, 0.6
wpn_l85_m2 = 1, 0.6
wpn_sig_m2 = 1, 0.6
wpn_rg6_m1 = 1, 0.6
wpn_walther_m1 = 1, 0.6
wpn_pm_arena ;NO TRADE
wpn_mp5_arena ;NO TRADE
wpn_toz34_arena ;NO TRADE
wpn_spas12_arena ;NO TRADE
wpn_ak74_arena ;NO TRADE
wpn_bm16_arena ;NO TRADE
wpn_ak74u_arena ;NO TRADE
wpn_val_arena ;NO TRADE
wpn_groza_arena ;NO TRADE
wpn_fn2000_arena ;NO TRADE
wpn_g36_arena ;NO TRADE


[supplies_start]
;Àììóíèöèÿ
ammo_5.45x39_fmj = 1, 0.6

;Îðóæèå
wpn_groza_m1 = 1, 0.6

;Áðîíèêè
killer_outfit = 1, 0.6

;Ìåäèêàìåíòû
bandage = 5, 0.6
medkit = 5, 0.6
antirad = 5, 0.6

;Åäà
bread = 10, 0.5
kolbasa = 10, 0.5
conserva = 10, 0.5
vodka = 10, 0.6
energy_drink = 10, 0.6


[supplies_after_fabric]
;Àììóíèöèÿ
ammo_9x18_fmj = 10, 0.6
ammo_9x18_pmm = 10, 0.5
ammo_12x70_buck = 10, 0.5

;Áðîíèêè
novice_outfit = 3, 0.8
bandit_outfit = 2, 0.6
killer_outfit = 2, 0.5
stalker_outfit = 1, 0.5

;Îðóæèå
wpn_pm = 5, 0.5
wpn_pb = 2, 0.5
wpn_fort = 2, 0.5
wpn_bm16 = 3, 0.5
wpn_mp5 = 2, 0.5

;Ìåäèêàìåíòû
bandage = 5, 0.6
medkit = 5, 0.6
antirad = 5, 0.5

;Åäà
bread = 10, 0.5
kolbasa = 10, 0.5
conserva = 10, 0.5
vodka = 10, 0.6
energy_drink = 10, 0.6


[trader_start_sell]
;Àðòåôàêòû
af_medusa ;NO TRADE
af_cristall_flower ;NO TRADE
af_night_star ;NO TRADE
af_vyvert ;NO TRADE
af_gravi ;NO TRADE
af_gold_fish ;NO TRADE
af_blood ;NO TRADE
af_mincer_meat ;NO TRADE
af_soul ;NO TRADE
af_electra_sparkler ;NO TRADE
af_electra_flash ;NO TRADE
af_electra_moonlight ;NO TRADE
af_rusty_thorn ;NO TRADE
af_rusty_kristall ;NO TRADE
af_rusty_sea-urchin ;NO TRADE
af_ameba_slime ;NO TRADE
af_ameba_slug ;NO TRADE
af_ameba_mica ;NO TRADE
af_drops ;NO TRADE
af_fireball ;NO TRADE
af_cristall ;NO TRADE
af_dummy_glassbeads ;NO TRADE
af_dummy_pellicle ;NO TRADE
af_dummy_battery ;NO TRADE
af_dummy_dummy ;NO TRADE
af_dummy_spring ;NO TRADE
af_fuzz_kolobok ;NO TRADE

;Àììóíèöèÿ
ammo_9x18_fmj ;NO TRADE
ammo_9x18_pmm ;NO TRADE
ammo_9x19_pbp ;NO TRADE
ammo_9x19_fmj ;NO TRADE
ammo_11.43x23_hydro ;NO TRADE
ammo_11.43x23_fmj ;NO TRADE
ammo_12x70_buck ;NO TRADE
ammo_12x76_dart ;NO TRADE
ammo_12x76_zhekan ;NO TRADE
ammo_5.45x39_ap ;NO TRADE
ammo_5.45x39_fmj = 1, 3
ammo_9x39_sp5 ;NO TRADE
ammo_9x39_ap ;NO TRADE
ammo_9x39_pab9 ;NO TRADE
ammo_5.56x45_ss190 ;NO TRADE
ammo_5.56x45_ap ;NO TRADE
ammo_7.62x54_7h14 ;NO TRADE
ammo_7.62x54_7h1 ;NO TRADE
ammo_7.62x54_ap ;NO TRADE
ammo_og-7b ;NO TRADE
ammo_vog-25p ;NO TRADE
ammo_vog-25 ;NO TRADE
grenade_f1 ;NO TRADE
grenade_rgd5 ;NO TRADE
ammo_m209 ;NO TRADE

;Îðóæèå
wpn_pm ;NO TRADE
wpn_pb ;NO TRADE
wpn_fort ;NO TRADE
wpn_hpsa ;NO TRADE
wpn_beretta ;NO TRADE
wpn_walther ;NO TRADE
wpn_sig220 ;NO TRADE
wpn_colt1911 ;NO TRADE
wpn_usp ;NO TRADE
wpn_desert_eagle ;NO TRADE
wpn_bm16 ;NO TRADE
wpn_toz34 ;NO TRADE
wpn_wincheaster1300 ;NO TRADE
wpn_spas12 ;NO TRADE
wpn_ak74u ;NO TRADE
wpn_mp5 ;NO TRADE
wpn_ak74 ;NO TRADE
wpn_abakan ;NO TRADE
wpn_l85 ;NO TRADE
wpn_lr300 ;NO TRADE
wpn_sig550 ;NO TRADE
wpn_groza ;NO TRADE
wpn_val ;NO TRADE
wpn_vintorez ;NO TRADE
wpn_svu ;NO TRADE
wpn_svd ;NO TRADE
wpn_rg-6 ;NO TRADE
wpn_rpg7 ;NO TRADE
wpn_g36 ;NO TRADE
wpn_fn2000 ;NO TRADE

;ADDONS
wpn_addon_scope ;NO TRADE
wpn_addon_scope_susat ;NO TRADE
wpn_addon_silencer ;NO TRADE
wpn_addon_grenade_launcher ;NO TRADE
wpn_addon_grenade_launcher_m203 ;NO TRADE

;Áðîíèêè
novice_outfit ;NO TRADE
bandit_outfit ;NO TRADE
killer_outfit = 1, 3
monolit_outfit ;NO TRADE
soldier_outfit ;NO TRADE
specops_outfit ;NO TRADE
military_outfit ;NO TRADE
stalker_outfit ;NO TRADE
scientific_outfit ;NO TRADE
exo_outfit ;NO TRADE
svoboda_light_outfit ;NO TRADE
svoboda_heavy_outfit ;NO TRADE
dolg_outfit ;NO TRADE
dolg_scientific_outfit ;NO TRADE
ecolog_outfit ;NO TRADE
protection_outfit ;NO TRADE

;Ìåäèêàìåíòû
bandage = 1, 3
medkit = 1, 3
medkit_scientic ;NO TRADE
medkit_army ;NO TRADE
antirad = 1, 3

;Äåòàëè ìîíñòðîâ
mutant_flesh_eye ;NO TRADE
mutant_boar_leg ;NO TRADE
mutant_dog_tail ;NO TRADE
mutant_psevdodog_tail ;NO TRADE
mutant_krovosos_jaw ;NO TRADE
mutant_burer_hand ;NO TRADE
mutant_zombie_hand ;NO TRADE
mutant_snork_leg ;NO TRADE

;Åäà
bread = 1, 3
kolbasa = 1, 3
conserva = 1, 3
vodka = 1, 3
energy_drink = 1, 3

;Ïðåäìåòû
device_torch ;NO TRADE
detector_simple ;NO TRADE
detector_advances ;NO TRADE
detector_elite ;NO TRADE
device_pda ;NO TRADE
guitar_a ;NO TRADE
harmonica_a ;NO TRADE

;Êâåñòîâûå ïðåäìåòû
gunslinger_flash ;NO TRADE
af_blood_tutorial ;NO TRADE
esc_wounded_flash ;NO TRADE
quest_case_02 ;NO TRADE
dar_document1 ;NO TRADE
dar_document2 ;NO TRADE
dar_document3 ;NO TRADE
dar_document4 ;NO TRADE
dar_document5 ;NO TRADE
kruglov_flash ;NO TRADE
lab_x16_documents ;NO TRADE
good_psy_helmet ;NO TRADE
bad_psy_helmet ;NO TRADE
decoder ;NO TRADE
dynamite ;NO TRADE
quest_case_01 ;NO TRADE
hunters_toz ;NO TRADE
bar_ecolog_flash ;NO TRADE
bar_tiran_pda ;NO TRADE
bar_lucky_pda ;NO TRADE

;Óíèêàëüíûå ïðåäìåòû
outfit_novice_m1 ;NO TRADE
outfit_bandit_m1 ;NO TRADE
outfit_dolg_m1 ;NO TRADE
outfit_killer_m1 ;NO TRADE
outfit_specnaz_m1 ;NO TRADE
outfit_stalker_m1 ;NO TRADE
outfit_stalker_m2 ;NO TRADE
outfit_svoboda_m1 ;NO TRADE
outfit_exo_m1 ;NO TRADE
ecolog_outfit_psi_coll ;NO TRADE
wpn_ak74_m1 ;NO TRADE
wpn_abakan_m1 ;NO TRADE
wpn_fort_m1 ;NO TRADE
wpn_ak74u_m1 ;NO TRADE
wpn_mp5_m1 ;NO TRADE
wpn_groza_m1 = 1, 3
wpn_spas12_m1 ;NO TRADE
wpn_winchester_m1 ;NO TRADE
wpn_l85_m1 ;NO TRADE
wpn_lr300_m1 ;NO TRADE
wpn_svd_m1 ;NO TRADE
wpn_sig_m1 ;NO TRADE
wpn_eagle_m1 ;NO TRADE
wpn_colt_m1 ;NO TRADE
wpn_val_m1 ;NO TRADE
wpn_mp5_m2 ;NO TRADE
wpn_abakan_m2 ;NO TRADE
wpn_l85_m2 ;NO TRADE
wpn_sig_m2 ;NO TRADE
wpn_rg6_m1 ;NO TRADE
wpn_walther_m1 ;NO TRADE
wpn_pm_arena ;NO TRADE
wpn_mp5_arena ;NO TRADE
wpn_toz34_arena ;NO TRADE
wpn_spas12_arena ;NO TRADE
wpn_ak74_arena ;NO TRADE
wpn_bm16_arena ;NO TRADE
wpn_ak74u_arena ;NO TRADE
wpn_val_arena ;NO TRADE
wpn_groza_arena ;NO TRADE
wpn_fn2000_arena ;NO TRADE
wpn_g36_arena ;NO TRADE
wpn_vintorez_coll ;NO TRADE


[trader_after_fabric_sell]
;Àðòåôàêòû
af_medusa ;NO TRADE
af_cristall_flower ;NO TRADE
af_night_star ;NO TRADE
af_vyvert ;NO TRADE
af_gravi ;NO TRADE
af_gold_fish ;NO TRADE
af_blood ;NO TRADE
af_mincer_meat ;NO TRADE
af_soul ;NO TRADE
af_electra_sparkler ;NO TRADE
af_electra_flash ;NO TRADE
af_electra_moonlight ;NO TRADE
af_rusty_thorn ;NO TRADE
af_rusty_kristall ;NO TRADE
af_rusty_sea-urchin ;NO TRADE
af_ameba_slime ;NO TRADE
af_ameba_slug ;NO TRADE
af_ameba_mica ;NO TRADE
af_drops ;NO TRADE
af_fireball ;NO TRADE
af_cristall ;NO TRADE
af_dummy_glassbeads ;NO TRADE
af_dummy_pellicle ;NO TRADE
af_dummy_battery ;NO TRADE
af_dummy_dummy ;NO TRADE
af_dummy_spring ;NO TRADE
af_fuzz_kolobok ;NO TRADE

;Àììóíèöèÿ
ammo_9x18_fmj = 1, 3
ammo_9x18_pmm = 1, 3
ammo_9x19_pbp ;NO TRADE
ammo_9x19_fmj = 1, 3
ammo_11.43x23_hydro ;NO TRADE
ammo_11.43x23_fmj ;NO TRADE
ammo_12x70_buck = 1, 3
ammo_12x76_dart ;NO TRADE
ammo_12x76_zhekan ;NO TRADE
ammo_5.45x39_ap ;NO TRADE
ammo_5.45x39_fmj ;NO TRADE
ammo_9x39_sp5 ;NO TRADE
ammo_9x39_ap ;NO TRADE
ammo_9x39_pab9 ;NO TRADE
ammo_5.56x45_ss190 ;NO TRADE
ammo_5.56x45_ap ;NO TRADE
ammo_7.62x54_7h14 ;NO TRADE
ammo_7.62x54_7h1 ;NO TRADE
ammo_7.62x54_ap ;NO TRADE
ammo_og-7b ;NO TRADE
ammo_vog-25p ;NO TRADE
ammo_vog-25 ;NO TRADE
grenade_f1 ;NO TRADE
grenade_rgd5 ;NO TRADE
ammo_m209 ;NO TRADE

;Îðóæèå
wpn_pm = 1, 3
wpn_pb = 1, 3
wpn_fort = 1, 3
wpn_hpsa ;NO TRADE
wpn_beretta ;NO TRADE
wpn_walther ;NO TRADE
wpn_sig220 ;NO TRADE
wpn_colt1911 ;NO TRADE
wpn_usp ;NO TRADE
wpn_desert_eagle ;NO TRADE
wpn_bm16 = 1, 3
wpn_toz34 ;NO TRADE
wpn_wincheaster1300 ;NO TRADE
wpn_spas12 ;NO TRADE
wpn_ak74u ;NO TRADE
wpn_mp5 = 3, 5
wpn_ak74 ;NO TRADE
wpn_abakan ;NO TRADE
wpn_l85 ;NO TRADE
wpn_lr300 ;NO TRADE
wpn_sig550 ;NO TRADE
wpn_groza ;NO TRADE
wpn_val ;NO TRADE
wpn_vintorez ;NO TRADE
wpn_svu ;NO TRADE
wpn_svd ;NO TRADE
wpn_rg-6 ;NO TRADE
wpn_rpg7 ;NO TRADE
wpn_g36 ;NO TRADE
wpn_fn2000 ;NO TRADE

;ADDONS
wpn_addon_scope ;NO TRADE
wpn_addon_scope_susat ;NO TRADE
wpn_addon_silencer ;NO TRADE
wpn_addon_grenade_launcher ;NO TRADE
wpn_addon_grenade_launcher_m203 ;NO TRADE

;Áðîíèêè
novice_outfit = 1, 3
bandit_outfit = 2, 4
killer_outfit = 3, 5
monolit_outfit ;NO TRADE
soldier_outfit ;NO TRADE
specops_outfit ;NO TRADE
military_outfit ;NO TRADE
stalker_outfit = 3, 5
scientific_outfit ;NO TRADE
exo_outfit ;NO TRADE
svoboda_light_outfit ;NO TRADE
svoboda_heavy_outfit ;NO TRADE
dolg_outfit ;NO TRADE
dolg_scientific_outfit ;NO TRADE
ecolog_outfit ;NO TRADE
protection_outfit ;NO TRADE

;Ìåäèêàìåíòû
bandage = 1, 3
medkit = 1, 3
medkit_scientic ;NO TRADE
medkit_army ;NO TRADE
antirad = 1, 3

;Äåòàëè ìîíñòðîâ
mutant_flesh_eye ;NO TRADE
mutant_boar_leg ;NO TRADE
mutant_dog_tail ;NO TRADE
mutant_psevdodog_tail ;NO TRADE
mutant_krovosos_jaw ;NO TRADE
mutant_burer_hand ;NO TRADE
mutant_zombie_hand ;NO TRADE
mutant_snork_leg ;NO TRADE

;Åäà
bread = 1, 3
kolbasa = 1, 3
conserva = 1, 3
vodka = 1, 3
energy_drink = 1, 3

;Ïðåäìåòû
device_torch ;NO TRADE
detector_simple ;NO TRADE
detector_advances ;NO TRADE
detector_elite ;NO TRADE
device_pda ;NO TRADE
guitar_a ;NO TRADE
harmonica_a ;NO TRADE

;Êâåñòîâûå ïðåäìåòû
gunslinger_flash ;NO TRADE
af_blood_tutorial ;NO TRADE
esc_wounded_flash ;NO TRADE
quest_case_02 ;NO TRADE
dar_document1 ;NO TRADE
dar_document2 ;NO TRADE
dar_document3 ;NO TRADE
dar_document4 ;NO TRADE
dar_document5 ;NO TRADE
kruglov_flash ;NO TRADE
lab_x16_documents ;NO TRADE
good_psy_helmet ;NO TRADE
bad_psy_helmet ;NO TRADE
decoder ;NO TRADE
dynamite ;NO TRADE
quest_case_01 ;NO TRADE
hunters_toz ;NO TRADE
bar_ecolog_flash ;NO TRADE
bar_tiran_pda ;NO TRADE
bar_lucky_pda ;NO TRADE

;Óíèêàëüíûå ïðåäìåòû
outfit_novice_m1 ;NO TRADE
outfit_bandit_m1 ;NO TRADE
outfit_dolg_m1 ;NO TRADE
outfit_killer_m1 ;NO TRADE
outfit_specnaz_m1 ;NO TRADE
outfit_stalker_m1 ;NO TRADE
outfit_stalker_m2 ;NO TRADE
outfit_svoboda_m1 ;NO TRADE
outfit_exo_m1 ;NO TRADE
ecolog_outfit_psi_coll ;NO TRADE
wpn_ak74_m1 ;NO TRADE
wpn_abakan_m1 ;NO TRADE
wpn_fort_m1 ;NO TRADE
wpn_ak74u_m1 ;NO TRADE
wpn_mp5_m1 ;NO TRADE
wpn_groza_m1 ;NO TRADE
wpn_spas12_m1 ;NO TRADE
wpn_winchester_m1 ;NO TRADE
wpn_l85_m1 ;NO TRADE
wpn_lr300_m1 ;NO TRADE
wpn_svd_m1 ;NO TRADE
wpn_sig_m1 ;NO TRADE
wpn_eagle_m1 ;NO TRADE
wpn_colt_m1 ;NO TRADE
wpn_val_m1 ;NO TRADE
wpn_mp5_m2 ;NO TRADE
wpn_abakan_m2 ;NO TRADE
wpn_l85_m2 ;NO TRADE
wpn_sig_m2 ;NO TRADE
wpn_rg6_m1 ;NO TRADE
wpn_walther_m1 ;NO TRADE
wpn_pm_arena ;NO TRADE
wpn_mp5_arena ;NO TRADE
wpn_toz34_arena ;NO TRADE
wpn_spas12_arena ;NO TRADE
wpn_ak74_arena ;NO TRADE
wpn_bm16_arena ;NO TRADE
wpn_ak74u_arena ;NO TRADE
wpn_val_arena ;NO TRADE
wpn_groza_arena ;NO TRADE
wpn_fn2000_arena ;NO TRADE
wpn_g36_arena ;NO TRADE
wpn_vintorez_coll ;NO TRADE
Malkavi
New Member
 
Posts: 5
Joined: 09 Sep 2011 23:40

Re: HELP: Engine disregards edited files

Postby Nightwatch on 12 Sep 2011 00:58

I've just have had time to have a look at the file you posted -I believe it's the trade_trader.ltx file- and although it was not an item-by-item look, it seems there's nothing in it to stop it from working. It seems that you have not made a significant alterations anyway, other than allocating different values in trade terms (buy/sell/supply) which should not stop the file being read and applied. Have you changed the file name from trade_trader, btw?

As you say that your alterations are not being applied, then it's also possible that the game might not be releasing the info_portions such as esc_kill_bandits_quest_done and others as given in the file. If this is the case, it points to a more serious problem, but before coming to this question, I'd like to ask what the things were that you were trying to achieve and that you didn't see them being applied? I mean was there anything else other than the alterations in buy/sell/supply values that you were aiming to reach?

--Also, on another note, as you said that you had made all trade_xxx.ltx files identical, you don't need to make them all identical unless it's what you want; and that unless you want all the traders in the game have the same trading conditions, same supplies and same prices, etc, and start offering their such terms at the same time.

----------------------
PS: I'm moving the thread to the Modding Techniques section.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: HELP: Engine disregards edited files

Postby Malkavi on 12 Sep 2011 05:14

With this part, I was attempting to institute a more realistic bartering system with the NPCs (some of the original parameters didn't make too much sense). I hadn't moved past the alterations to the buy/sell ratios; past frustrations taught me to test every individual change as it's made to save me trouble in the future. These initial changes worked fine with those wandering the wastes; I just can't figure out why Sidorovich's changes are the only ones being ignored. The file name is still trade_trader... and yeah, I don't know why I thought making all the trade_xxx.ltx files identical would fix that one problem :-? desperation, I suppose! As for the info_portions, could external programs interfere with any internal referencing the engine might perform? Or my operating system, itself? I use Avira Antivirus on a Vista OS... probably not particularly important, but just in case.
Malkavi
New Member
 
Posts: 5
Joined: 09 Sep 2011 23:40

Re: HELP: Engine disregards edited files

Postby Malkavi on 12 Sep 2011 06:34

Huh... I could have sworn I'd posted the reply here. Hmm. Well, here I go again, haha! The trade_trader.ltx file is still under the same name. The changes I made (they will be only the first in a long line of tweaks) were simply to the buy/sell trading rates; they're working for the wandering NPCs just fine, but Sidorovich's changes aren't registering for some reason. As for making them identical, well... I grew desperate and somehow wondered if making all the files identical would magically solve my problem. Rather silly to think about now, but I figured there was no harm in trying, anyway... :-J
Malkavi
New Member
 
Posts: 5
Joined: 09 Sep 2011 23:40

Re: HELP: Engine disregards edited files

Postby Nightwatch on 13 Sep 2011 15:11

I don't think there should be a problem with info_portions, at least at this stage it seems unlikely as otherwise there would've been more serious symptoms in the game, such as missions not being completed and trader lists stuck to minimum, so that you would've noticed a bigger problem. Also Operating system and anti-virus should not affect the ltx files.

As I see, you have done rather minimal changes on the ratios (price/availability) of the items, and frankly I'd think that those changes would be rather difficult to notice in the short term. For example if you increase a weapons availability chances from 1/10 to 1/6, then it'd be rather difficult to see the difference and even if it's working.
I'd suggest that you put a specific item into the list (in fact, do it for two separate items, each under the START and AFTER_FABRIC lists, but put it under both the supplies and sell lists; and in the supply list, give them the value as such: item_item(name of your item) = 1, 1 then see if they are offered, one at the beginning of the game, then the other one appearing after clearing the old factory from bandits.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: HELP: Engine disregards edited files

Postby Malkavi on 15 Sep 2011 02:05

Sorry this reply took so long. I ran around and checked; the buy/sell prices for every other trader/merchant are working fine (buy stuff off you at about half-price, sell it back to you for double). I didn't know exactly how to alter the item availability for individuals, though; so thanks for explaining that :) I still can't figure out why Sidorovich is the only one not buying or selling items at the rates I set... hmm. Perhaps he's just a greedy bastard, haha!
Malkavi
New Member
 
Posts: 5
Joined: 09 Sep 2011 23:40


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 1 guest

cron