ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Dialog crashing...

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  18:37:11  5 July 2012
profilee-mailreply Message URLTo the Top
DutyStalker666
Senior Resident
 

 
On forum: 10/25/2011
Messages: 169
Dialog crashing...

So I just tried my new dialog .xml...
I got a lovely error:

---QUOTATION---
[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\stalker\sources\trunk\xrCore\xrDebugNew.cpp
[error]Line : 800
[error]Description :


stack trace:
---END QUOTATION---



What on earth does that mean?
Edited parts from the esc_dialogs.xml:
http://pastebin.com/nhStsBhG

Here is a pic of my .xml which shows that there are no errors in the .xml file: http://picturepush.com/public/8655381

I gave a character I created the dialogue and sometimes he spawns and sometimes he doesn't spawn.. Could it be because of the dialogue errors? Sometimes I must create a new game several times in order for my custom character to spawn
  18:41:38  5 July 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
07/05/2012 18:53:37
Messages: 240

---QUOTATION---
Dialog crashing...

So I just tried my new dialog .xml...
I got a lovely error:
[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\stalker\sources\trunk\xrCore\xrDebugNew.cpp
[error]Line : 800
[error]Description :


stack trace:

What on earth does that mean?
Edited parts from the esc_dialogs.xml:
http://pastebin.com/nhStsBhG

Here is a pic of my .xml which shows that there are no errors in the .xml file: http://picturepush.com/public/8655381

I gave a character I created the dialogue and sometimes he spawns and sometimes he doesn't spawn.. Could it be because of the dialogue errors? Sometimes I must create a new game several times in order for my custom character to spawn
---END QUOTATION---



I think the Problem is you must link the Text in a xml data in the txt folder and not writ it in the dialog.xml
  18:50:57  5 July 2012
profilee-mailreply Message URLTo the Top
DutyStalker666
Senior Resident
 

 
On forum: 10/25/2011
Messages: 169

---QUOTATION---
Dialog crashing...

So I just tried my new dialog .xml...
I got a lovely error:
[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\stalker\sources\trunk\xrCore\xrDebugNew.cpp
[error]Line : 800
[error]Description :


stack trace:

What on earth does that mean?
Edited parts from the esc_dialogs.xml:
http://pastebin.com/nhStsBhG

Here is a pic of my .xml which shows that there are no errors in the .xml file: http://picturepush.com/public/8655381

I gave a character I created the dialogue and sometimes he spawns and sometimes he doesn't spawn.. Could it be because of the dialogue errors? Sometimes I must create a new game several times in order for my custom character to spawn

I think the Problem is you must link the Text in a xml data in the txt folder and not writ it in the dialog.xml
---END QUOTATION---



I had it working last night until I messed up by adding <action> stuff. I tried to make it again today and I get this error.. It defienetly works from the escape_dialogs.xml. I followed this tutorial: http://sdk.stalker-game.com/en/index.php?title=Dialogs
  18:54:36  5 July 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
07/05/2012 19:05:57
Messages: 240
make this in the dialog_escape.xml

http://pastebin.com/j1WcxvEi
and this in the text folder under eng and then in the data stable_dialogs_escape.xml
http://pastebin.com/K0Pjsy3j

then it must work

what for a action command you have make?

p.s. how you have linked the dialog to the npc??
can you show me that?
  19:29:50  5 July 2012
profilee-mailreply Message URLTo the Top
DutyStalker666
Senior Resident
 

 
On forum: 10/25/2011
Messages: 169

---QUOTATION---
make this in the dialog_escape.xml

http://pastebin.com/j1WcxvEi
and this in the text folder under eng and then in the data stable_dialogs_escape.xml
http://pastebin.com/K0Pjsy3j

then it must work

what for a action command you have make?

p.s. how you have linked the dialog to the npc??
can you show me that?
---END QUOTATION---



Now its saying that I got an invalid dialogue id

Here is how I can link dialogue to a npc:

http://pastebin.com/S4mpzmXJ
  19:35:06  5 July 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
make this in the dialog_escape.xml

http://pastebin.com/j1WcxvEi
and this in the text folder under eng and then in the data stable_dialogs_escape.xml
http://pastebin.com/K0Pjsy3j

then it must work

what for a action command you have make?

p.s. how you have linked the dialog to the npc??
can you show me that?

Now its saying that I got an invalid dialogue id

Here is how I can link dialogue to a npc:

http://pastebin.com/S4mpzmXJ
---END QUOTATION---


Why you have this??


#include "gameplay\dialogs_escape.xml"
#include "text\stable_dialogs_escape.xml"



delet this and test it then you don´t need this.
  20:47:24  5 July 2012
profilee-mailreply Message URLTo the Top
DutyStalker666
Senior Resident
 

 
On forum: 10/25/2011
Messages: 169

---QUOTATION---
make this in the dialog_escape.xml

http://pastebin.com/j1WcxvEi
and this in the text folder under eng and then in the data stable_dialogs_escape.xml
http://pastebin.com/K0Pjsy3j

then it must work

what for a action command you have make?

p.s. how you have linked the dialog to the npc??
can you show me that?

Now its saying that I got an invalid dialogue id

Here is how I can link dialogue to a npc:

http://pastebin.com/S4mpzmXJ
Why you have this??


#include "gameplay\dialogs_escape.xml"
#include "text\stable_dialogs_escape.xml"



delet this and test it then you don´t need this.
---END QUOTATION---



The dialogs_escape.xml and the stable_dialogs_escape.xml is where I get my dialog from. In the dialogs_escape.xml there is ids. The ids are referenced underneath the #includes... See the last pastebin I uploaded. It shows you how to do it.
  23:08:57  5 July 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
800 errors could be caused by bad ltx entries too for instance linking a non existing ammo.
  10:41:12  6 July 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---

The dialogs_escape.xml and the stable_dialogs_escape.xml is where I get my dialog from. In the dialogs_escape.xml there is ids. The ids are referenced underneath the #includes... See the last pastebin I uploaded. It shows you how to do it.
---END QUOTATION---




But this you don´t need you only need this


<!----------------------------------------Rookie Weapon Dealer-------------------------------->
       
        <specific_character id="esc_army_trader_rookie" team_default = "1">
                <name>Sgt. Yuri Petrovic</name>
                <icon>ui_npc_u_soldier_obichniy</icon>
                <bio>esc_stalker_novice_bio</bio>
 
                <class>esc_stalker_novice</class>
                <community>stalker</community> <terrain_sect>stalker_terrain</terrain_sect>
               
                <rank>75</rank>
                <reputation>0</reputation>
                <money min="5000" max="5000" infinitive="0"/>
               
                <snd_config>characters_voice\human_01\newbie\</snd_config>
                <crouch_type>-1</crouch_type>
               
                <visual>actors\militari\stalker_military_beta</visual>
                <supplies>
                        [spawn] \n
                        medkit \n
#include "gameplay\character_items.xml" \n
#include "gameplay\character_food.xml"
                </supplies>
		
#include "gameplay\character_criticals_3.xml"
<actor_dialog>esc_army_trader_chat</actor_dialog> 
	</specific_character>

 
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-2021 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.