# UDK Programming and UnrealScript

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

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

**Page:** 9

---

## [Landscape question digging?](https://forums.unrealengine.com/t/landscape-question-digging/212013)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f7db3d16](https://forums.unrealengine.com/u/anonymous_user_f7db3d16)\
**Replies:** 33\
**Last updated:** [April 17, 2021, 11:11pm UTC](https://forums.unrealengine.com/t/landscape-question-digging/212013 "2021-04-17T23:11:33Z")

</div>

Do any of you think it is possible to make the landscape be 3 feet thick so we can dig in to it? been thinking about trying some things but just wondering if it is even possible with out having to completely rewrite land…

---

## [How to set point lights to not cast dynamic shadows on pawns, but cast shadows for everything else?](https://forums.unrealengine.com/t/how-to-set-point-lights-to-not-cast-dynamic-shadows-on-pawns-but-cast-shadows-for-everything-else/224799)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [April 17, 2021, 10:57pm UTC](https://forums.unrealengine.com/t/how-to-set-point-lights-to-not-cast-dynamic-shadows-on-pawns-but-cast-shadows-for-everything-else/224799 "2021-04-17T22:57:02Z")

</div>

By setting a LightEnvironment object on each of my pawn skeletal mesh components has always allowed them to cast shadows from DominantDirectionalLights, but not from normal PointLights. I’ve never really known why this …

---

## [Prevent anim notifies if animation blend is below a certain value?](https://forums.unrealengine.com/t/prevent-anim-notifies-if-animation-blend-is-below-a-certain-value/213406)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 9:58pm UTC](https://forums.unrealengine.com/t/prevent-anim-notifies-if-animation-blend-is-below-a-certain-value/213406 "2021-04-14T21:58:16Z")

</div>

I’m playing sounds from my animations using anim notifies. When I’m blending between animations in the anim tree, they always trigger their anim noties, even if the blend weight is 0.001. Is there anyway to set a blend…

---

## ["Ran out of video memory"](https://forums.unrealengine.com/t/ran-out-of-video-memory/212930)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 6\
**Last updated:** [April 14, 2021, 9:26pm UTC](https://forums.unrealengine.com/t/ran-out-of-video-memory/212930 "2021-04-14T21:26:11Z")

</div>

I’ve had a few (rare) instances of players reporting the game freezing with a popup saying “Ran out of video memory! Exiting…” Does anyone know what might be causing this, or how to prevent it? I’m not sure if this e…

---

## [How to tell animation nodes what actor to pull their params from?](https://forums.unrealengine.com/t/how-to-tell-animation-nodes-what-actor-to-pull-their-params-from/213395)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 9:01pm UTC](https://forums.unrealengine.com/t/how-to-tell-animation-nodes-what-actor-to-pull-their-params-from/213395 "2021-04-14T21:01:52Z")

</div>

I want to add animations to my weapons based on the movement of the player’s pawn. However all the animation nodes seem to pull their values (velocity, etc) from the actor that they were instanced from. In the case of …

---

## [About the UDK Programming and UnrealScript category](https://forums.unrealengine.com/t/about-the-udk-programming-and-unrealscript-category/209925)

<div class="topic-metadata">

**Author:** [@system](https://forums.unrealengine.com/u/system)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 3:15pm UTC](https://forums.unrealengine.com/t/about-the-udk-programming-and-unrealscript-category/209925 "2021-03-25T15:15:00Z")

</div>

Here’s the Place to Discuss Gameplay Programming for UDK / UE3.

---

## [Mysterious config files... Won't save.](https://forums.unrealengine.com/t/mysterious-config-files-wont-save/210643)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 3\
**Last updated:** [March 24, 2021, 9:46pm UTC](https://forums.unrealengine.com/t/mysterious-config-files-wont-save/210643 "2021-03-24T21:46:16Z")

</div>

So I used to save arrays of structs in config files not anymore since it won’t anymore… Any idea why ? maybe a windows update or something ?

---

## [Don't hide component attached to hidden mesh bone?](https://forums.unrealengine.com/t/dont-hide-component-attached-to-hidden-mesh-bone/210815)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [March 24, 2021, 9:35pm UTC](https://forums.unrealengine.com/t/dont-hide-component-attached-to-hidden-mesh-bone/210815 "2021-03-24T21:35:51Z")

</div>

I want to attach a fire particle component to the player pawns mesh for when they are set on fire. I attach it like this: Mesh.AttachComponent(OnFireParticle, OnFireParticle\_AttachToBoneName); However when i first p…

---

## [What are the 4GB in Stat Memory?](https://forums.unrealengine.com/t/what-are-the-4gb-in-stat-memory/210806)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 8\
**Last updated:** [March 24, 2021, 7:46pm UTC](https://forums.unrealengine.com/t/what-are-the-4gb-in-stat-memory/210806 "2021-03-24T19:46:12Z")

</div>

When you type stat memory you get this window. I am not sure what those 4gb on the right represent.Ram or Gpu memory that the engine sets as a limit for your game level and you can not surpass it??

---

## [How to change startup map for built project UDK?](https://forums.unrealengine.com/t/how-to-change-startup-map-for-built-project-udk/210735)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [March 19, 2021, 4:34am UTC](https://forums.unrealengine.com/t/how-to-change-startup-map-for-built-project-udk/210735 "2021-03-19T04:34:03Z")

</div>

Packaged project startup map, how to change it ?

---

## [How was it to disable the log messages on left corner of screen of kismet?](https://forums.unrealengine.com/t/how-was-it-to-disable-the-log-messages-on-left-corner-of-screen-of-kismet/210732)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 9:11pm UTC](https://forums.unrealengine.com/t/how-was-it-to-disable-the-log-messages-on-left-corner-of-screen-of-kismet/210732 "2021-03-18T21:11:41Z")

</div>

How was it to disable the annoying messages of kismet?

---

## [Disable shader compilation on dedicated server?](https://forums.unrealengine.com/t/disable-shader-compilation-on-dedicated-server/210468)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [March 17, 2021, 9:02pm UTC](https://forums.unrealengine.com/t/disable-shader-compilation-on-dedicated-server/210468 "2021-03-17T21:02:25Z")

</div>

For my dedicated server build, I strip out a lot of the texture cache files (as the server doesn’t need these). However, whenever I run the server, it always tries to compile a few of the base materials. These ones to b…

---

## [Anyway to play music between one map being loaded and loading a new map?](https://forums.unrealengine.com/t/anyway-to-play-music-between-one-map-being-loaded-and-loading-a-new-map/210508)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [March 14, 2021, 7:16pm UTC](https://forums.unrealengine.com/t/anyway-to-play-music-between-one-map-being-loaded-and-loading-a-new-map/210508 "2021-03-14T19:16:46Z")

</div>

It would be nice to have some audio transitioning between maps without it cutting out.

---

## [Light vector material node?](https://forums.unrealengine.com/t/light-vector-material-node/158624)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [March 7, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/light-vector-material-node/158624 "2021-03-07T21:07:24Z")

</div>

I’m wondering if anyone knows where the value is taken from, or rather what the rules are for it? It seems that it is taken from the DominantDirectionalLight in the world. However I want to use a second DDL in my world,…

---

## [Help with function GetPhysicalFireStartLoc](https://forums.unrealengine.com/t/help-with-function-getphysicalfirestartloc/210097)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 8\
**Last updated:** [March 7, 2021, 6:46pm UTC](https://forums.unrealengine.com/t/help-with-function-getphysicalfirestartloc/210097 "2021-03-07T18:46:06Z")

</div>

Hello friends. There is a small bug on my game, I think it’s the most significant bug, and I think it can break the gameplay especially on closed maps. For the sake of getting a bit more of realism, I decided to make a…

---

## [Old UDK forum is currently down](https://forums.unrealengine.com/t/old-udk-forum-is-currently-down/158616)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [March 6, 2021, 8:44pm UTC](https://forums.unrealengine.com/t/old-udk-forum-is-currently-down/158616 "2021-03-06T20:44:28Z")

</div>

If you want to help Epic take notice of this resource being down, please help bump this post I made on the feedback sub-forum: @Epic: UDK forums down (please help) - Feedback for Unreal Engine team - Unreal Engine Forums …

---

## [Any way add custom collision for a pawn?](https://forums.unrealengine.com/t/any-way-add-custom-collision-for-a-pawn/210163)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [March 6, 2021, 12:43pm UTC](https://forums.unrealengine.com/t/any-way-add-custom-collision-for-a-pawn/210163 "2021-03-06T12:43:37Z")

</div>

I’d love to allow the player to be able to dynamically tunnel through the landscape. I can easily create the hole visually using a masks in the landscape material. However I have never been able to dynamically disable c…

---

## [WorldInfo ever destroyed?](https://forums.unrealengine.com/t/worldinfo-ever-destroyed/158559)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 8:20pm UTC](https://forums.unrealengine.com/t/worldinfo-ever-destroyed/158559 "2021-02-28T20:20:27Z")

</div>

I’m curious about the “mysterious” WorldInfo class. Whenever you log it’s instance name, it will always show as WorldInfo\_0, implying that only one is ever spawned during running the game (even after changing maps). How…

---

## [Possible to set Actor param during Spawn that would be available during PostBeginPlay()?](https://forums.unrealengine.com/t/possible-to-set-actor-param-during-spawn-that-would-be-available-during-postbeginplay/158115)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 6:43pm UTC](https://forums.unrealengine.com/t/possible-to-set-actor-param-during-spawn-that-would-be-available-during-postbeginplay/158115 "2021-02-22T18:43:34Z")

</div>

I know I can set SpawnTag: native noexport final function coerce actor Spawn ( class\<actor\> SpawnClass, optional actor SpawnOwner, optional name SpawnTag, optional vector SpawnLocation, optional rotator SpawnRotation,…

---

## [Lots of headaches trying to draw a ScriptedTexture onto the HUD](https://forums.unrealengine.com/t/lots-of-headaches-trying-to-draw-a-scriptedtexture-onto-the-hud/157498)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [February 7, 2021, 9:33pm UTC](https://forums.unrealengine.com/t/lots-of-headaches-trying-to-draw-a-scriptedtexture-onto-the-hud/157498 "2021-02-07T21:33:43Z")

</div>

I’m trying to replace some of my simple Flash UI elements with ScriptedTextures that I draw directly to the HUD. It’s not going well. I’m wondering if any of you have experience with this and can tell me what I need to…

---

## [Can you give me correct usage of ActionScript restrict to prevent use of illegal characters?](https://forums.unrealengine.com/t/can-you-give-me-correct-usage-of-actionscript-restrict-to-prevent-use-of-illegal-characters/157377)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [February 7, 2021, 8:37pm UTC](https://forums.unrealengine.com/t/can-you-give-me-correct-usage-of-actionscript-restrict-to-prevent-use-of-illegal-characters/157377 "2021-02-07T20:37:23Z")

</div>

I’m trying to use TextField - Adobe ActionScript® 3 (AS3 ) API Reference to block input of illegal characters, but I can’t get it to work. I’m trying both of these: textInput.restrict = "^\\""; and also textInpu…

---

## [Any advice for editing a saved game file created using the Save Game States gem?](https://forums.unrealengine.com/t/any-advice-for-editing-a-saved-game-file-created-using-the-save-game-states-gem/157376)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 3:47pm UTC](https://forums.unrealengine.com/t/any-advice-for-editing-a-saved-game-file-created-using-the-save-game-states-gem/157376 "2021-02-05T15:47:03Z")

</div>

My save game system is based on this: UDK | DevelopmentKitGemsSaveGameStates One of my players has a corrupt saved game file because I didn’t scrub quotation marks out of saved strings. I found the offending parts of …

---

## [How to set Apex Asset via Unrealscript?](https://forums.unrealengine.com/t/how-to-set-apex-asset-via-unrealscript/157055)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [January 30, 2021, 12:51pm UTC](https://forums.unrealengine.com/t/how-to-set-apex-asset-via-unrealscript/157055 "2021-01-30T12:51:16Z")

</div>

I’m having a lot of success extending ApexDestructibleActorSpawnable to spawn destruction effects for my various base building pieces. I spawn these when the building item is destroyed. However, there is no SetApexAsse…

---

## [Apex PhysX Destruction, but without using fracture?](https://forums.unrealengine.com/t/apex-physx-destruction-but-without-using-fracture/157002)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 10:38pm UTC](https://forums.unrealengine.com/t/apex-physx-destruction-but-without-using-fracture/157002 "2021-01-27T22:38:48Z")

</div>

I would like to create an Apex destructable, but be able to define the individual meshes for the chunks. For example: I have a mesh for a wooden wall, which is made up of 12 planks. I want the planks to be the chunks. I…

---

## [Seamlessly switch socket attachment during animation?](https://forums.unrealengine.com/t/seamlessly-switch-socket-attachment-during-animation/156365)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 9:11pm UTC](https://forums.unrealengine.com/t/seamlessly-switch-socket-attachment-during-animation/156365 "2021-01-16T21:11:08Z")

</div>

I’m adding a new first person weapon, and I want to be able to switch the attached weapon from the left hand to the right mid-animation. I need to calculate what the meshes new rotation and translation will be, based on…

---

## [Creating the lightest type of Actor possible?](https://forums.unrealengine.com/t/creating-the-lightest-type-of-actor-possible/155842)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 6\
**Last updated:** [January 9, 2021, 4:27pm UTC](https://forums.unrealengine.com/t/creating-the-lightest-type-of-actor-possible/155842 "2021-01-09T16:27:45Z")

</div>

I want to throw out a lot of slow-moving projectiles in my game, which are basically just single particles with a bare minimum of functionality. Unfortunately you can’t really “show” anything in the game at a certain lo…

---

## [Destructible Static meshes UDK tutorial video, Fracture tool.](https://forums.unrealengine.com/t/destructible-static-meshes-udk-tutorial-video-fracture-tool/154492)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 8\
**Last updated:** [December 8, 2020, 5:27pm UTC](https://forums.unrealengine.com/t/destructible-static-meshes-udk-tutorial-video-fracture-tool/154492 "2020-12-08T17:27:59Z")

</div>

How to use Destructible Static/Skeletal meshes UDK ? I want my kActors to do cool stuff : D

---

## [Unreal X-Editor](https://forums.unrealengine.com/t/unreal-x-editor/154453)

<div class="topic-metadata">

**Author:** [@Archoneater](https://forums.unrealengine.com/u/Archoneater)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 4:40pm UTC](https://forums.unrealengine.com/t/unreal-x-editor/154453 "2020-12-02T16:40:42Z")

</div>

Description: \*Unreal Script Wizard is a free program made to make Unreal Scripting easier with the help of a wizard. At the moment it only supports basic weapon creation. I developed it with beginners in mind, who want…

---

## [Screenspace reflections?](https://forums.unrealengine.com/t/screenspace-reflections/128167)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 8\
**Last updated:** [December 2, 2020, 10:29am UTC](https://forums.unrealengine.com/t/screenspace-reflections/128167 "2020-12-02T10:29:17Z")

</div>

I’d like to add some screenspace reflections to my water materials. It’s my understanding that screenspace reflections are cheap as they are only using what is already rendered on screen. I’m after something like this: …

---

## [\[HELP\] UDK Suddenly is running my game in Slo Motion](https://forums.unrealengine.com/t/help-udk-suddenly-is-running-my-game-in-slo-motion/154326)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 5\
**Last updated:** [December 2, 2020, 2:40am UTC](https://forums.unrealengine.com/t/help-udk-suddenly-is-running-my-game-in-slo-motion/154326 "2020-12-02T02:40:18Z")

</div>

Hello friends. Something simply crazy happenned with me today! I was editting some maps on the editor, normaly, then whenever I did run my game, it is running in slo motion (GameSpeed). It hapenned suddenly today. Any …

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

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