Jump to content

Quick question about script during dialog


reglov

Recommended Posts

Hello, i am new to creating mods and this is why i have rather basic question.

 

Can script be used while dialog with NPC is opened?

I am writing mod to slow or pause game by hotkey during dialog, so I can translate all conversation.

 

Is there a way to view 2 language translations at once?

Link to comment
Share on other sites

If i created new quest, which starts at the start of game and assign this script below, would it open MessageBoxEx at every dialog in game or only in dialog in my new created quest?


begin MenuMode 1009


if IsControlPressed 17

MessageBoxEx "This message will appear as a pop up box in game"

endif


end

Link to comment
Share on other sites

i have strange problem

 

i wrote little test script to see results

ScriptName slowgame

int button

begin MenuMode
  
	; if IsControlPressed 17
	; MessageBoxEx "This message will appear as a pop up box in game"
	; endif
	
	; if IsControlPressed 18
	; MessageBoxEx "12121212This mess age will appear as a pop up box in game" asdasd
	; endifasd
	
;	MessageBoxEx "always" 
	ShowMessage MyMessage 
	
	
	if button != IsKeyPressed 49	; N
	;	MessageBoxEx "IsKeyPressed"
		set button to IsKeyPressed 49
	endif

end


but when i assign this script to quest, save .esp and reopen then quest has NONE script assigned

 

i tried restart Windows, restart GECK, GECK up, run GECK with admin privilidges - none works

Edited by reglov
Link to comment
Share on other sites

Game shows dialog while in console "~", but keeps playing voice.

Voice can be paused by going to pause menu "esc", but then dialog isnt visible.

I found a way to get transparent pausemenu background, but still dialog isnt.

 

Is there a way to keep dialog visible while in pausemenu?

There is line in dialog_menu.xml

<_DialogVisible> &false; </_DialogVisible>	 

I see that similar trait is being set by script in oneHUD mod, but i cant find this trait in FalloutNV.ems file. Do You know how game changes it?

I am searching through DarnUI and oneHUD mods to see xml changes and scripts, which controls such thing. Please help if somebody knows the answer.

 

Thanks in advance.

Edited by reglov
Link to comment
Share on other sites

  • 10 months later...

I'm also interested in the mod can pause the game during the dialog, so I can traslate the word I don't know.

 

I think there are 2 ways to do it.

1. remove the filter/mask in pause menu.

2. pause the whole game by pressing a button(but no menu shows up).

 

Does any one can give some suggestions??

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...