# UDK Programming and UnrealScript

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

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

**Page:** 18

---

## [My new MP inventory system](https://forums.unrealengine.com/t/my-new-mp-inventory-system/123037)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [March 12, 2019, 5:07pm UTC](https://forums.unrealengine.com/t/my-new-mp-inventory-system/123037 "2019-03-12T17:07:58Z")

</div>

So how you guys make your inventory system for the items and such? i used to make a item be a KActorSpawnable class thing , and it would have physics and handle all the logics of the weapon there, but now i discovered a …

---

## [Multicast delegates](https://forums.unrealengine.com/t/multicast-delegates/122972)

<div class="topic-metadata">

**Author:** [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Replies:** 2\
**Last updated:** [March 1, 2019, 10:48pm UTC](https://forums.unrealengine.com/t/multicast-delegates/122972 "2019-03-01T22:48:44Z")

</div>

When my camera actor gets inside water volume, it should notify several actors (weather effects manager, wind directional source, post process manager etc). Currently, I can reference only one of them. Is there any way t…

---

## [Cooking/Packaging with 64-bit](https://forums.unrealengine.com/t/cooking-packaging-with-64-bit/81427)

<div class="topic-metadata">

**Author:** [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Replies:** 16\
**Last updated:** [February 27, 2019, 12:52pm UTC](https://forums.unrealengine.com/t/cooking-packaging-with-64-bit/81427 "2019-02-27T12:52:06Z")

</div>

Hey peoples, All this time I accepted the fact that UDK is 32-bit only but I’m working on optimization at the moment and I noticed that I can get a significant performance boost just by using the 64-bit exe (4-10 FPS de…

---

## [Terrible lighting seams when creating modular 3d assets](https://forums.unrealengine.com/t/terrible-lighting-seams-when-creating-modular-3d-assets/122718)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 9\
**Last updated:** [February 25, 2019, 3:56pm UTC](https://forums.unrealengine.com/t/terrible-lighting-seams-when-creating-modular-3d-assets/122718 "2019-02-25T15:56:00Z")

</div>

Does anyone have experience with this bug? I’ve found some info on fixing it but it’s very vague and basically hinges on redoing most of the asset in the hope that everything will be fixed, which is not exactly what I wa…

---

## [Quality switch](https://forums.unrealengine.com/t/quality-switch/122711)

<div class="topic-metadata">

**Author:** [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Replies:** 3\
**Last updated:** [February 22, 2019, 9:25pm UTC](https://forums.unrealengine.com/t/quality-switch/122711 "2019-02-22T21:25:04Z")

</div>

Material editor has a node named “Quality Switch” under utility category. Can anyone explain how does it works? Is there a function or a setting that switches it?

---

## [What's the best way to spawn an actor using an archetype from a parent class?](https://forums.unrealengine.com/t/whats-the-best-way-to-spawn-an-actor-using-an-archetype-from-a-parent-class/122707)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [February 22, 2019, 5:43am UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-spawn-an-actor-using-an-archetype-from-a-parent-class/122707 "2019-02-22T05:43:41Z")

</div>

If you try to spawn an actor using an archetype from a parent class, you get this error: Do you know of any way to force the actor to spawn if the template class is a parent of the spawn class? The situation is moddin…

---

## [Chinese characters in Scaleform](https://forums.unrealengine.com/t/chinese-characters-in-scaleform/122418)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [February 19, 2019, 2:57pm UTC](https://forums.unrealengine.com/t/chinese-characters-in-scaleform/122418 "2019-02-19T14:57:07Z")

</div>

Whenever I try to update a Textfield.text with chinese characters, the characters show as squares (indicating the movie can’t find the glyphs). This is when I have font Arial with all glyphs embedded for the textfield. …

---

## [Toggling v-sync in game requires a game restart](https://forums.unrealengine.com/t/toggling-v-sync-in-game-requires-a-game-restart/122367)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [February 17, 2019, 10:03am UTC](https://forums.unrealengine.com/t/toggling-v-sync-in-game-requires-a-game-restart/122367 "2019-02-17T10:03:28Z")

</div>

Anyone know how to force the update without having to restart the game?

---

## [Camera location updating?](https://forums.unrealengine.com/t/camera-location-updating/122141)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [February 8, 2019, 12:11pm UTC](https://forums.unrealengine.com/t/camera-location-updating/122141 "2019-02-08T12:11:45Z")

</div>

My player camera currently doesn’t appear to actually move. It seems to work fine as it’s still updating to POV. However I just tried using PlayWorldCameraShake() in Camera.uc. This calls CalcRadialShakeScale() which ch…

---

## [Repnotify for static arrays?](https://forums.unrealengine.com/t/repnotify-for-static-arrays/122104)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [February 7, 2019, 8:24pm UTC](https://forums.unrealengine.com/t/repnotify-for-static-arrays/122104 "2019-02-07T20:24:20Z")

</div>

The array replicates fine, but when flagged with “repnotify” doesn’t appear to be triggering ReplicatedEvent() when I update on of its elements. There are a bunch of hacky workarounds I could do but was wondering if any…

---

## [Is there a standard solution for not letting the player fall of cliffs?](https://forums.unrealengine.com/t/is-there-a-standard-solution-for-not-letting-the-player-fall-of-cliffs/122023)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 6\
**Last updated:** [February 7, 2019, 7:57pm UTC](https://forums.unrealengine.com/t/is-there-a-standard-solution-for-not-letting-the-player-fall-of-cliffs/122023 "2019-02-07T19:57:30Z")

</div>

I found Pawn.bCanWalkOffLedges and some other variables. But I’m not sure how they work. I have my own system that doesn’t work very well. It traces in front of you and checks to see if there’s ground under your feet …

---

## [Any idea why this is blurry?](https://forums.unrealengine.com/t/any-idea-why-this-is-blurry/121931)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 5\
**Last updated:** [February 5, 2019, 2:54pm UTC](https://forums.unrealengine.com/t/any-idea-why-this-is-blurry/121931 "2019-02-05T14:54:13Z")

</div>

I can’t figure out what is going wrong here. When I play the game, it looks like the camera is shifting quickly, but I’m printing the ViewTarget.POV.Location, rotation, and FOV, and …

---

## [DLL bind to new version of Steamworks sdk](https://forums.unrealengine.com/t/dll-bind-to-new-version-of-steamworks-sdk/121998)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [February 5, 2019, 9:52am UTC](https://forums.unrealengine.com/t/dll-bind-to-new-version-of-steamworks-sdk/121998 "2019-02-05T09:52:57Z")

</div>

UDK natively uses an old version of steam\_api.dll. I’m building my own dll’s in c++ to use a newer version of the steam\_api.dll. However the steam\_api.lib tries to link to the file named “steam\_api.dll” in the root fol…

---

## [Do you guys have screen tearing?](https://forums.unrealengine.com/t/do-you-guys-have-screen-tearing/121789)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 6\
**Last updated:** [February 3, 2019, 11:37pm UTC](https://forums.unrealengine.com/t/do-you-guys-have-screen-tearing/121789 "2019-02-03T23:37:42Z")

</div>

I recently changed my old 6 years old 24inch 1920x1200 monitor with more modern 2017 and 2018 models.Two 27 4k 60hz ones and one 2560x1080 75hz.For some reason i still notice what is called screen tearing? A horizontal w…

---

## [Any way to control draw order on the canvas?](https://forums.unrealengine.com/t/any-way-to-control-draw-order-on-the-canvas/121881)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [February 2, 2019, 1:27pm UTC](https://forums.unrealengine.com/t/any-way-to-control-draw-order-on-the-canvas/121881 "2019-02-02T13:27:32Z")

</div>

There are a bunch of things I draw on the canvas in UnrealScript. Is there any way to control what gets drawn on top?

---

## [Is there any place I can automatically increment a version number every time I build scripts?](https://forums.unrealengine.com/t/is-there-any-place-i-can-automatically-increment-a-version-number-every-time-i-build-scripts/121878)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [February 2, 2019, 10:59am UTC](https://forums.unrealengine.com/t/is-there-any-place-i-can-automatically-increment-a-version-number-every-time-i-build-scripts/121878 "2019-02-02T10:59:19Z")

</div>

I would get the version number from a text file and show it on the start menu screen somewhere. That would help me make sure players are using the latest version.

---

## [Slowdown for listen host when clients are in game](https://forums.unrealengine.com/t/slowdown-for-listen-host-when-clients-are-in-game/120143)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 18\
**Last updated:** [January 31, 2019, 9:51am UTC](https://forums.unrealengine.com/t/slowdown-for-listen-host-when-clients-are-in-game/120143 "2019-01-31T09:51:26Z")

</div>

I’ve noticed that when hosting a listen server, the host’s fps will drop by around 10-15 for each client that joins the game (even if the clients are not controlling a pawn and just spectating). Does anyone know what’s …

---

## [Disable sight for AI pawns?](https://forums.unrealengine.com/t/disable-sight-for-ai-pawns/121768)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 7:54pm UTC](https://forums.unrealengine.com/t/disable-sight-for-ai-pawns/121768 "2019-01-30T19:54:44Z")

</div>

There doesn’t appear to be a way to do this. You can set SightRadius=0 in the pawn, but this doesn’t appear to prevent the pawn’s overhead (so i’m guess this doesn’t prevent the line checks). Disabling the pawn’s tick d…

---

## [Picking items like in skyrim](https://forums.unrealengine.com/t/picking-items-like-in-skyrim/121633)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 11:08am UTC](https://forums.unrealengine.com/t/picking-items-like-in-skyrim/121633 "2019-01-27T11:08:20Z")

</div>

Is it possible to add a component that you can pick items with phyisics like in skyrim? how was to add a component wich is a physics handler? I saw a way to instance one as a component time ago but I’ve lost the link. h…

---

## [Prevent ragdoll spinning in water volume](https://forums.unrealengine.com/t/prevent-ragdoll-spinning-in-water-volume/121265)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 8:07am UTC](https://forums.unrealengine.com/t/prevent-ragdoll-spinning-in-water-volume/121265 "2019-01-27T08:07:31Z")

</div>

My pawns will endlessly spin when i switch them to rigid body while in water volumes. Anyone know how to apply damping to this spinning?

---

## [Convert UniqueNetId hex values in Unrealscript](https://forums.unrealengine.com/t/convert-uniquenetid-hex-values-in-unrealscript/121556)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [January 26, 2019, 1:46am UTC](https://forums.unrealengine.com/t/convert-uniquenetid-hex-values-in-unrealscript/121556 "2019-01-26T01:46:15Z")

</div>

I’m currently working with Steam sockets to expand on the networking support for my game. When I retrieve the unique id of the current server, i get it back as a UniqueNetId type. When I convert this value to a string …

---

## [Can't use ConsoleCommand() from PostBeginPlay() of GameInfo](https://forums.unrealengine.com/t/cant-use-consolecommand-from-postbeginplay-of-gameinfo/121015)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [January 18, 2019, 1:23am UTC](https://forums.unrealengine.com/t/cant-use-consolecommand-from-postbeginplay-of-gameinfo/121015 "2019-01-18T01:23:09Z")

</div>

On running my game for the first time, I’d like the initialize the resolution of the game to match the native res of the player’s display (i use ConsoleCommand(“setres 1920x1080”)). I’ve tried added this call to the Pos…

---

## [Access MapInfo of streamed levels?](https://forums.unrealengine.com/t/access-mapinfo-of-streamed-levels/121066)

<div class="topic-metadata">

**Author:** [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Replies:** 4\
**Last updated:** [January 15, 2019, 8:11pm UTC](https://forums.unrealengine.com/t/access-mapinfo-of-streamed-levels/121066 "2019-01-15T20:11:06Z")

</div>

Hello there! I’m making a season selector that is based on material swapping. It takes a list of actors from MapInfo and sets materials, corresponding to the given season. It works perfectly until it comes to level str…

---

## [StaticMeshComponent.SetMaterial crashes the game now, but only on some computers](https://forums.unrealengine.com/t/staticmeshcomponent-setmaterial-crashes-the-game-now-but-only-on-some-computers/121049)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 8\
**Last updated:** [January 15, 2019, 6:15pm UTC](https://forums.unrealengine.com/t/staticmeshcomponent-setmaterial-crashes-the-game-now-but-only-on-some-computers/121049 "2019-01-15T18:15:46Z")

</div>

Are any of you using StaticMeshComponent.SetMaterial()? I use it to turn static meshes translucent when your character steps behind them. This is a bug that has been very difficult for me to troubleshoot. If any of yo…

---

## [Fur shader in UDK?](https://forums.unrealengine.com/t/fur-shader-in-udk/119401)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [January 14, 2019, 10:20am UTC](https://forums.unrealengine.com/t/fur-shader-in-udk/119401 "2019-01-14T10:20:44Z")

</div>

Anyone know how to do a convincing fur shader in UDK (for animals)? Currently I’m just using planes on my meshes with alpha materials. Just wondering if anyone had pulled off something decent in a material.

---

## [Any idea with Scene Captures turn green after you change resolution/video settings?](https://forums.unrealengine.com/t/any-idea-with-scene-captures-turn-green-after-you-change-resolution-video-settings/120580)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 20\
**Last updated:** [January 10, 2019, 8:28pm UTC](https://forums.unrealengine.com/t/any-idea-with-scene-captures-turn-green-after-you-change-resolution-video-settings/120580 "2019-01-10T20:28:24Z")

</div>

They both turn green and stay green (no longer recording from the environment) which is kind of a problem if you want to have video settings accessible while playing. Maybe there’s a way to reset them or something? Anyo…

---

## [Possible to launch a dedicated server instance while playing game?](https://forums.unrealengine.com/t/possible-to-launch-a-dedicated-server-instance-while-playing-game/120966)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [January 10, 2019, 8:03pm UTC](https://forums.unrealengine.com/t/possible-to-launch-a-dedicated-server-instance-while-playing-game/120966 "2019-01-10T20:03:15Z")

</div>

I’ve found that as a listen host, the host’s fps will drop by a fair amount for each player that joins. This doesn’t appear to happen if i launch a dedicated server on the host machine, then just have the host join from …

---

## [Two render textures should be exactly the same, but one draws much darker than the other](https://forums.unrealengine.com/t/two-render-textures-should-be-exactly-the-same-but-one-draws-much-darker-than-the-other/120842)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 10:13am UTC](https://forums.unrealengine.com/t/two-render-textures-should-be-exactly-the-same-but-one-draws-much-darker-than-the-other/120842 "2019-01-08T10:13:33Z")

</div>

So I have these two render textures. One shows up much darker than the other. They are being rendered from objects of the same GFxMoviePlayer class loading the same .swf file. I’m lo…

---

## [Totally freeze/stop/ ragdoll with a function or something](https://forums.unrealengine.com/t/totally-freeze-stop-ragdoll-with-a-function-or-something/120505)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 3\
**Last updated:** [December 31, 2018, 9:33am UTC](https://forums.unrealengine.com/t/totally-freeze-stop-ragdoll-with-a-function-or-something/120505 "2018-12-31T09:33:42Z")

</div>

I want that when pawns are kicked into spikes, they go into ragdoll and then it stops updating the ragdoll and they stop being into ragdoll and stop any ragdoll animation any help please? also how can I achieve this wit…

---

## [Help with UTWeapon Function CanAttack](https://forums.unrealengine.com/t/help-with-utweapon-function-canattack/119535)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 17\
**Last updated:** [December 25, 2018, 12:09am UTC](https://forums.unrealengine.com/t/help-with-utweapon-function-canattack/119535 "2018-12-25T00:09:39Z")

</div>

Hello guys, it’s me again :smiley: I want to be able to show a kind of “press LMB to silent kill” icon for my knife weapon whenever the player gets close to the enemy while holding the weapon knife. I know how to draw i…

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

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