Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Externalised Merchants
Re: New feature: Externalised Merchants[message #360379 is a reply to message #360378] Tue, 16 June 2020 02:00 Go to previous messageGo to previous message
Kitty

 
Messages:473
Registered:October 2017
Location: Germany
Flugente wrote on Tue, 16 June 2020 01:22



I'm still pondering where one would implement parts of it - whether to just build a sound file name in the code and search a specific location for a fitting file, or whether to script it in lua - but this shouldn't be too hard, apart from navigating the swamp that is shopkeeper stuff.

In a way this somewhat opens the door to having non-profile based people talk (apart from grunting when we shoot them in the face), but I see that more as a positive.
Wouldn't using "PlaySound" instead of "PlayJA2Sample" be useful for this? Then Vritran wouldn't be restricted to a sample-array for sounds in code, since this would allow to take the sounds directly from a directory instead.

At least for ActionItems this seems to be working, I did this. Plays a sound directly from directory of choice.


if ActionID == 25 then
	
	PlaySound("Sounds\\Engine01.wav", SoundVolume.HIGHVOLUME, sGridNo)
		
end

[Updated on: Tue, 16 June 2020 02:14]




How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: Take prisoners, interrogate them
Next Topic: New Quest: a questline continues...
Goto Forum:
  


Current Time: Fri Nov 29 04:39:19 GMT+2 2024

Total time taken to generate the page: 0.01476 seconds