18,700
edits
m (marking four dead YT videos) |
m (fixed "the the"s) |
||
Line 407: | Line 407: | ||
'''Placing individual furniture assets into levels''' | '''Placing individual furniture assets into levels''' | ||
After dragging the assets into the level we need to reposition them all to 0, 0, 0 as the pivot point is used inside the FBX to save their relative position | After dragging the assets into the level we need to reposition them all to 0, 0, 0 as the pivot point is used inside the FBX to save their relative position the level. | ||
Line 584: | Line 584: | ||
In the following there is code that let's you pickup Hyposprays (1 + 2) and use them to regain health (3 + 4). | In the following there is code that let's you pickup Hyposprays (1 + 2) and use them to regain health (3 + 4). | ||
Caution: This script is different from the others as | Caution: This script is different from the others as the pickup key press event is located in the level blueprint. Normally key press events are found in the character blueprint. We will probably want to change that in a future version though I don't know how yet. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 21:03, 16 December 2017 (CET) | ||
If you add a trigger volume to your hypospray object it will act like a new collision box. This can be used to adds some tolerance to the pickup distance. Otherwise the character has to be not just really close but to actually overlap the object. | If you add a trigger volume to your hypospray object it will act like a new collision box. This can be used to adds some tolerance to the pickup distance. Otherwise the character has to be not just really close but to actually overlap the object. | ||
Line 652: | Line 652: | ||
Health and overhealth points have different densities which results in different grow speeds on the artwork. | Health and overhealth points have different densities which results in different grow speeds on the artwork. | ||
To recreate a similar behavior we can let the normals health points fill the health bar with a speed of 1.5 while overpower is the sum of normal health * 1.5 plus health over 100% * 0.5. Since | To recreate a similar behavior we can let the normals health points fill the health bar with a speed of 1.5 while overpower is the sum of normal health * 1.5 plus health over 100% * 0.5. Since the health bar isn't a full circle we tweaking the second factor to about 0.44. | ||