# Question about .ini files

**URL:** <https://forums.unrealengine.com/t/question-about-ini-files/40883>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [September 6, 2015, 2:19am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883 "2015-09-06T02:19:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon16009780](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon16009780](https://forums.unrealengine.com/u/anon16009780)\
**Post date:** [September 6, 2015, 2:19am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/1 "2015-09-06T02:19:24Z")

</div>

I just had a question … is it possible to make an .ini file with setting like metalcost=10, metalbuycount=1 and metalsell=20, metalsellcount=2 and then use those values in a blue print under  
Item quantity = metalbuycount  
base crafting resource requirements -\> base resource requirement VALUE = metalcost?  
for example: This item would cost 10 (metalcost)Gold Pearls “this is the currency I created, gold pearls” and buy you 1(metalbuycount)

---

<div class="post-metadata">

**Author:** ![CreativeHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CreativeHD](https://forums.unrealengine.com/u/CreativeHD)\
**Post date:** [September 6, 2015, 2:47am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/2 "2015-09-06T02:47:12Z")

</div>

You can’t create an .ini file but you can add to the “GameUserSettings.ini” file. I wrote a tutorial how to do it here: [HOWTO: Get Variable Data From an Initiation File - ARK: Survival Evolved - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?82834-HOWTO-Get-Variable-Data-From-an-Initiation-File)

---

<div class="post-metadata">

**Author:** ![anon16009780](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon16009780](https://forums.unrealengine.com/u/anon16009780)\
**Post date:** [September 10, 2015, 7:03am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/3 "2015-09-10T07:03:23Z")

</div>

but how do I apply that data to something? for example I want to pull data from the ini and set it to a blueprints quantity field

---

<div class="post-metadata">

**Author:** ![anon16009780](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon16009780](https://forums.unrealengine.com/u/anon16009780)\
**Post date:** [September 10, 2015, 8:34am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/4 "2015-09-10T08:34:46Z")

</div>

Ok still not getting help with this after a few days I need to find a way to set a blueprint property (item quantity) to the value stored in a variable … I read the part on how to get variables from the gameusersettings.ini but now I need to take that value and use it on a blueprint properties value

---

<div class="post-metadata">

**Author:** ![Luckboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luckboy](https://forums.unrealengine.com/u/Luckboy)\
**Post date:** [August 8, 2016, 3:11am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/5 "2016-08-08T03:11:16Z")

</div>

> [@Davetiger;375790](#):
>
> Ok still not getting help with this after a few days I need to find a way to set a blueprint property (item quantity) to the value stored in a variable … I read the part on how to get variables from the gameusersettings.ini but now I need to take that value and use it on a blueprint properties value

Yeah, I’ve got roughly the same issue. Here’s what I have so far:

I’m trying to alter the crafting requirements at startup based on the GameUserSettings.ini settings. For example, if I have a variable in the file like “CustomItemCosts=2.0000” I want to multiply all of CustomItem’s crafting costs by 2.

Here’s the blueprint that I’ve starting setting up on the PrimalItemStructure blueprint, but I can’t figure out what event would start this blueprint. Any ideas?

![73fad761318d5d61743f4477e59dcb11c6b85ec1.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![AbdullaAlmarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AbdullaAlmarri](https://forums.unrealengine.com/u/AbdullaAlmarri)\
**Post date:** [August 11, 2016, 3:45pm UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/6 "2016-08-11T15:45:41Z")

</div>

I am working on something similar. From what I found out, you can’t read data from ini on a resource blueprint.  
So I have an idea which am trying to do but don’t have the know-how yet.  
the idea:  
read the ini file from the ShopTable blueprint. then save the data in variables. then use the data from the variables on the resource blueprint.

am still learning here, I am not sure how to save the variables and make them public so other blueprint can use them.  
if someone can share an example, it will be great.

thank you

---

<div class="post-metadata">

**Author:** ![CFrankie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CFrankie](https://forums.unrealengine.com/u/CFrankie)\
**Post date:** [February 16, 2017, 10:42pm UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/7 "2017-02-16T22:42:53Z")

</div>

Hey - I am trying to implement this idea (reading the INI file) to an item I created (think TORCH) - I want the user to be able to change the CONSUME TIME to allow them to burn faster or slower. Unfortunately, I can not figure out which Blueprint to implement this in. I know it’s not the main BP, as that doesn’t have the consume timer info in it, and the one that does (the place able item itself) can not access any of the before mentioned routines at all. What am I missing here?

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [February 17, 2017, 2:51pm UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/8 "2017-02-17T14:51:29Z")

</div>

> [@CFrankie;667605](#):
>
> Hey - I am trying to implement this idea (reading the INI file) to an item I created (think TORCH) - I want the user to be able to change the CONSUME TIME to allow them to burn faster or slower. Unfortunately, I can not figure out which Blueprint to implement this in. I know it’s not the main BP, as that doesn’t have the consume timer info in it, and the one that does (the place able item itself) can not access any of the before mentioned routines at all. What am I missing here?

On the standing torch BP there is this:

 ![e475ba827bec4befb1f0ef1604629f4b.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/d/52d9ae94aa93a4b2e3f574a5395f0d1c776660eb.png)

You should be able to change it through .ini from begin play with this:

![04cf95c045e32bb8c5e73ecbbdaee8ce.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/0/840c010874806d69127046635b67fc96ee34b9c3.png)

---

<div class="post-metadata">

**Author:** ![CFrankie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CFrankie](https://forums.unrealengine.com/u/CFrankie)\
**Post date:** [February 17, 2017, 9:39pm UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/9 "2017-02-17T21:39:43Z")

</div>

Begin Play doesn’t appear in the list, and I know what I want to change, it’s just not available - and if I follow anything from this post it gives me the : “Eternal Loop Found” error.  
I will continue to hammer on this and let everyone know if I find anything out. (the editor being 1tb now is getting a little silly on the load times. HAHA!

Oh , and I’ve checked to make sure it’s local and not local in the check box… to make sure – but something about place able items is different so far.

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [February 18, 2017, 2:29am UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/10 "2017-02-18T02:29:11Z")

</div>

If you don’t have a begin play, then your doing it on the wrong bp. You want the bp that contains the actual structure with the mesh. It should have a preview of the item and a blue line on the bottom.

**Correct:**

![6db93088ec971729fae7d9cdbf7c725b.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/7/77dce69bee7e368e9486913b38ad884f48833cc1.png)&stc=1

\*\*Incorrect:  
\*\*

![8b6af4caa6c3704e04bf53134ea1b89b.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/6/56726466cad1e48ce935aed9efa146774650b6ee.png)&stc=1

\*\*  
\*\*

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:31pm UTC](https://forums.unrealengine.com/t/question-about-ini-files/40883/11 "2022-03-09T21:31:07Z")

</div>


