Jump to content

[v1.0] Turret Blueprint Icon Causes an Error


deep

Recommended Posts

There seems to be an error with the  Turret factory blueprint icon.

If more than one weapon uses the same icon, the weapon design will be overwritten.

For example, if several weapons use same name the vanilla launcher icon, the last loaded weapon will overwrite the other blueprints.

Tough error for Mod.

 

-weapongenerator.lua

    weapon.icon = "data/textures/icons/*******.png"

 

-Icons with the same name (Cannon.png)

Lau has two weapons, F-turbolaser and F-turbolaser M.

First written in Lua is F-turbolaser.

The F-turbolaser blueprint is overwritten by the F-turbolaser M blueprint.

6631C2A04D2A0C672C27E588F9C78A69ED9C4031

 

-Icons with different names and different icons(ft.png and ft2.png)

The factory produces a normal blueprint with a different icon.

1A6D8FF44E48951F6DB9B70D111FC36D8B7FB227

792847960309A6AF9A72397AD20FC240C30E8B43

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...