Перейти к контенту

Changeing AMK


custodis

Рекомендуемые сообщения

Hi all

 

First of all i would like to thank the AMK team for a great mod. But as great as it is there are some things that i wanted to change like weapon and prop textures sounds etc. to fit my personal taste and gaming needs

 

So far Ive had little or no problems whatsoever, the game runs perfectly with all the re textures and custom shader (included in the AMK weather addon)

 

 

until now...

 

i want to change to weapon scope textures so far without success

 

the scope pack i want to use is Gnomus's Scopes V2.0 (V 2.0) it can be found HERE!

 

first i tried to modify the weapon.ltx file to use the new scope textures it gave me an error

 

Expression : fatal error

Function : CInifile::r_section

File : E:\stalker\patch_1_0004\xrCore\Xr_ini.cpp

Line : 342

Description : <no expression>

Arguments : Can't open section 'delayed_action_fuse'

 

the delayed_action_fuse.ltx is a file common game version 1.0005. i'm running patch 10004 and since i couldn't find the file anywhere i removed all references to it from the weapon.ltx file. ( yes i made a backup)

 

so far so good the game loads but CTD when i load a save game with a new error

 

Expression : fatal error

Function : CInifile::r_string

File : E:\stalker\patch_1_0004\xrCore\Xr_ini.cpp

Line : 352

Description : <no expression>

Arguments : Can't find variable condition_to_explode in [amk_kanistra]

 

 

:blink: okaaaaay now let it be known that I'm not a mod wizard, i just tried to use my common sense in trying to get i to work myself before making an ass of myself but I'm at a complete loss here.

 

maybe i got it all wrong and the solution is really simple.

 

if anyone could help me out with id verry much depreciate it

 

[edit] got it to work for PSO scopes i just renamed the Standard Def texture wpn_crosshair_red.dds to wpn_crosshair_4-Dot.dds

 

ridiculously simple [/edit] i hope i can get the other textures to work as well

Изменено пользователем custodis
Ссылка на комментарий

true! but if you open at the w_ak74.ltx and look for the "scope_texture" line you'l find that its not there.

 

so because i was unable to find it i looked at the weapons.ltx file

 

were is says #include "w_ak74.ltx"

 

so i figured the reference to the correct scope texture would be in there somewhere.

and i was right.

 

scope_texture = wpn\wpn_crosshair_4-Dot ; wpn\wpn_crosshair_4-Dot-N ;50-70_x8_1680

 

 

i dint occur to me to rename my new scope textures and replace them with the old ones until later.

Ссылка на комментарий

Another challenge,

 

Ive tried to add the treasure item "backpack" or ruksak to the traders inventory.. so far without any luck

 

(and YES! i'm a packrat that collects and stockpiles: ammunition, food, vodka, bandages, medkits, monster trophies and guns!! Not being able to move up my supply line as i advance through The Zone makes me a very nervous S.T.A.L.K.E.R)

 

 

 

FATAL ERROR

 

[error]Expression : fatal error

[error]Function : CInifile::r_section

[error]File : E:\stalker\patch_1_0004\xrCore\Xr_ini.cpp

[error]Line : 342

[error]Description : <no expression>

[error]Arguments : Can't open section 'amk_ruksak'

 

what i've done is set a price for the item in the: gamedata|config\|misc| matras.ltx

 

and added the line: "amk_ruksak = 1, 1" to the traders supl.ltx & trade.ltx files

 

if anyone could give me pointers or smack me in the head and tell me what i'm doing wrong it would be greatly appreciated

 

[EDIT] as with most things, and this is becoming sort of an annoying habit of mine.... i spend two friggin days trying to figure out how to get this to work!! then when i'm ready to give up in an act of desperation i post the question and 20 minutes later i find

the solution. Message # 581 [/EDIT]

 

ill sum it up for posterity

 

gamedata\config\misc are 5 shop folders

 

go to the folder of the trader you want to edit.

 

in this folder you find 3 ltx files

 

buy.ltx

trade.ltx

supl.ltx

 

open the trade.ltx file and look for the line: treasure_item ;NO TRADE

change this to: treasure_item =1, 1

 

open the buy.ltx and repeat as above.

 

open the supl.ltx and look for:

 

[supplies_start]

 

;AMK (press enter)

 

and add: treasure_item = 10, 1

 

all done!

Изменено пользователем custodis
Ссылка на комментарий
custodis, you should use name "treasure_item" instead of 'amk_ruksak' and set it to any trader in his files. E.g. : for Barman (gamedata\config\misc\shop_barman), to files barman_supl.ltx and barman_trade.ltx as treasure_item = 1, 1 in each, taking into account sections [barman_start_sell], [barman_after_darkvalley_sell] and [barman_after_brain_sell].
Ссылка на комментарий

:)

 

“Let the wise guard their thoughts, which are difficult to perceive, extremely subtle, and wander at will.

Thought which is well guarded is the bearer of happiness.”

 

(Hindu Prince Gautama Siddharta, the founder of Buddhism, 563-483 B.C.)

Ссылка на комментарий
Гость
Эта тема закрыта для публикации сообщений.
  • Недавно просматривали   0 пользователей

    • Ни один зарегистрированный пользователь не просматривает эту страницу.
×
×
  • Создать...