FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   S.T.A.L.K.E.R. SoC Modding, Mapping and Editing (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing-954/)
-   -   starting kits (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing/340946-starting-kits.html)

varuna December 14th, 2007 06:26 AM

Re: starting kits
 
sorry for double post but i've had some trouble adding a new choice, ive set it to the right text and action but nothing, is there a file where i need to include the 5th function, text and phase?

TheWhiteDove December 17th, 2007 12:56 AM

Re: starting kits
 
Hi again.. All you have to do is: - extract the 3 files needed, - search for the text to be changed/replaced, - replace it with the new text (copy then paste) - save the new file.. .. or I miss something.. (no internet at home, so sorry for the delay..)

varuna December 17th, 2007 04:12 AM

Re: starting kits
 
Heres what i've done, I still cant see what the problem is. :confused:

function give_weapon_to_actor_4 (trader, actor)
dialogs.relocate_item_section(trader, "wpn_ak74", "in")
dialogs.relocate_item_section(trader, "ammo_5.45x39_fmj", "in")
dialogs.relocate_item_section(trader, "ammo_5.45x39_fmj", "in")
dialogs.relocate_item_section(trader, "wpn_addon_scope", "in")
dialogs.relocate_item_section(trader, "wpn_beretta", "in")
dialogs.relocate_item_section(trader, "ammo_11.43x23_fmj", "in")
dialogs.relocate_item_section(trader, "wpn_knife", "in")
end

function give_weapon_to_actor_5 (trader, actor)
dialogs.relocate_item_section(trader, "wpn_usp", "in")
dialogs.relocate_item_section(trader, "ammo_11.43x23_fmj", "in")
dialogs.relocate_item_section(trader, "ammo_11.43x23_fmj", "in")
dialogs.relocate_item_section(trader, "grenade_rgd5", "in")
dialogs.relocate_item_section(trader, "grenade_rgd5", "in")
dialogs.relocate_item_section(trader, "grenade_rgd5", "in")
dialogs.relocate_item_section(trader, "grenade_rgd5", "in")
dialogs.relocate_item_section(trader, "wpn_knife", "in")
end

----------------------------------------------------------
<string id="escape_lager_volk_talk_1111111110">
<text>Ok! But you wont stand a chance without a weapon, I got some plus ammo and a few grenades. What do you want?</text>
</string>

<string id="escape_lager_volk_talk_1111111111">
<text>Just give a pistol and some ammo, i'm sure I wont need anything else.</text>
</string>

<string id="escape_lager_volk_talk_1111111112">
<text>I'll take that shotgun, you look like your not using it.</text>
</string>

<string id="escape_lager_volk_talk_1111111113">
<text>How about some silent weapons, I wouldn't want to get caught.</text>
</string>

<string id="escape_lager_volk_talk_1111111114">
<text>Got any scoped weapons?, i'd like to be a safe distance away.</text>
</string>

<string id="escape_lager_volk_talk_1111111115">
<text>I'll take the handgun and some grenades.</text>
</string>

---------------------------------------------------
<phrase id="1111111111">
<text>escape_lager_volk_talk_1111111111</text>
<action>escape_dialog.give_weapon_to_actor</action>
<give_info>esc_kill_bandits_quest_have</give_info>
</phrase>
<phrase id="1111111112">
<text>escape_lager_volk_talk_1111111112</text>
<action>escape_dialog.give_weapon_to_actor_2</action>
<give_info>esc_kill_bandits_quest_have</give_info>
</phrase>
<phrase id="1111111113">
<text>escape_lager_volk_talk_1111111113</text>
<action>escape_dialog.give_weapon_to_actor_3</action>
<give_info>esc_kill_bandits_quest_have</give_info>
</phrase>
<phrase id="1111111114">
<text>escape_lager_volk_talk_1111111114</text>
<action>escape_dialog.give_weapon_to_actor_4</action>
<give_info>esc_kill_bandits_quest_have</give_info>
</phrase>
<phrase id="1111111115">
<text>escape_lager_volk_talk_1111111115</text>
<action>escape_dialog.give_weapon_to_actor_5</action>
<give_info>esc_kill_bandits_quest_have</give_info>
</phrase>
<phrase id="1111111111">
<text>escape_lager_volk_talk_1111111111</text>
<action>escape_dialog.give_weapon_to_actor</action>
</phrase>
----------------------------------------------------------------------

I copied the existing choice 4 and then changed the last digit to 5 on all the places where the 4 was.

TheWhiteDove December 18th, 2007 01:35 AM

Re: starting kits
 
Hi..

<phrase id="1111111110">
<text>escape_lager_volk_talk_1111111110</text>
<next>1111111111</next>
<next>1111111112</next>
<next>1111111113</next>
<next>1111111114</next>
<next>1111111115</next> <--- added ??
</phrase>

Edit : your post does contain a duplicate phrase id '1111111111' (10 one)..

varuna December 18th, 2007 05:13 AM

Re: starting kits
 
Thanks that was it I didnt add <next>1111111115</next> in that list. Also is there ment to be 2 (10 one) because the second one doesnt have the line:
<give_info>esc_kill_bandits_quest_have</give_info>


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.