Where is Gun Turret data?

Place to get help with not working mods / modding interface.
User avatar
thereaverofdarkness
Filter Inserter
Filter Inserter
Posts: 560
Joined: Wed Jun 01, 2016 5:07 am
Contact:

Where is Gun Turret data?

Post by thereaverofdarkness »

I searched through both the Entities and Turrets lua files and they don't have anything about the gun turret. I can't find any other files that even might have the data. Where is it, and why isn't it in turrets.lua like the laser turret is, or in entities.lua where everything else is?
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Where is Gun Turret data?

Post by Adil »

Doesn't windows search allow to search file contents these days?
There's also 'demo-turrets.lua'
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
User avatar
thereaverofdarkness
Filter Inserter
Filter Inserter
Posts: 560
Joined: Wed Jun 01, 2016 5:07 am
Contact:

Re: Where is Gun Turret data?

Post by thereaverofdarkness »

Adil wrote:Doesn't windows search allow to search file contents these days?
There's probably a way to do that but I don't know how.
Adil wrote:There's also 'demo-turrets.lua'
Aha. What are the demo files for, anyway? I thought they were separate from the main game files.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Where is Gun Turret data?

Post by orzelek »

thereaverofdarkness wrote:
Adil wrote:Doesn't windows search allow to search file contents these days?
There's probably a way to do that but I don't know how.
Adil wrote:There's also 'demo-turrets.lua'
Aha. What are the demo files for, anyway? I thought they were separate from the main game files.
It's a bit misleading but no.
Demo files are used always and rest of them only in full version.
Zentriffic
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Jan 12, 2017 2:07 am
Contact:

Re: Where is Gun Turret data?

Post by Zentriffic »

It is possible to search the contents of files, including compressed files (zip primarily) in Windows (tm). You do have to set it up properly. Default is just folders. How you fix it depends on the version. In Win 10 before you start to search, you can modify the settings by clicking on the "view" tab. On the far right is "options", which will give you access to set folder settings. There is a specifica tab for search. There are two check boxes that need to be checked to look in zipped files and actual files. Take care of those and you're golden.

Also, if you're already in a search window, the options (in Win 10 anyway, I've forgotten about earlier versions already) are at the top of the window in the "options" section under "advanced". Hope this helps!
Post Reply

Return to “Modding help”