User Tools

Site Tools


hpl3:game:faq

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hpl3:game:faq [2013/10/18 10:32]
exorph [Scripting]
hpl3:game:faq [2014/12/19 22:35]
thomas [GUI]
Line 1: Line 1:
 ====== FAQ ====== ====== FAQ ======
- 
- 
-===== Troubleshooting GUI ===== 
- 
- 
-**Q: Why can't I render something to a GUI?** \\  
-A: Try these steps 
- 
- 
-    - Make sure the material for the GUI sub mesh is transparent. Ask modeller to double check if unsure 
-    - Ensure that correct Submesh is set up using the model editor 
-    - Ensure that you are not changing the material of the Submesh in code (For instance, the keypad in 0.6 changes its ilum texture, but the specific mesh must be called) 
-    - Is your GUI's draw function being called? Put a cLux_AddDebugMessage in there as a test and it should iterate every frame. 
-    - Has the GUI been set as inactive either in the editor or in script with Terminal_SetGuiActive?​ 
-    - Finally, make sure you are rendering something simple like a label to start before trying to implement a full blown GUI! 
  
  
Line 34: Line 19:
 **Q:** **Oh no! One of my levers have weird interaction. It won't move, or it suddenly inverts the mouse movement!** \\  **Q:** **Oh no! One of my levers have weird interaction. It won't move, or it suddenly inverts the mouse movement!** \\ 
 A: Lever interaction is tricky. First try changing the entity'​s MoveDirection. If that doesn'​t help and the problem only occurs when the lever is almost at its max or min position, try limiting the range of the joint in the .ent file. A: Lever interaction is tricky. First try changing the entity'​s MoveDirection. If that doesn'​t help and the problem only occurs when the lever is almost at its max or min position, try limiting the range of the joint in the .ent file.
 +
 +===== GUI =====
 +
 +**Q: Why can't I render something to a GUI?** \\
 +A: Try these steps
 +
 +    - Make sure the material for the GUI sub mesh is transparent. Ask modeller to double check if unsure
 +    - Ensure that correct Submesh is set up using the model editor
 +    - Ensure that you are not changing the material of the Submesh in code (For instance, the keypad in 0.6 changes its ilum texture, but the specific mesh must be called)
 +    - Is your GUI's draw function being called? Put a cLux_AddDebugMessage in there as a test and it should iterate every frame.
 +    - Has the GUI been set as inactive either in the editor or in script with Terminal_SetGuiActive?​
 +    - Finally, make sure you are rendering something simple like a label to start before trying to implement a full blown GUI!
  
 ===== Modeling ===== ===== Modeling =====
  
 +**Q: I have created a socket but it is not following along with the skeleton** \\
 +A: Make sure that you have not created the socket on a controller bone. These are not used by the engine and will remain at the same postion. Normally you can spot them by the "​_Ctrl"​ suffix. To fix, just create the socket at some other bone.
 +
 +**Q: My export to detail meshes are 100x larger than usual\\
 +**
 +A: You might be using a new exporter that has these issues. in export settings set the units to "​Centimeter"​
  
 ===== Particles ===== ===== Particles =====
hpl3/game/faq.txt ยท Last modified: 2015/09/17 10:24 by ian.thomas