# UDK Programming and UnrealScript

**URL:** https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=13

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 14

---

## [Help setting up Gib Meshes](https://forums.unrealengine.com/t/help-setting-up-gib-meshes/137237)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 3\
**Last updated:** [January 29, 2020, 1:58pm UTC](https://forums.unrealengine.com/t/help-setting-up-gib-meshes/137237 "2020-01-29T13:58:58Z")

</div>

Hello guys, just a small help needed here. I know that UDK, by default, spawns gib meshes (gore meshes) for enemies killed with a rocket launcher (there is a property in UTDmgType for each weapon to activate the gib eff…

---

## [Apply LPF to audio component?](https://forums.unrealengine.com/t/apply-lpf-to-audio-component/136643)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 12\
**Last updated:** [January 28, 2020, 9:50am UTC](https://forums.unrealengine.com/t/apply-lpf-to-audio-component/136643 "2020-01-28T09:50:15Z")

</div>

I’m sure I’ve asked this in the past, but still don’t know if this is possible. I find it very strange that you cannot apply a low pass filter to a sound using script. An example where you might need this is to adjust s…

---

## [Why is the default MaxSmoothedFrameRate == 62 and not 60?](https://forums.unrealengine.com/t/why-is-the-default-maxsmoothedframerate-62-and-not-60/137094)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [January 27, 2020, 10:09pm UTC](https://forums.unrealengine.com/t/why-is-the-default-maxsmoothedframerate-62-and-not-60/137094 "2020-01-27T22:09:01Z")

</div>

I’m curious, as most monitors refresh rate is 60. So why 62?

---

## [Way to determine if the player is pointing at a particular area of a static mesh?](https://forums.unrealengine.com/t/way-to-determine-if-the-player-is-pointing-at-a-particular-area-of-a-static-mesh/137192)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 8:56pm UTC](https://forums.unrealengine.com/t/way-to-determine-if-the-player-is-pointing-at-a-particular-area-of-a-static-mesh/137192 "2020-01-27T20:56:11Z")

</div>

I want to have a small control panel on one of my meshes with two buttons. It there a way to detect if the player is point at a particular area? I know I can do a distance check on particular vector locations, but was …

---

## [Best way to prevent an Actor from replicating?](https://forums.unrealengine.com/t/best-way-to-prevent-an-actor-from-replicating/137062)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [January 25, 2020, 7:06pm UTC](https://forums.unrealengine.com/t/best-way-to-prevent-an-actor-from-replicating/137062 "2020-01-25T19:06:53Z")

</div>

Usually I just set RemoteRole=Role\_None in the default properties. I can’t remember seeing other ways, so am just wondering if that’s how others are doing it to…?

---

## [Scaleform flash.filters causes swf images and shapes to not display when alt-tabbing back into game](https://forums.unrealengine.com/t/scaleform-flash-filters-causes-swf-images-and-shapes-to-not-display-when-alt-tabbing-back-into-game/136997)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [January 24, 2020, 11:55pm UTC](https://forums.unrealengine.com/t/scaleform-flash-filters-causes-swf-images-and-shapes-to-not-display-when-alt-tabbing-back-into-game/136997 "2020-01-24T23:55:42Z")

</div>

I’ve just started using a lot of flash.filters (such as DropShadowFilter and BlurFilter) in my UI. Looks great, but I’ve noticed that while in game, if I alt-tab out of the game, and then alt-tab back in, images and sha…

---

## [Can pylon recast be edited?](https://forums.unrealengine.com/t/can-pylon-recast-be-edited/137031)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 0\
**Last updated:** [January 24, 2020, 2:11pm UTC](https://forums.unrealengine.com/t/can-pylon-recast-be-edited/137031 "2020-01-24T14:11:22Z")

</div>

Im not sure where to look as i cant seem to find the info i need in the pylon.uc. When we build paths with pylon and use the recast option there is always some space left between the collision of a wall and the red gener…

---

## [UDK rules](https://forums.unrealengine.com/t/udk-rules/136336)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 5\
**Last updated:** [January 16, 2020, 9:28am UTC](https://forums.unrealengine.com/t/udk-rules/136336 "2020-01-16T09:28:45Z")

</div>

Ok so I have 1 game in UDK 10 GBs and I have 5 other projects in UE4, from that project from UDK 100% of times it works when packaging, when I pack with UE4 only 1 our of 5 projects work, should I port " Roll back " all …

---

## [Tick() not being called in PlayerController?](https://forums.unrealengine.com/t/tick-not-being-called-in-playercontroller/136218)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [January 11, 2020, 5:40pm UTC](https://forums.unrealengine.com/t/tick-not-being-called-in-playercontroller/136218 "2020-01-11T17:40:37Z")

</div>

I just noticed this. It’s not a big deal, as I have PlayerTick(), but I’m curious why this is?

---

## [Attaching actor to player camera view?](https://forums.unrealengine.com/t/attaching-actor-to-player-camera-view/112760)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 12:41am UTC](https://forums.unrealengine.com/t/attaching-actor-to-player-camera-view/112760 "2020-01-10T00:41:37Z")

</div>

I know this sounds similar to what i just posted, but it’s not, trust me :wink: I’m trying to attach an actor (that has a static mesh component) that I want to appear in front of the players view. The camera doesn’t se…

---

## [Prevent canvas from clearing on window resize?](https://forums.unrealengine.com/t/prevent-canvas-from-clearing-on-window-resize/136091)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [January 9, 2020, 10:59pm UTC](https://forums.unrealengine.com/t/prevent-canvas-from-clearing-on-window-resize/136091 "2020-01-09T22:59:16Z")

</div>

I’m finding that if I alt-tab out of the game, or set a new resolution, my canvas’ reset. I’m currently using a canvas for an opacity mask, to hide areas of the map the player hasn’t yet visited. I don’t render all visi…

---

## [Top-down map view fog of war?](https://forums.unrealengine.com/t/top-down-map-view-fog-of-war/136015)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [January 9, 2020, 10:57pm UTC](https://forums.unrealengine.com/t/top-down-map-view-fog-of-war/136015 "2020-01-09T22:57:07Z")

</div>

I’m adding a map view to my game (by basically doing a looking-down view of the world). I want to add a fog of war, whereby the map is initially blacked-out, and is slowly uncovered as the player explores. I was thinkin…

---

## [Scaleform Font Libraries?](https://forums.unrealengine.com/t/scaleform-font-libraries/132341)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 9\
**Last updated:** [January 9, 2020, 8:38am UTC](https://forums.unrealengine.com/t/scaleform-font-libraries/132341 "2020-01-09T08:38:11Z")

</div>

Has anyone managed to use font libraries for their scaleform UI’s? I’ve always embedded the fonts, but would like to use a shared library across all my flash movies (as i need to use Chinese language fonts etc). I’ve f…

---

## [Update color param on Lensflare element via script?](https://forums.unrealengine.com/t/update-color-param-on-lensflare-element-via-script/135860)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 7:34pm UTC](https://forums.unrealengine.com/t/update-color-param-on-lensflare-element-via-script/135860 "2020-01-07T19:34:15Z")

</div>

The “Color” param on lensflare elements is of type “RawDistributionVector”. How do i update this parameter via unrealscript? Thank in advance.

---

## [How to add a smoothing curve to VLerp()](https://forums.unrealengine.com/t/how-to-add-a-smoothing-curve-to-vlerp/135922)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [January 5, 2020, 12:15am UTC](https://forums.unrealengine.com/t/how-to-add-a-smoothing-curve-to-vlerp/135922 "2020-01-05T00:15:15Z")

</div>

I’m currently using VInterpTo() when panning my player camera to a certain desired location. VInterpTo() gives a nice smooth transition, however it never actually finishes (or reaches its destination) when the target is …

---

## [Anyway to have a DominantDirectionalLight that doesn't affect LightVector in materials?](https://forums.unrealengine.com/t/anyway-to-have-a-dominantdirectionallight-that-doesnt-affect-lightvector-in-materials/135121)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 6:18pm UTC](https://forums.unrealengine.com/t/anyway-to-have-a-dominantdirectionallight-that-doesnt-affect-lightvector-in-materials/135121 "2019-12-17T18:18:07Z")

</div>

I want to have a second DDL for moonlight, however it affects materials (such as my skybox) because it affects the LightVector material node. Anyway to prevent this?

---

## [Help with SplitScreen Multiplayer - 2 Errors](https://forums.unrealengine.com/t/help-with-splitscreen-multiplayer-2-errors/135709)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 2:12am UTC](https://forums.unrealengine.com/t/help-with-splitscreen-multiplayer-2-errors/135709 "2020-01-02T02:12:39Z")

</div>

Hello guys! I am trying to implement local multiplayer with splitscreen on my game, I got the barebones working already, just the most basic stuff: …

---

## [Post Process "Cross Hatching" Fx](https://forums.unrealengine.com/t/post-process-cross-hatching-fx/135336)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [December 21, 2019, 11:16pm UTC](https://forums.unrealengine.com/t/post-process-cross-hatching-fx/135336 "2019-12-21T23:16:40Z")

</div>

I’m creating an in-game map in my game. I’m basically going to hover the camera high above the player (and disable height-fog etc). I’d like to use a post process fx to differentiate the map view from standard view. I w…

---

## [Where is the editor command line input box?](https://forums.unrealengine.com/t/where-is-the-editor-command-line-input-box/134428)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 13\
**Last updated:** [December 20, 2019, 10:35pm UTC](https://forums.unrealengine.com/t/where-is-the-editor-command-line-input-box/134428 "2019-12-20T22:35:03Z")

</div>

The documentation states that console commands can be run in the editor: “To use the editor console commands, type them into the editor command line input box”. Where is this box?

---

## [Control overall Lensflare strength?](https://forums.unrealengine.com/t/control-overall-lensflare-strength/135282)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [December 20, 2019, 12:54am UTC](https://forums.unrealengine.com/t/control-overall-lensflare-strength/135282 "2019-12-20T00:54:08Z")

</div>

Without having control each of the individual modules within the lens flare. So essentially an overall alpha control.

---

## [Set world location of an attached component?](https://forums.unrealengine.com/t/set-world-location-of-an-attached-component/135124)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [December 19, 2019, 9:02pm UTC](https://forums.unrealengine.com/t/set-world-location-of-an-attached-component/135124 "2019-12-19T21:02:42Z")

</div>

Anyone know how to do this?

---

## [Is there any way for the game to know if it's being played in the editor?](https://forums.unrealengine.com/t/is-there-any-way-for-the-game-to-know-if-its-being-played-in-the-editor/135099)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [December 19, 2019, 5:11pm UTC](https://forums.unrealengine.com/t/is-there-any-way-for-the-game-to-know-if-its-being-played-in-the-editor/135099 "2019-12-19T17:11:59Z")

</div>

PIE crashes. I think it’s related to Steam Input somehow. I’d like to skip the Steam Input code if the game is PIE. Is there any way to check for that?

---

## [Is there an iterator for GFxMoviePlayers?](https://forums.unrealengine.com/t/is-there-an-iterator-for-gfxmovieplayers/135036)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [December 16, 2019, 3:08pm UTC](https://forums.unrealengine.com/t/is-there-an-iterator-for-gfxmovieplayers/135036 "2019-12-16T15:08:00Z")

</div>

I have a bug where sometimes the HUD shows two mouse cursors. I can’t recreate the bug, but I think it might be because there are two HUD movies up, but only one of them controls the mouse. Is there an iterator that wi…

---

## [Best practices LODS on skeletal meshes?](https://forums.unrealengine.com/t/best-practices-lods-on-skeletal-meshes/135008)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [December 14, 2019, 8:16pm UTC](https://forums.unrealengine.com/t/best-practices-lods-on-skeletal-meshes/135008 "2019-12-14T20:16:35Z")

</div>

So I imported a new character to be accurate a female and it’s like 40 000 polygons and it lags a lot, FPS to 30, from far you cannot really “Appreciate” so much the character so I was thinking maybe there is a way to ma…

---

## [Suddenly lost ability in ActionScript to call function in object from root timeline](https://forums.unrealengine.com/t/suddenly-lost-ability-in-actionscript-to-call-function-in-object-from-root-timeline/134728)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 5\
**Last updated:** [December 12, 2019, 7:05am UTC](https://forums.unrealengine.com/t/suddenly-lost-ability-in-actionscript-to-call-function-in-object-from-root-timeline/134728 "2019-12-12T07:05:03Z")

</div>

This is maddening. I’ve spent the entire day on this. It was working fine before. But in one of my swfMovie files, I have lost the ability to call an object’s function from the root timeline. But only in-game. It ap…

---

## [Possible to run script when actor is selected in the editor?](https://forums.unrealengine.com/t/possible-to-run-script-when-actor-is-selected-in-the-editor/134315)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [December 1, 2019, 10:26pm UTC](https://forums.unrealengine.com/t/possible-to-run-script-when-actor-is-selected-in-the-editor/134315 "2019-12-01T22:26:18Z")

</div>

I’d like to do something similar to when you select an AmbientSoundActor whereby it displays a sphere to represent audio radius when the user selects the actor (in the world) while in the editor? Does anyone know if thi…

---

## [Have any of you implemented Steam Input into a UE3 game?](https://forums.unrealengine.com/t/have-any-of-you-implemented-steam-input-into-a-ue3-game/134165)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 7:24am UTC](https://forums.unrealengine.com/t/have-any-of-you-implemented-steam-input-into-a-ue3-game/134165 "2019-12-01T07:24:19Z")

</div>

I’m having trouble with this. My game crashes when I try using Steam Input. Basically, your controller, your actions (such as “shoot” or “walk forward”), and action sets (control schemes that can change based on game sta…

---

## [Sliding physics on ice?](https://forums.unrealengine.com/t/sliding-physics-on-ice/134098)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [November 27, 2019, 10:49pm UTC](https://forums.unrealengine.com/t/sliding-physics-on-ice/134098 "2019-11-27T22:49:50Z")

</div>

I see several options in PhysicalMaterial regarding friction and sliding. I’d like to make ice “slidy” in my game. Has anyone managed to get this to work. No matter what properties I set on the physical material, my cha…

---

## [How can I get a list of packages, and iterate through all of the content in those packages?](https://forums.unrealengine.com/t/how-can-i-get-a-list-of-packages-and-iterate-through-all-of-the-content-in-those-packages/133350)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 7:09pm UTC](https://forums.unrealengine.com/t/how-can-i-get-a-list-of-packages-and-iterate-through-all-of-the-content-in-those-packages/133350 "2019-11-12T19:09:43Z")

</div>

I’m writing a localization system from scratch. For the simplest stuff I have a file, Localization.ini, that contains a bunch of translated strings that the game can look up. I use it for messages like “Critical Hit!” …

---

## [What exactly does Pawn.Location refer to?](https://forums.unrealengine.com/t/what-exactly-does-pawn-location-refer-to/133304)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 9:58pm UTC](https://forums.unrealengine.com/t/what-exactly-does-pawn-location-refer-to/133304 "2019-11-11T21:58:15Z")

</div>

Is it the bottom of the collision cylinder? Center of the collision cylinder? Bottom of the collision cylinder plus eye height?

[Previous page](https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=12)

[Next page](https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=14)
