Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Use lmpc to decompile the demo
- This creates a big text file of the demo.
- (for example lmpc -s somedemo.dem somedemo.txt)
- Open with openOffice
- Use the find and replace function and input the following:
- Find: ^.*setangle.*$
- Replace with: blank
- Make sure regular expressions on
- Look through the document and find which entity is the player
- pov that you want. Player # and entity # are off by one, player 0
- is entity 1, player 1 is entity 2, etc.
- When you found this change both entries of setview to this
- entity number. There are two! The second one appears to be the
- most effectual.
- Note: Takes a long time to open, find&replace and save.
- After this copy to documents and settings->labyrinth->demofix
- or some directory that has or will have demofix5.exe
- rename modified demo text file to 'data.txt'
- Open demofix5.cpp and change entityX to the entity you want. For example,
- 'string entity1 = " entity 1;";
- change to:
- 'string entity2 = " entity 2;";
- Save and compile.
- Run demofix.exe in the same directory as data.txt this will output angles.txt
- Run camera.exe, this will replace the camera angles with
- those in angles.txt and output fixedfile.txt
- Move this to lmpc directory if necessary, and lmpc it back into a demo
- binary. (for example lmpc -l fixedfile.txt somedemofixed.dem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement