ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Actor relation change upon picking a dialog entry

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  21:20:27  12 April 2015
profilee-mailreply Message URLTo the Top
LoNer1
Настоящий Cталкер, Русская Версия
(Resident)

 

 
On forum: 10/23/2009
 

Message edited by:
LoNer1
04/12/2015 21:21:34
Messages: 1890
Actor relation change upon picking a dialog entry

So, I'm trying to change the relation when the actor / player picks a certain dialog option in the game.

I'm currently looking at the blockpost in Cordon. There's 2 options; 1 is to pay, the other is to tell them you dont have the money yet.

I expanded upon the 2nd and after my string (with ID = 31) i want the NPC to open fire. It goes like this:


---QUOTATION---


<string id="esc_bridge_soldiers_start_26">
<text>I really don't want to pay.</text>
</string>
<string id="esc_bridge_soldiers_start_27">
<text>Then get lost, scrublord. And stop wasting our time.</text>
</string>
<string id="esc_bridge_soldiers_start_28">
<text>Matherfucker.</text>
</string>
<string id="esc_bridge_soldiers_start_29">
<text>What did you say, cyka?</text>
</string>
<string id="esc_bridge_soldiers_start_30">
<text>huge text here</text>
</string>
<string id="esc_bridge_soldiers_start_31">
<text>Open fire!</text>
</string>


---END QUOTATION---



The dialog goes like this:


---QUOTATION---

<dialog id="esc_bridge_soldiers_start">
<precondition>dialogs.is_not_wounded</precondition>
<phrase_list>
<phrase id="12">
<text>esc_bridge_soldiers_start_12</text>
<next>13</next>
</phrase>
<phrase id="13">
<text>esc_bridge_soldiers_start_13</text>
<next>14</next>
<next>24</next>
</phrase>
<phrase id="14">
<text>esc_bridge_soldiers_start_14</text>
<precondition>escape_dialog.has_soldiers_bribe</precondition>
<action>escape_dialog.give_soldiers_bribe</action>
<give_info>esc_bridge_pass_on</give_info>
<next>15</next>
</phrase>
<phrase id="15">
<text>esc_bridge_soldiers_start_15</text>
</phrase>
<phrase id="24">
<text>esc_bridge_soldiers_start_24</text>
<next>25</next>
</phrase>
<phrase id="25">
<text>esc_bridge_soldiers_start_25</text>
<next>26</next>
</phrase>
<phrase id="26">
<text>esc_bridge_soldiers_start_26</text>
<next>27</next>
</phrase>
<phrase id="27">
<text>esc_bridge_soldiers_start_27</text>
<next>28</next>
</phrase>
<phrase id="28">
<text>esc_bridge_soldiers_start_28</text>
<next>29</next>
</phrase>
<phrase id="29">
<text>esc_bridge_soldiers_start_29</text>
<next>30</next>
</phrase>
<phrase id="30">
<text>esc_bridge_soldiers_start_30</text>
<next>31</next>
</phrase>
<phrase id="31">
<text>esc_bridge_soldiers_start_31</text>
</phrase>
<phrase id="2">
<text></text>
<has_info>esc_bridge_pass_on</has_info>
<next>21</next>
</phrase>
<phrase id="21">
<text>esc_bridge_soldiers_start_21</text>
</phrase>
<phrase id="11">
<text>esc_bridge_soldiers_start_11</text>
<next>12</next>
</phrase>
<phrase id="1">
<text></text>
<dont_has_info>esc_bridge_pass_on</dont_has_info>
<next>11</next>
</phrase>
<phrase id="0">
<text></text>
<next>1</next>
<next>2</next>
</phrase>
</phrase_list>
</dialog>


---END QUOTATION---



Any help with this?
  23:20:35  12 April 2015
profilee-mailreply Message URLTo the Top
MrSeyker
Senior Resident
 

 
On forum: 03/21/2010
Messages: 438
Give the esc_bridge_pass_fire infoportion when Kuznetsov or the other officer give the order to attack.

<phrase id="31">
<text>esc_bridge_soldiers_start_31</text>
<give_info>esc_bridge_pass_fire</give_info>
</phrase>
  00:36:46  13 April 2015
profilee-mailreply Message URLTo the Top
LoNer1
Настоящий Cталкер, Русская Версия
(Resident)

 

 
On forum: 10/23/2009
Messages: 1890

---QUOTATION---
Give the esc_bridge_pass_fire infoportion when Kuznetsov or the other officer give the order to attack.

<phrase id="31">
<text>esc_bridge_soldiers_start_31</text>
<give_info>esc_bridge_pass_fire</give_info>
</phrase>
---END QUOTATION---



Worked! Thanks man
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2022 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.