# UDK Programming and UnrealScript

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

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

**Page:** 21

---

## [WindDirectionalSource doesn't affect speedtrees?](https://forums.unrealengine.com/t/winddirectionalsource-doesnt-affect-speedtrees/113340)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [July 9, 2018, 10:08pm UTC](https://forums.unrealengine.com/t/winddirectionalsource-doesnt-affect-speedtrees/113340 "2018-07-09T22:08:25Z")

</div>

Just noticed that when i change the params in my WindDirectionalSource it doesn’t affect my speedtrees (affects all my other foliage that use it in the material). Any ideas how I can hook it up? Speedtrees are a bit of …

---

## [OnlineSubsystems client failed to join reason?](https://forums.unrealengine.com/t/onlinesubsystems-client-failed-to-join-reason/113023)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [July 9, 2018, 1:49am UTC](https://forums.unrealengine.com/t/onlinesubsystems-client-failed-to-join-reason/113023 "2018-07-09T01:49:29Z")

</div>

Currently I don’t report to joining clients the reason why they were refused connection (for instance if they have passed the wrong password or the game is full). The reason logs to the clients log file, but I’m unsure …

---

## [Help with Camera Rig Script](https://forums.unrealengine.com/t/help-with-camera-rig-script/113088)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 6\
**Last updated:** [July 8, 2018, 1:12am UTC](https://forums.unrealengine.com/t/help-with-camera-rig-script/113088 "2018-07-08T01:12:00Z")

</div>

Hello guys, I am trying to implement this code on my project to have some cool camera animations in game (like Gears of War Executions): https://forums.epicgames.com/udk/udk…tic-animations However, I am having problems…

---

## [Custom class for foliage](https://forums.unrealengine.com/t/custom-class-for-foliage/109778)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [July 7, 2018, 3:03am UTC](https://forums.unrealengine.com/t/custom-class-for-foliage/109778 "2018-07-07T03:03:04Z")

</div>

I’d like to add collision to some of my foliage meshes, such that I can handle touch/untouch events for them. Does anyone know how this can be done? On a side note, it seems the foliage collision settings only handle b…

---

## [How can I just disable all telefragging on all pawns all the time?](https://forums.unrealengine.com/t/how-can-i-just-disable-all-telefragging-on-all-pawns-all-the-time/110538)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 6\
**Last updated:** [July 6, 2018, 5:25pm UTC](https://forums.unrealengine.com/t/how-can-i-just-disable-all-telefragging-on-all-pawns-all-the-time/110538 "2018-07-06T17:25:48Z")

</div>

I am constantly finding new reasons why my pawns are getting telefragged (or somehow getting destroyed, and I’m pretty sure it’s telefragging) and I am constantly finding new ways to work around it. It’s driving me insa…

---

## [Attaching an actor to another actor has never worked for me.](https://forums.unrealengine.com/t/attaching-an-actor-to-another-actor-has-never-worked-for-me/113123)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [July 6, 2018, 4:54pm UTC](https://forums.unrealengine.com/t/attaching-an-actor-to-another-actor-has-never-worked-for-me/113123 "2018-07-06T16:54:29Z")

</div>

Many times i’ve attempted to attach an Actor to another using SertBase(), however this has never worked for me, and i always end up setting location in it’s tick function to achieve what i’m after. Is there some propert…

---

## [Blend between two matinees?](https://forums.unrealengine.com/t/blend-between-two-matinees/112860)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [July 4, 2018, 3:43pm UTC](https://forums.unrealengine.com/t/blend-between-two-matinees/112860 "2018-07-04T15:43:37Z")

</div>

I’m using matinee to control my day/night cycle. I’d like to create separate matinees for day/night cycles of different weather types (so a cloudy/rainy day). Does anyone know if this is possible?

---

## [Help with Stealth Kill Script](https://forums.unrealengine.com/t/help-with-stealth-kill-script/112365)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 16\
**Last updated:** [July 2, 2018, 1:26pm UTC](https://forums.unrealengine.com/t/help-with-stealth-kill-script/112365 "2018-07-02T13:26:38Z")

</div>

Hello guys I am trying to polish my “Stealth Kill” script, which I used here: It basically plays the kill and death animation synchronized on the player (kill anim) and on the enemy (death anim), then it …

---

## [Possible to extend AccessControl.uc?](https://forums.unrealengine.com/t/possible-to-extend-accesscontrol-uc/112980)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [July 1, 2018, 9:56pm UTC](https://forums.unrealengine.com/t/possible-to-extend-accesscontrol-uc/112980 "2018-07-01T21:56:11Z")

</div>

I’d like to add some basic admin exec functions. Seems they would be best suited to live in AccessControl.us, however i’m unsure of how I can extend this class. Any ideas? Thanks in advance.

---

## [How do I play a camera shake in UnrealScript?](https://forums.unrealengine.com/t/how-do-i-play-a-camera-shake-in-unrealscript/112819)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 3:53pm UTC](https://forums.unrealengine.com/t/how-do-i-play-a-camera-shake-in-unrealscript/112819 "2018-06-28T15:53:04Z")

</div>

This is the code in my PlayerController class: exec function CriticalCameraShake() { PlayerCamera.PlayCameraShake(CriticalShake, 1.0); SetTimer(0.5, false, 'StopCriticalShake'); } function StopCriticalShake()…

---

## [need some help on the unrealscript](https://forums.unrealengine.com/t/need-some-help-on-the-unrealscript/112416)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_981aae27](https://forums.unrealengine.com/u/anonymous_user_981aae27)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 12:20am UTC](https://forums.unrealengine.com/t/need-some-help-on-the-unrealscript/112416 "2018-06-25T00:20:08Z")

</div>

sup everyone ! :)))) okay ,i have some troubles with reading unrealscript …i can read the code and stuff ,but i get confused with files and stuff ,currently i’m learning C++ and idk if i’m in the path(and the right sub-…

---

## [Ragdoll physics in water volume](https://forums.unrealengine.com/t/ragdoll-physics-in-water-volume/111232)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [May 28, 2018, 7:52pm UTC](https://forums.unrealengine.com/t/ragdoll-physics-in-water-volume/111232 "2018-05-28T19:52:32Z")

</div>

In my game when enemies die, I call InitRagdol(), which changed the physics mode to PHYS\_RigidBody. When the are in a water volume, initially it looks cool and they sink to the bottom. However they then continue to spin…

---

## [Slow pawn based on steep ground gradient](https://forums.unrealengine.com/t/slow-pawn-based-on-steep-ground-gradient/111284)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [May 24, 2018, 9:15pm UTC](https://forums.unrealengine.com/t/slow-pawn-based-on-steep-ground-gradient/111284 "2018-05-24T21:15:18Z")

</div>

Wondering if there is anything native in the code to handle slowing down the pawn’s movement speed when climbing a steep gradient?

---

## ["Ran out of virtual memory." While cooking map](https://forums.unrealengine.com/t/ran-out-of-virtual-memory-while-cooking-map/110983)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 10\
**Last updated:** [May 23, 2018, 11:19am UTC](https://forums.unrealengine.com/t/ran-out-of-virtual-memory-while-cooking-map/110983 "2018-05-23T11:19:31Z")

</div>

I’ve recently expanded my map and it now fails to cook. I’m getting the following error in my logs: \[0194.90\] Critical: appError called: Ran out of virtual memory. To prevent this condition, you must free up more spac…

---

## [Attach skeletal mesh with ragdoll physics to weapon](https://forums.unrealengine.com/t/attach-skeletal-mesh-with-ragdoll-physics-to-weapon/104506)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [May 23, 2018, 8:19am UTC](https://forums.unrealengine.com/t/attach-skeletal-mesh-with-ragdoll-physics-to-weapon/104506 "2018-05-23T08:19:59Z")

</div>

I’m trying to attach a skeletal mesh (fishing line) to my weapon (a fishing rod). I’ve created a physics asset for it and attached it as a SkeletalMeshComponent to a socket on my rod. Here’s my code for my fishing rod f…

---

## [Detect collision with floor when using PHYS\_none](https://forums.unrealengine.com/t/detect-collision-with-floor-when-using-phys_none/111191)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 11:40pm UTC](https://forums.unrealengine.com/t/detect-collision-with-floor-when-using-phys_none/111191 "2018-05-22T23:40:11Z")

</div>

I’m working on flying vehicles that are using PHYS\_none to have more control, I use hitwall, touch and bump events to detect collisons and they are working perfect, but if the vehicle collides with the floor (vertically)…

---

## [Texture sampler limit](https://forums.unrealengine.com/t/texture-sampler-limit/109725)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [May 7, 2018, 9:18am UTC](https://forums.unrealengine.com/t/texture-sampler-limit/109725 "2018-05-07T09:18:06Z")

</div>

I’m wondering if there’s anyway to increase the amount of texture samples for a landscape material. I have a pretty huge landscape and find that the limit of 12 is… limiting. I’m aware I can use texture alpha channels t…

---

## [Leaving level, then re-entering quickly causes level to unload while player still in it](https://forums.unrealengine.com/t/leaving-level-then-re-entering-quickly-causes-level-to-unload-while-player-still-in-it/110282)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [May 1, 2018, 9:28am UTC](https://forums.unrealengine.com/t/leaving-level-then-re-entering-quickly-causes-level-to-unload-while-player-still-in-it/110282 "2018-05-01T09:28:14Z")

</div>

Have any of you ever had this problem? How did you deal with it? My Kismet logic looks like this: Event to leave level Set boolean OK\_to\_LoadLevel = false Teleport pawn to new level Unload old level Garbage collec…

---

## [TcpLinkClient port 443 instead of 80, not working?](https://forums.unrealengine.com/t/tcplinkclient-port-443-instead-of-80-not-working/109925)

<div class="topic-metadata">

**Author:** [@9454](https://forums.unrealengine.com/u/9454)\
**Replies:** 5\
**Last updated:** [April 25, 2018, 9:49am UTC](https://forums.unrealengine.com/t/tcplinkclient-port-443-instead-of-80-not-working/109925 "2018-04-25T09:49:04Z")

</div>

Hi, Could you please tell me why the code below does not work (the requested web content does not return) if the port is changed to 443 - for https connection? (please see the last line: TargetPort=80). (code downloade…

---

## [Disable DOF for certain objects?](https://forums.unrealengine.com/t/disable-dof-for-certain-objects/109681)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [April 20, 2018, 7:03pm UTC](https://forums.unrealengine.com/t/disable-dof-for-certain-objects/109681 "2018-04-20T19:03:39Z")

</div>

I use distance-based DOF just to soften the image for far away objects, However I’d like to disable it only for my skybox. Does anyone know if this is possible in UDK?

---

## [Landscape visibility tool breaks physical material detection for traces](https://forums.unrealengine.com/t/landscape-visibility-tool-breaks-physical-material-detection-for-traces/109289)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [April 11, 2018, 10:09am UTC](https://forums.unrealengine.com/t/landscape-visibility-tool-breaks-physical-material-detection-for-traces/109289 "2018-04-11T10:09:23Z")

</div>

I’m using the landscape visibility tool to cut a hole in the landscape (to create caves etc). It works great, however… Once you cut a hole, the rest of that landscape component then …

---

## [How to avoid big lag spike when alt-tabbing out/in of engine](https://forums.unrealengine.com/t/how-to-avoid-big-lag-spike-when-alt-tabbing-out-in-of-engine/109058)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [April 5, 2018, 9:43pm UTC](https://forums.unrealengine.com/t/how-to-avoid-big-lag-spike-when-alt-tabbing-out-in-of-engine/109058 "2018-04-05T21:43:58Z")

</div>

It is quite jarring how impactful on fps it is to alt-tab out and in of the game. As a follow-up question, anyone know how to trigger borderless window from unrealscript (which may avoid this issue altogether)?

---

## [Do repnotify vars (that aren't updated) still replicate?](https://forums.unrealengine.com/t/do-repnotify-vars-that-arent-updated-still-replicate/108996)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [April 4, 2018, 10:10pm UTC](https://forums.unrealengine.com/t/do-repnotify-vars-that-arent-updated-still-replicate/108996 "2018-04-04T22:10:06Z")

</div>

I’m just curious if there is any network overhead to repnotify vars in a class that don’t get any value set beyond their default. Cheers

---

## [UDK replication now messy?](https://forums.unrealengine.com/t/udk-replication-now-messy/109044)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [April 4, 2018, 10:08pm UTC](https://forums.unrealengine.com/t/udk-replication-now-messy/109044 "2018-04-04T22:08:05Z")

</div>

So whenever a repnotify variable gets replicated it takes a lot of time to do so, it’s happening both in ue4 and udk perhaps micfrosoft changed the libraries for the replication? also the ports are now blocked you can’t …

---

## [Set actor mesh to collide with projectiles but not block pawns](https://forums.unrealengine.com/t/set-actor-mesh-to-collide-with-projectiles-but-not-block-pawns/109005)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [April 4, 2018, 10:04pm UTC](https://forums.unrealengine.com/t/set-actor-mesh-to-collide-with-projectiles-but-not-block-pawns/109005 "2018-04-04T22:04:47Z")

</div>

I’m having trouble with this. If i set bBlockActors to false, it will no longer collide with projectiles. Anyone know what i’m missing here? Cheers

---

## [Ladder volume glitchy if hit collision while climbing..?](https://forums.unrealengine.com/t/ladder-volume-glitchy-if-hit-collision-while-climbing/108900)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 12:59am UTC](https://forums.unrealengine.com/t/ladder-volume-glitchy-if-hit-collision-while-climbing/108900 "2018-04-02T00:59:11Z")

</div>

I’ve recently implemented climbable ladders in my game (using LaddVolume). They work great, except if i hit geometry while climbing up the ladder. It seems to instantly push the pawn back down (sometimes enough that it k…

---

## [Fluid Surface Actors sleep unless extremely close to player](https://forums.unrealengine.com/t/fluid-surface-actors-sleep-unless-extremely-close-to-player/108716)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 4\
**Last updated:** [April 1, 2018, 4:53pm UTC](https://forums.unrealengine.com/t/fluid-surface-actors-sleep-unless-extremely-close-to-player/108716 "2018-04-01T16:53:14Z")

</div>

I’m making a game where you look at a big part of the world through a screen capture, and naturally there are a lot of issues where LOD/etc will activate and mess things up for what you see through the capture because th…

---

## [AI to react to projectiles flying past them?](https://forums.unrealengine.com/t/ai-to-react-to-projectiles-flying-past-them/108590)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [March 29, 2018, 10:25pm UTC](https://forums.unrealengine.com/t/ai-to-react-to-projectiles-flying-past-them/108590 "2018-03-29T22:25:45Z")

</div>

Currently my AI will react to projectiles “exploding” next to them, and also to seeing a player, hearing footsteps etc. However I still am not accounting for projectiles that fly past them. This leads to some odd gamepl…

---

## [UDK Documentation?](https://forums.unrealengine.com/t/udk-documentation/108515)

<div class="topic-metadata">

**Author:** [@tjd3](https://forums.unrealengine.com/u/tjd3)\
**Replies:** 4\
**Last updated:** [March 29, 2018, 12:59pm UTC](https://forums.unrealengine.com/t/udk-documentation/108515 "2018-03-29T12:59:29Z")

</div>

Hello, i am using UDK Ultimate to create game for my RGH xbox 360, but the official UDK documentation is down. Is anywhere backup?

---

## [class'Engine'.static.BasicSaveObject() called asynchronously?](https://forums.unrealengine.com/t/classengine-static-basicsaveobject-called-asynchronously/108395)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 12:21pm UTC](https://forums.unrealengine.com/t/classengine-static-basicsaveobject-called-asynchronously/108395 "2018-03-23T12:21:58Z")

</div>

I’m currently using the save-game gem as reference for my save game system: https://api.unrealengine.com/udk/Thr…ameStates.html I’ve recently noticed that some players with slow machines encounter a small lag spike when…

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

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