# UDK Programming and UnrealScript

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

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

**Page:** 6

---

## [An error occurred while trying to generate project files](https://forums.unrealengine.com/t/an-error-occurred-while-trying-to-generate-project-files/550013)

<div class="topic-metadata">

**Author:** [@Animotor2](https://forums.unrealengine.com/u/Animotor2)\
**Replies:** 0\
**Last updated:** [May 6, 2022, 12:43am UTC](https://forums.unrealengine.com/t/an-error-occurred-while-trying-to-generate-project-files/550013 "2022-05-06T00:43:15Z")

</div>

Hi, I can’t generate a project in C++, when I try to create the following bug appears An error occurred while trying to generate project files. Running C:/Program Files/Epic Games/UE\_5.0/Engine/Binaries/DotNET/UnrealB…

---

## [Help with steam achievements, please](https://forums.unrealengine.com/t/help-with-steam-achievements-please/512605)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 10\
**Last updated:** [April 11, 2022, 3:34am UTC](https://forums.unrealengine.com/t/help-with-steam-achievements-please/512605 "2022-04-11T03:34:01Z")

</div>

Hello friends. It’s me again. Just before uploading my final game build to steam, I wanted to add achievements, however, I am having a very hard time, I tried both methods, by kismet and unreal script, but this is not w…

---

## [States not working in objects normal?](https://forums.unrealengine.com/t/states-not-working-in-objects-normal/521815)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [April 10, 2022, 5:26am UTC](https://forums.unrealengine.com/t/states-not-working-in-objects-normal/521815 "2022-04-10T05:26:49Z")

</div>

States won’t work in object classes… Any idea?

---

## [Black bars aspect ratio or what it is? need help please watch video](https://forums.unrealengine.com/t/black-bars-aspect-ratio-or-what-it-is-need-help-please-watch-video/519782)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 5\
**Last updated:** [April 9, 2022, 5:31pm UTC](https://forums.unrealengine.com/t/black-bars-aspect-ratio-or-what-it-is-need-help-please-watch-video/519782 "2022-04-09T17:31:48Z")

</div>

As you can see in the video I made my own buttons and widgets and what not and they even scale for the X and the Y depending of the resolution, well at least they vary it’s position. How ever sometimes whe…

---

## [I don't remember so well, classes as object postbeginplay](https://forums.unrealengine.com/t/i-dont-remember-so-well-classes-as-object-postbeginplay/512612)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 7:13am UTC](https://forums.unrealengine.com/t/i-dont-remember-so-well-classes-as-object-postbeginplay/512612 "2022-04-08T07:13:37Z")

</div>

Well i use objects rather than actors for a specific thing to be more precise and have more ram available i guess, and cpu but i don’t know what gets called at the start of an unreal object class. What called when on ob…

---

## [I still don't understand basic stuff it seems help please](https://forums.unrealengine.com/t/i-still-dont-understand-basic-stuff-it-seems-help-please/512639)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 3\
**Last updated:** [April 7, 2022, 5:57am UTC](https://forums.unrealengine.com/t/i-still-dont-understand-basic-stuff-it-seems-help-please/512639 "2022-04-07T05:57:24Z")

</div>

I have a menu game info, a game mode of the menu and it has no pawn assigned how ever, I want to catch input like when the mouse is clicked and such? Am I supposed to do that on PlayerController? PlayerInput? Where?

---

## [Texture Streaming Problem](https://forums.unrealengine.com/t/texture-streaming-problem/508231)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 6\
**Last updated:** [April 6, 2022, 9:18pm UTC](https://forums.unrealengine.com/t/texture-streaming-problem/508231 "2022-04-06T21:18:54Z")

</div>

I’m having an issue whereby textures on some new static meshes I’ve imported are streaming in/out very aggressively and noticeably. Here is a video showing this: UDK Texture Streaming Problem - YouTube It doesn’t seem …

---

## [Fresnel on two sided material (billboard)](https://forums.unrealengine.com/t/fresnel-on-two-sided-material-billboard/512472)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [April 6, 2022, 8:59pm UTC](https://forums.unrealengine.com/t/fresnel-on-two-sided-material-billboard/512472 "2022-04-06T20:59:42Z")

</div>

I’m tying to create a mask for my tree billboard meshes to hide the planes that are not facing the camera (so planes that are most sideways will be hidden). A simple fresnel node does this perfectly, however does not wo…

---

## [Color in default properties](https://forums.unrealengine.com/t/color-in-default-properties/512610)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 5:26pm UTC](https://forums.unrealengine.com/t/color-in-default-properties/512610 "2022-04-05T17:26:23Z")

</div>

As you may know I am making game ui with canvas rather than flash and i made cool buttons but I have a little problem, as i don’t know how to initiate a color in default properties of a class. Example Var color mycolor …

---

## [String doesent want to become a number for some reason, Help me pls: D](https://forums.unrealengine.com/t/string-doesent-want-to-become-a-number-for-some-reason-help-me-pls-d/508829)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 9\
**Last updated:** [April 2, 2022, 5:54am UTC](https://forums.unrealengine.com/t/string-doesent-want-to-become-a-number-for-some-reason-help-me-pls-d/508829 "2022-04-02T05:54:25Z")

</div>

How to I convert string to number? I cannot do int(MyWIndowsString) if you know what I mean…

---

## [Do you want colors in your notepad++ using Unrealscript?](https://forums.unrealengine.com/t/do-you-want-colors-in-your-notepad-using-unrealscript/509403)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [March 31, 2022, 6:37pm UTC](https://forums.unrealengine.com/t/do-you-want-colors-in-your-notepad-using-unrealscript/509403 "2022-03-31T18:37:27Z")

</div>

Go and go to the Notepad++ menu, of up, Language-\>J-\>Javascript voila! give colors to your coding life… works with newest…

---

## [How to call function inside string](https://forums.unrealengine.com/t/how-to-call-function-inside-string/509367)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 5\
**Last updated:** [March 30, 2022, 11:17pm UTC](https://forums.unrealengine.com/t/how-to-call-function-inside-string/509367 "2022-03-30T23:17:41Z")

</div>

StringFunction = “Myfunction()” Then how do I call a function of that name?? StringFunction .CallFunction() Something like that?? I could make an actor for each button, and spawn it because I am trying that bind a fu…

---

## [How to translate/localize the default UDK GFX Main Menu](https://forums.unrealengine.com/t/how-to-translate-localize-the-default-udk-gfx-main-menu/507999)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 16\
**Last updated:** [March 23, 2022, 5:16pm UTC](https://forums.unrealengine.com/t/how-to-translate-localize-the-default-udk-gfx-main-menu/507999 "2022-03-23T17:16:18Z")

</div>

Hello my friends. Now I want to add localization for my game, I have been reading through this https://docs.unrealengine.com/udk/Three/LocalizedTextFiles.html But the explanations are very poor, there is no a step by …

---

## [the code number of the element in unreal](https://forums.unrealengine.com/t/the-code-number-of-the-element-in-unreal/509029)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fd7e14f7](https://forums.unrealengine.com/u/anonymous_user_fd7e14f7)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 12:54am UTC](https://forums.unrealengine.com/t/the-code-number-of-the-element-in-unreal/509029 "2022-03-23T00:54:10Z")

</div>

Greetings, when exporting a glb file I get an error, how do I identify the code number of the element in unreal to eliminate the problem element?

---

## [system requirment](https://forums.unrealengine.com/t/system-requirment/508957)

<div class="topic-metadata">

**Author:** [@Ribbit74](https://forums.unrealengine.com/u/Ribbit74)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 5:59pm UTC](https://forums.unrealengine.com/t/system-requirment/508957 "2022-03-22T17:59:24Z")

</div>

can anyone tell me what system the game BUGSNAX requires to download n run on?

---

## [Buttons and Canvas HUD](https://forums.unrealengine.com/t/buttons-and-canvas-hud/508626)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 9:08am UTC](https://forums.unrealengine.com/t/buttons-and-canvas-hud/508626 "2022-03-22T09:08:00Z")

</div>

Im in my final steps to release new GOTA Gladiators of the arena build but, flash let me down I cant do something, and I feel that I really nee HUD and flash is not a solution anymore… : P Please somebody give me: Best…

---

## [Hey how to interpolate a number vector whatever](https://forums.unrealengine.com/t/hey-how-to-interpolate-a-number-vector-whatever/507865)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [March 20, 2022, 4:27am UTC](https://forums.unrealengine.com/t/hey-how-to-interpolate-a-number-vector-whatever/507865 "2022-03-20T04:27:29Z")

</div>

How to do the math to interpolate a number, so it goes to destination number without exceeding that number or worse?

---

## [BL2 not saving, every time I restart my game I back to the same level I started ](https://forums.unrealengine.com/t/bl2-not-saving-every-time-i-restart-my-game-i-back-to-the-same-level-i-started/507392)

<div class="topic-metadata">

**Author:** [@Mohit970](https://forums.unrealengine.com/u/Mohit970)\
**Replies:** 0\
**Last updated:** [March 16, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/bl2-not-saving-every-time-i-restart-my-game-i-back-to-the-same-level-i-started/507392 "2022-03-16T17:02:44Z")

</div>

When I play the BL2 game and complete my missions, I usually level up, earn cash and iridium. But when I restart my game all my progress gets lost and I am back to the lower level which I was at earlier. I am at level 3…

---

## [EnableStereoRendering。 4-27](https://forums.unrealengine.com/t/enablestereorendering-4-27/507051)

<div class="topic-metadata">

**Author:** [@lvdewen](https://forums.unrealengine.com/u/lvdewen)\
**Replies:** 0\
**Last updated:** [March 15, 2022, 3:15pm UTC](https://forums.unrealengine.com/t/enablestereorendering-4-27/507051 "2022-03-15T15:15:57Z")

</div>

How to turn on stereo rendering in UE source code？and how to use the api (EnableStereoRendering)? Please tell me if you know, thank you . 4-27

---

## [Newbie question about archetypes and arrays](https://forums.unrealengine.com/t/newbie-question-about-archetypes-and-arrays/495055)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 12\
**Last updated:** [March 11, 2022, 10:01am UTC](https://forums.unrealengine.com/t/newbie-question-about-archetypes-and-arrays/495055 "2022-03-11T10:01:07Z")

</div>

I declare an array containing archetypes: var() archetype array\<scene\> Scenes; Then in the editor I can fill the array by manually selecting the archetypes and adding them. Later in game I can spawn these archetypes fr…

---

## [Players falling through world when saved game loaded. Issue not happening on my own computer](https://forums.unrealengine.com/t/players-falling-through-world-when-saved-game-loaded-issue-not-happening-on-my-own-computer/501274)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [March 6, 2022, 9:38am UTC](https://forums.unrealengine.com/t/players-falling-through-world-when-saved-game-loaded-issue-not-happening-on-my-own-computer/501274 "2022-03-06T09:38:38Z")

</div>

You can see the issue in this video: When I save the game, I make an array of strings of all of the levels that are currently loaded. When I load the saved game, I iterate through that array and call GetAL…

---

## [How to select a texture for the Pattern Brush in the Landscape editor?](https://forums.unrealengine.com/t/how-to-select-a-texture-for-the-pattern-brush-in-the-landscape-editor/503809)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [March 4, 2022, 7:30pm UTC](https://forums.unrealengine.com/t/how-to-select-a-texture-for-the-pattern-brush-in-the-landscape-editor/503809 "2022-03-04T19:30:40Z")

</div>

I don’t see anyway of how to change the texture used by the Pattern Brush in the landscape editor: A default checkered texture is selected by default. Anyone know how to change this?

---

## [How does unreal Gconfig work?](https://forums.unrealengine.com/t/how-does-unreal-gconfig-work/497104)

<div class="topic-metadata">

**Author:** [@FoolOfJulfa](https://forums.unrealengine.com/u/FoolOfJulfa)\
**Replies:** 1\
**Last updated:** [March 3, 2022, 4:49am UTC](https://forums.unrealengine.com/t/how-does-unreal-gconfig-work/497104 "2022-03-03T04:49:30Z")

</div>

How does unreal gconfig work? how are layouts loaded?

---

## [Blending in new PostProcess settings via script](https://forums.unrealengine.com/t/blending-in-new-postprocess-settings-via-script/271272)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [February 15, 2022, 7:01am UTC](https://forums.unrealengine.com/t/blending-in-new-postprocess-settings-via-script/271272 "2022-02-15T07:01:08Z")

</div>

I’m trying to blend in new PP settings (such as DOF). I have the current code I’m playing with: function SetDOF(float dist, float maxBlur) { local PostProcessSettings newPpSettings; newPpSettings = Worldinfo.De…

---

## [How to get/set a material on a StaticMesh LOD in Unrealscript?](https://forums.unrealengine.com/t/how-to-get-set-a-material-on-a-staticmesh-lod-in-unrealscript/492827)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [February 3, 2022, 7:48pm UTC](https://forums.unrealengine.com/t/how-to-get-set-a-material-on-a-staticmesh-lod-in-unrealscript/492827 "2022-02-03T19:48:03Z")

</div>

Using these functions on StaticMeshComponent: native function MaterialInterface GetMaterial(int ElementIndex); and native virtual function SetMaterial(int ElementIndex, MaterialInterface Material); Only ever considers…

---

## [Shadow pop-in/out](https://forums.unrealengine.com/t/shadow-pop-in-out/493545)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [February 3, 2022, 7:43pm UTC](https://forums.unrealengine.com/t/shadow-pop-in-out/493545 "2022-02-03T19:43:29Z")

</div>

I’m wondering if anyone knows how I can avoid having shadows pop out/in for meshes that use a lot of fine alpha masking (like tree leaves). Here’s an example of what I mean: Strangely this doesn’t seem to …

---

## [Audio cutting out when moving in range of SimpleSplineAudioComponent](https://forums.unrealengine.com/t/audio-cutting-out-when-moving-in-range-of-simplesplineaudiocomponent/492457)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [January 30, 2022, 1:16am UTC](https://forums.unrealengine.com/t/audio-cutting-out-when-moving-in-range-of-simplesplineaudiocomponent/492457 "2022-01-30T01:16:38Z")

</div>

I’m not able to reproduce it myself, but I’ve had videos sent to me by players showing all audio completely cutting out (with a little “pop”) when they move in range of a SimpleSplineAudioComponent. I use these splines f…

---

## [Using a texture2d mask for input on WorldPositionOffset?](https://forums.unrealengine.com/t/using-a-texture2d-mask-for-input-on-worldpositionoffset/492251)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [January 29, 2022, 2:17pm UTC](https://forums.unrealengine.com/t/using-a-texture2d-mask-for-input-on-worldpositionoffset/492251 "2022-01-29T14:17:41Z")

</div>

I want to apply a mask on a material for leaves on a tree to control the wind effect. For this I’d like o use a texture mask, so I can have a gradient moving out from the branch to the tips of the leaves. However it ap…

---

## [How to apply a UV multiplier to Vector3 material node?](https://forums.unrealengine.com/t/how-to-apply-a-uv-multiplier-to-vector3-material-node/274936)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 6:28pm UTC](https://forums.unrealengine.com/t/how-to-apply-a-uv-multiplier-to-vector3-material-node/274936 "2022-01-27T18:28:29Z")

</div>

I’m working on a material function for using a parallax in my landscape material. My parallax material function applies several UV multipliers to the height map I pass into it. Currently I pass in a Texture2D and hook i…

---

## [Anyone know of an easy way to make an actor fall slower?](https://forums.unrealengine.com/t/anyone-know-of-an-easy-way-to-make-an-actor-fall-slower/273840)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 7\
**Last updated:** [January 22, 2022, 12:49am UTC](https://forums.unrealengine.com/t/anyone-know-of-an-easy-way-to-make-an-actor-fall-slower/273840 "2022-01-22T00:49:05Z")

</div>

I have a very simple actor subclass. I want to launch it in a random upward direction and have it come down slowly. Right now, I set its velocity and set its physics to Phys\_Falling. That gets it to launch upwards and…

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

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