Jump to content

Can someone help me out with soldier equipment modifications?


Aldo

Recommended Posts

Hi, all, i'm new to the Forum, and pretty average at Coding/Modding, but i want to make the equip slots on the backpack, primary weapon, secondary weapon and belt, transparent.

Is there a way to do that? I tried changing numbers in "sequipvew.lua" but only made the containers disappear (there was actually 3-5 pixels of that container... but it was not equipable with nothing, it was useless.)

I noticed there are 4 common values for some graphics: x, y, h and w... i'm guessing these are the color, height and width values, maybe the fouth one is transparency? only problem is i don't know wich is wich, and how to alter them.

Here's an example:

InventorySlot

{

name = "slot1_1",

x = 5 + 0 * Floor( 30 * screenScaleX ),

y = 23 * screenScaleY + 5 + 0 * Floor( 30 * screenScaleX ),

w = Floor( 30 * screenScaleX ),

h = Floor( 30 * screenScaleX ),

image = "uitextures/sequip/centerend",

bordersize = 3,

},

What do the RED, and GREEN elements do/mean?

By the way, can all this be achieved with the official build of the game? (not CE modded)

Any help would be very appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...