Ok, here's what I came up with.
I tried it 4 different ways. I'm by no means an expert, and since the tutorial is for static meshes - I'm just winging it here.
First, I simply added the envmap line to the waveset alcscript:
Btw, the object listed here is a second object that I tried referencing later to no avail. In my first attempt, I reference the waveset object.
- Code: Select all
Waveset:
type: waveset
visual:
waveset:
envradius: 200
envmap: Wavesetenvmap
depthrange:
opac:
start: 0
end: 0.5
winddir: winddir
windspeed: 0.1
I recieved an error, but I don't know how to copy the command output to post it here.
So, the second thing I tried was to create an Envmap as a second texture to the waveset mesh itself - using the same alcscript. I got the same error a second time. Third I duplicated the waveset mesh, renamed it, then removed the material and and UVMap. Then, created a new UVMap then unwrapped the mesh. During export I got the same error a third time.
Lastly, I removed the Envmap from the duplicate object, added a texture and UVMapped the texture. I then followed Andy's tutorial again, added the Envmap to the object, as well as the independent Alcscript to the object. I then pointed the waveset script to the corresponding Envmapped object. Exporting gave the same error.
I'm assuming the error is the same. Each time the last lines read: ~\PyPRP\prp_MatClasses.py", line 2216, in write self.fFaces[i].write<stream,0> # "Really" is set to 0, to avoid writing hskeyedObject code
IndexError: list index out of range
Any ideas?