Demo Editing/Demo Problems And FAQs: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Scuzzbopper
(New page: {{TOCright}} {{wip}} {{stub}} == Overview == <span style="color:orange;">Intro text needed</span> == Model Does Not Appear During Playback == # Destructible Model, needs HP # Mission ...)
 
imported>Scuzzbopper
m (Cleaning up the text.)
Line 17: Line 17:
== ''Player'' FX Do Not Display ==
== ''Player'' FX Do Not Display ==


What it looks like is happening is that many FXs are not working if they are attached to the Player (meaning the character flagged as the Player in the demo). I pasted in some other NPCs and players (not as the "Player") and they appeared to work fine.
Previously, demos have at times experienced problems where not all '''FX''' will display properly for the ''Player'' (the specific demo ''entity'' designated by the ''Player'' demo command. Usually, '''FX''' attached to other player characters or to NPCs function normally with this issue and it is specifically and solely the '''Player'''-designated player character that experiences the problem.  With this problem, some '''FX''' may play normally for the '''Player''' while others do not.
<!-- People asked me about this and I saw it during I11.  Don't know if resolved with I12. -SB -->


I suspect that this may have been something that crept in with I11, because some of the Maintained FXs that I was able to get to work are the Willpower FX, but older power set FXs didn't work for me (just based on 1 or 2 that I tried quickly). I also tried inserting the moneybag FX into some of my own demos and had the same problem with it not appearing on my "Player".
This problem can be by-passed by re-designating the ''entity'' designated as the '''Player''' for the demo recording.  Although, the '''Player''' is, by default, the POV player character of the demo recording, this designation can be given to another, different ''entity''.  One way this can be done is by adding one of the invisible ''entity'' models, such as ''"Puddle"'' to a demo file and re-designate that ''entity'' as the '''Player'''. To do this begin by finding the current '''Player''' entity in the demo file. For example:


So, although you're doing everything right, it appears to be an issue with demos that isn't working. As I said, it appears to only be the one character flagged as the "Player" that is the problem. Other players and NPCs look like they work OK, so here's a quick fix. What you can do to get by this issue is create an invisible model attached to the "Player" flag and turn your character into just a regular player. You can do this by making the following code into the beginning of your demo:
1 0 Version 2
0 0 Map maps/City_Zones/Trial_06_01/Trial_06_01.txt
0 0 Time 21.028650
0 CAM POS 1818.146851 -318.060516 9450.268555
0 CAM PYR -0.346 1.370835 0
0 1 Player
0 1 NEW "Super Dude"
 
Where "Super Dude" is currently designated as the '''Player''' and has an '''Entity ID''' of "1".
 
If this character is having difficulty with an '''FX''' appearing, edit the demo file to insert a new entity as the '''Player'''. Remember that this ''entity'' must be given a new unique '''Entity ID''' distinct from the ID number of the player character with the '''FX''' difficulty.  For example:


  1 0 Version 2
  1 0 Version 2
Line 35: Line 46:
  0 50 MOV READY
  0 50 MOV READY
  0 1 NEW " "
  0 1 NEW " "
0 1 COSTUME 1 ffffff -3.297710 -1.000000 -0.015873 -1.000000 -0.523810 ...


...the end there being the rest of your character's costume as normal. Puddle is an invisible model, so by inserting that as the "Player" it gets you past this bug (I also changed your character's name field to <0 1 NEW " ">, otherwise, as you are no longer the "Player", the character's name would appear above your head).
''Puddle'' is an invisible NPC model, so by inserting ''Puddle'' as the '''Player''' this will remove that designation from the player character model with the '''FX''' difficulty.  This will usually restore normal '''FX'' function to the POV player character (which should continue to function normally in spite of losing the '''Player''' designation).  As ''Puddle'' is an invisible model, and you are not attaching any other visual effect or action to it apart from bearing the burden of the '''Player''' flag, it will not have any further impact on the demo.

Revision as of 17:20, 6 June 2008

This article is a stub. You can help the Wiki by expanding it.

Overview

Intro text needed

Model Does Not Appear During Playback

  1. Destructible Model, needs HP
  2. Mission Objective (SEQ)
  3. POS issues (off screen)
  4. PYR issues (upside down and underground)


Player FX Do Not Display

Previously, demos have at times experienced problems where not all FX will display properly for the Player (the specific demo entity designated by the Player demo command. Usually, FX attached to other player characters or to NPCs function normally with this issue and it is specifically and solely the Player-designated player character that experiences the problem. With this problem, some FX may play normally for the Player while others do not.

This problem can be by-passed by re-designating the entity designated as the Player for the demo recording. Although, the Player is, by default, the POV player character of the demo recording, this designation can be given to another, different entity. One way this can be done is by adding one of the invisible entity models, such as "Puddle" to a demo file and re-designate that entity as the Player. To do this begin by finding the current Player entity in the demo file. For example:

1 0 Version 2
0 0 Map maps/City_Zones/Trial_06_01/Trial_06_01.txt
0 0 Time 21.028650
0 CAM POS 1818.146851 -318.060516 9450.268555
0 CAM PYR -0.346 1.370835 0
0 1 Player
0 1 NEW "Super Dude"

Where "Super Dude" is currently designated as the Player and has an Entity ID of "1".

If this character is having difficulty with an FX appearing, edit the demo file to insert a new entity as the Player. Remember that this entity must be given a new unique Entity ID distinct from the ID number of the player character with the FX difficulty. For example:

1 0 Version 2
0 0 Map maps/City_Zones/Trial_06_01/Trial_06_01.txt
0 0 Time 21.028650
0 CAM POS 1818.146851 -318.060516 9450.268555
0 CAM PYR -0.346 1.370835 0
0 50 Player
0 50 NEW "Invisible Placeholder"
0 50 NPC Puddle
0 50 POS 1803.004883 -319.173309 9443.212891
0 50 PYR 0 3.11 0
0 50 MOV READY
0 1 NEW " "

Puddle is an invisible NPC model, so by inserting Puddle as the Player' this will remove that designation from the player character model with the FX difficulty. This will usually restore normal FX function to the POV player character (which should continue to function normally in spite of losing the Player designation). As Puddle is an invisible model, and you are not attaching any other visual effect or action to it apart from bearing the burden of the Player flag, it will not have any further impact on the demo.