Jump to content

Replacing ambients


temnix

Recommended Posts

I'm looking for a way to give all ambients in an area different file names for their lists. Any ideas about how that can be done? fj_structure only adds or deletes ambients, and there is no function like ALTER_AREA_REGION etc. for sounds. I could open the ARE for a REPLACE_TEXTUALLY, but I can't know what the WAV file names will be in advance, nor how long, to end the regular expression. This is for patching a copy of every area so as to keep their numerous and craftily-placed and tuned ambients but make them play sounds from a custom set. If I could, I would replace WAV sound 1 in each with the name of the first prepared sound from my set, WAV no. 2 with the second and so on. This way or some other, the result should be a parallel set of maps. 

Edited by temnix
Link to comment

And not bother you, milord? Well, nobody is dragging you into the topic to reply. I look up these things, of course, but the Weidu readme is not always clear. It lists a bunch of offsets, and which fields do they refer to? For regions, for example, which I'm working on now, it lists seven offsets. But there are many more fields in a region. Is "trigger value," whatever that is, one of them? How about cursor number? Destination area, entrance name... is trapped? Is the trap detected? Try to fit all that into seven fields. I can do the counting off myself, sure, but then it doesn't help to refer me to docs.

Link to comment

Yep. Don't even stay to say what is confused about missing offsets. The guide lists seven, there are more fields, have to count off the bytes myself from the name value for the others.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...