# UDK Programming and UnrealScript

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

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

**Page:** 26

---

## [Why do I keep getting a printout of all the ConsoleEvents in my game?](https://forums.unrealengine.com/t/why-do-i-keep-getting-a-printout-of-all-the-consoleevents-in-my-game/93474)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 4\
**Last updated:** [June 5, 2017, 5:45am UTC](https://forums.unrealengine.com/t/why-do-i-keep-getting-a-printout-of-all-the-consoleevents-in-my-game/93474 "2017-06-05T05:45:57Z")

</div>

Sometimes when I press a button during gameplay, I get a printout on the screen of all the ConsoleEvents in the game. That’s annoying and I’d like it to stop. Anyone know how to do that?

---

## [Old forums disappeared again!!?](https://forums.unrealengine.com/t/old-forums-disappeared-again/93448)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 9\
**Last updated:** [June 3, 2017, 7:39pm UTC](https://forums.unrealengine.com/t/old-forums-disappeared-again/93448 "2017-06-03T19:39:56Z")

</div>

It seems the old forums that were migrated over have disappeared again. These forums have a huge amount of valuable information, which I frequently need to reference for my current project. Please could an Epic represe…

---

## [Physical materials](https://forums.unrealengine.com/t/physical-materials/93335)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 10\
**Last updated:** [June 1, 2017, 8:55pm UTC](https://forums.unrealengine.com/t/physical-materials/93335 "2017-06-01T20:55:30Z")

</div>

So i’ve seen that the only way to get diferent trace results with surfaces it’s physical materials has anyone got any experience with them, tracing down the landscape and getting diferent result ?

---

## [How to get archetype of actor in runtime.](https://forums.unrealengine.com/t/how-to-get-archetype-of-actor-in-runtime/93458)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [June 1, 2017, 4:57pm UTC](https://forums.unrealengine.com/t/how-to-get-archetype-of-actor-in-runtime/93458 "2017-06-01T16:57:13Z")

</div>

Well so you cna spawn an actor with the spawning template paremeter, but once it’s spawned how can you get it back?

---

## [SetBase() doesn't seem to work for me](https://forums.unrealengine.com/t/setbase-doesnt-seem-to-work-for-me/93113)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [June 1, 2017, 2:48am UTC](https://forums.unrealengine.com/t/setbase-doesnt-seem-to-work-for-me/93113 "2017-06-01T02:48:13Z")

</div>

I’m currently trying to get one static mesh actor to attach to another, so that when the base move, the attached static mesh actor also moves. Example: StaticMesh2.SetBase(StaticMesh1); Now when i change the locat…

---

## [IDK IDEs bet ones](https://forums.unrealengine.com/t/idk-ides-bet-ones/93325)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 7\
**Last updated:** [May 31, 2017, 7:03am UTC](https://forums.unrealengine.com/t/idk-ides-bet-ones/93325 "2017-05-31T07:03:00Z")

</div>

So wich IDE do you use for unreal engine 3, wich one do you recommend me, I use myself Wotgreal version 3.006

---

## [Console command say](https://forums.unrealengine.com/t/console-command-say/93300)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [May 30, 2017, 6:14pm UTC](https://forums.unrealengine.com/t/console-command-say/93300 "2017-05-30T18:14:54Z")

</div>

So im trying to make a System that depending of the proximity, you hear the words with the say command any advices or so ?

---

## [How was it for making the foliage disapear at a distance](https://forums.unrealengine.com/t/how-was-it-for-making-the-foliage-disapear-at-a-distance/93285)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [May 30, 2017, 8:18am UTC](https://forums.unrealengine.com/t/how-was-it-for-making-the-foliage-disapear-at-a-distance/93285 "2017-05-30T08:18:54Z")

</div>

So there’s a way to make foliage dissapear when you are at a certain distance how did you do it ?

---

## [Tegleg Script Vault](https://forums.unrealengine.com/t/tegleg-script-vault/93163)

<div class="topic-metadata">

**Author:** [@tegleg](https://forums.unrealengine.com/u/tegleg)\
**Replies:** 5\
**Last updated:** [May 29, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/tegleg-script-vault/93163 "2017-05-29T12:53:59Z")

</div>

ey up i see the old udk forums have vanished and all that good info and code has gone forever. some people still use udk, and why not its a good engine. so here for anyone to scratch their heads at, pull apart and may…

---

## [Solved:Pawn is attached to Landscape which is in another level.  Using actor's location as collision](https://forums.unrealengine.com/t/solved-pawn-is-attached-to-landscape-which-is-in-another-level-using-actors-location-as-collision/93072)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [May 29, 2017, 12:13pm UTC](https://forums.unrealengine.com/t/solved-pawn-is-attached-to-landscape-which-is-in-another-level-using-actors-location-as-collision/93072 "2017-05-29T12:13:58Z")

</div>

I found an error that I had never come across before. I’m posting my solution in case anyone else comes across it. I have some NPC pawns that have a pretty simple controller. The controller waits a random amount of ti…

---

## [Did the recent Windows 10 update break all of your sounds packages?](https://forums.unrealengine.com/t/did-the-recent-windows-10-update-break-all-of-your-sounds-packages/93184)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [May 29, 2017, 7:19am UTC](https://forums.unrealengine.com/t/did-the-recent-windows-10-update-break-all-of-your-sounds-packages/93184 "2017-05-29T07:19:15Z")

</div>

Find a package that has sounds in it. Load the package fully. Save the package. Did UDK crash? It is crashing 100% of the time for me when I try doing that. I don’t think I did anything that should have caused that.…

---

## [Landscape physical material lost when cutting a hole using the visibility tool](https://forums.unrealengine.com/t/landscape-physical-material-lost-when-cutting-a-hole-using-the-visibility-tool/71102)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 8\
**Last updated:** [May 26, 2017, 5:07pm UTC](https://forums.unrealengine.com/t/landscape-physical-material-lost-when-cutting-a-hole-using-the-visibility-tool/71102 "2017-05-26T17:07:41Z")

</div>

I have a large landscape map. I wanted to introduce some cave systems, so I cut a hole using the landscape visibility tool: The hole cuts fine and works great, however the landscape …

---

## [Where code goes when game packed.](https://forums.unrealengine.com/t/where-code-goes-when-game-packed/92980)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 3\
**Last updated:** [May 26, 2017, 2:50pm UTC](https://forums.unrealengine.com/t/where-code-goes-when-game-packed/92980 "2017-05-26T14:50:35Z")

</div>

So when the game is packed in wich file the code goes? : P

---

## [How was it to start a server UDK In console commands](https://forums.unrealengine.com/t/how-was-it-to-start-a-server-udk-in-console-commands/92842)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 7\
**Last updated:** [May 26, 2017, 9:20am UTC](https://forums.unrealengine.com/t/how-was-it-to-start-a-server-udk-in-console-commands/92842 "2017-05-26T09:20:38Z")

</div>

So that’'s the question how was it to start a server with a console command i know it’s open and somethign more but dont remember what exacly.

---

## [Handling CLIK AS3 Compile Error 1152 & 5000 So yes that.](https://forums.unrealengine.com/t/handling-clik-as3-compile-error-1152-5000-so-yes-that/92943)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [May 26, 2017, 5:12am UTC](https://forums.unrealengine.com/t/handling-clik-as3-compile-error-1152-5000-so-yes-that/92943 "2017-05-26T05:12:36Z")

</div>

So basically when you use action script 3 you get this little errors that you fix them somehow, UDK fòrums had a thread about this, but it’s closed now, anyone remembers the key of it, or how to thanks lots. : )

---

## [Issues with SeePlayer() & SeeMonster()](https://forums.unrealengine.com/t/issues-with-seeplayer-seemonster/91533)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [May 25, 2017, 9:12pm UTC](https://forums.unrealengine.com/t/issues-with-seeplayer-seemonster/91533 "2017-05-25T21:12:00Z")

</div>

I’m currently trying to get my AI to be able to react to one another. The trouble I’m having is that SeeMonster() only fires if the bot has bIsPlayer=true. However if i have bIsPlayer=true on the bot, then it won’t tri…

---

## [Change foliage direction](https://forums.unrealengine.com/t/change-foliage-direction/92669)

<div class="topic-metadata">

**Author:** [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Replies:** 9\
**Last updated:** [May 23, 2017, 3:29pm UTC](https://forums.unrealengine.com/t/change-foliage-direction/92669 "2017-05-23T15:29:03Z")

</div>

I’ve added multiple blocking collision cylinders with a different translation to horse pawn actor and it appeared that foliage becomes glitchy while colliding with it. Instead of bending foliage away, it gets attracted t…

---

## [Can't unlock FPS](https://forums.unrealengine.com/t/cant-unlock-fps/85695)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [May 16, 2017, 1:57pm UTC](https://forums.unrealengine.com/t/cant-unlock-fps/85695 "2017-05-16T13:57:39Z")

</div>

I’m trying to do some performance optimizations, so I want to unlock the FPS limit of 62. I’ve tried setting bSmoothFrameRate=TRUE in UDKEngine.ini, but the engine still doesn’t exceed 60. Does anyone know why this isn…

---

## [Controlling master volume in game](https://forums.unrealengine.com/t/controlling-master-volume-in-game/92031)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [May 14, 2017, 6:56pm UTC](https://forums.unrealengine.com/t/controlling-master-volume-in-game/92031 "2017-05-14T18:56:30Z")

</div>

I’d like to add a master volume slider to my in game menu. I’ve been reading up on how this can be done, and there are a few ways I see (all that see overly convoluted). One suggesting using SetAudioGroupVolume(name Gr…

---

## [Attaching bone to socket](https://forums.unrealengine.com/t/attaching-bone-to-socket/91619)

<div class="topic-metadata">

**Author:** [@Avatarus](https://forums.unrealengine.com/u/Avatarus)\
**Replies:** 1\
**Last updated:** [May 9, 2017, 7:22am UTC](https://forums.unrealengine.com/t/attaching-bone-to-socket/91619 "2017-05-09T07:22:16Z")

</div>

So, yeah, I need to attach a bone of one actor with skelmesh component to a socket of another one. My current setup is SkelControlSingleBone that is updated every tick to adjust it’s coordinates to socket. Not the best s…

---

## [Increase contrast of rendered image](https://forums.unrealengine.com/t/increase-contrast-of-rendered-image/91320)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [May 7, 2017, 4:16am UTC](https://forums.unrealengine.com/t/increase-contrast-of-rendered-image/91320 "2017-05-07T04:16:07Z")

</div>

I’d like to increase the contrast of the overall rendering of my game. Can anyone point me in the right direction o how to do this? Thanks in advance.

---

## [Disable replicate pickup sounds](https://forums.unrealengine.com/t/disable-replicate-pickup-sounds/91319)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 4\
**Last updated:** [May 4, 2017, 9:43pm UTC](https://forums.unrealengine.com/t/disable-replicate-pickup-sounds/91319 "2017-05-04T21:43:19Z")

</div>

Hello friends. Another time is me here asking help from the masters :smiley: Just something annoying I noted, because I am extending UT Deathmatch Gametype, is that whenever any pawn (I spawn them using kismet ActorFac…

---

## [CreateAndSetMaterialInstanceConstant() overwriting LOD materials](https://forums.unrealengine.com/t/createandsetmaterialinstanceconstant-overwriting-lod-materials/90657)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [April 29, 2017, 6:38pm UTC](https://forums.unrealengine.com/t/createandsetmaterialinstanceconstant-overwriting-lod-materials/90657 "2017-04-29T18:38:27Z")

</div>

On certain static meshes in my game, when they are initialized, I create and set material instance constants for each of the materials on the mesh (so i can apply damage params to the materials via UnrealScript). simu…

---

## [Publishing updates on Steam always very large](https://forums.unrealengine.com/t/publishing-updates-on-steam-always-very-large/90075)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [April 22, 2017, 3:27am UTC](https://forums.unrealengine.com/t/publishing-updates-on-steam-always-very-large/90075 "2017-04-22T03:27:47Z")

</div>

Hi guys. Every time I publish updates to Steam, the update side (file diff) is always 200mb+ (even if the update is only code changes and no asset changes). Anyone know why this is? My routine for publishing updates: …

---

## [Visible cone for spotlight?](https://forums.unrealengine.com/t/visible-cone-for-spotlight/90090)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [April 22, 2017, 3:30am UTC](https://forums.unrealengine.com/t/visible-cone-for-spotlight/90090 "2017-04-22T03:30:18Z")

</div>

I’m implementing some spotlights. They’re working fine, however there is no visible cone (i mean like god rays). I see there are some components in SpotLight.uc that look like they should handle the visualization of th…

---

## [Help with custom  Melee Weapon](https://forums.unrealengine.com/t/help-with-custom-melee-weapon/89318)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 15\
**Last updated:** [April 21, 2017, 8:49pm UTC](https://forums.unrealengine.com/t/help-with-custom-melee-weapon/89318 "2017-04-21T20:49:03Z")

</div>

Hello friends. I am a beginner in Unreal Script, still learning. I am trying to recreate (or make something similar) to Gears of War Chainsaw Executions in UDK. I am beginning with the first step which is the player play…

---

## [Extra movesmooth](https://forums.unrealengine.com/t/extra-movesmooth/90361)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 2\
**Last updated:** [April 21, 2017, 5:14pm UTC](https://forums.unrealengine.com/t/extra-movesmooth/90361 "2017-04-21T17:14:20Z")

</div>

The latent move functions surrounds the obstacles with movesmooth, but at very slow velocity, the pawns are semi-stucked and it seems unnatural. I have done a functión (using hitwall and bump events) to add an extra vel…

---

## [InitRagdoll() on pawn behaving differently on map with many actors](https://forums.unrealengine.com/t/initragdoll-on-pawn-behaving-differently-on-map-with-many-actors/88999)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [April 18, 2017, 9:36pm UTC](https://forums.unrealengine.com/t/initragdoll-on-pawn-behaving-differently-on-map-with-many-actors/88999 "2017-04-18T21:36:34Z")

</div>

This is a bit of a weird one, and I’ll welcome any suggestions on what may be causing this issue. When enemies are killed in my game, I trigger InitRagdoll() on them, so they fall around all limp. This is the descriptio…

---

## [Packing of a game on phone. How to make?](https://forums.unrealengine.com/t/packing-of-a-game-on-phone-how-to-make/89445)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6beb9bf5](https://forums.unrealengine.com/u/anonymous_user_6beb9bf5)\
**Replies:** 1\
**Last updated:** [April 7, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/packing-of-a-game-on-phone-how-to-make/89445 "2017-04-07T14:40:49Z")

</div>

How to pack a game on android what after installation weight would be small? When packing the project installation of a game occupies 37 MB. But at installation on phone of 200 MB from which textures and objects in the g…

---

## [Any tricks to bring my pawn physics time down?](https://forums.unrealengine.com/t/any-tricks-to-bring-my-pawn-physics-time-down/88543)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 6\
**Last updated:** [April 3, 2017, 1:26pm UTC](https://forums.unrealengine.com/t/any-tricks-to-bring-my-pawn-physics-time-down/88543 "2017-04-03T13:26:59Z")

</div>

In my game, when you give an order to your army, you could move about 100 pawns at the same time. This slows down the game considerably. The GameplayProfiler shows that by far the largest amount of time is being spent …

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

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