Basically I am replacing the long boring intro on login to the wraith gate cinematic.
In character handler I have made this:
Code:
if(plr->m_FirstLogin)
{
uint32 introid = 22031; // cant find correct id for wraith gate
#ifdef USING_BIG_ENDIAN
swap32(&introid);
#endif
// OutPacket(SMSG_TRIGGER_CINEMATIC, 4, &introid); // don't need this - were using movie not cinematic
OutPacket(SMSG_TRIGGER_MOVIE, 4, &introid); // no idea if this will work - my fail C++ skillz
Basically changed the intro id and the opcode.
I have no idea what the "4" in the opcode means though.
Browsing through loads of DBC's I have come up with a list of about 5 possible id's, playing them through this code all of them did not work.
I'm asking if anyone knows the correct Opcode formula or the correct id for the wraith gate cinematic.
DBCs I have browsed and looks possible:
- CinematicCamera
- CinematicSequences
- Move
- MovieFileData
- MovieVariation
- FileData
The movie ones + file data seem to be the ones most likely to have the id, but I cant seem to get it to work! Probably my fail C++ skills.
Thanks in advance.
Also I figured to post in here since this is more to do with emulation than DBC editing (model editing section).