OpenXcom Forum
Modding => Help => Topic started by: SuperCaffeineDude on November 24, 2019, 04:24:09 pm
-
I'm adjusting the space weapons take up, and the like.
I've created a 4x1 weapon, a mosin-rifle resting horizontally (3*width is too small imo).
When an item is picked up by the cursor for placement the image crops to a different size, is there a way to stop or redefine the cropping?
Also the weapon seems tricky to get into the inventory (need to test more)
Lastly is there a way to delete inventory space without causing errors?
For example, when I delete the left hand an error occurs when the battle is started (I guess because of the aliens trying to access it)
invs:
- delete: STR_LEFT_HAND
I essentially am trying to make a new inventory that has only...
Wielded Item 3x4 *1 (type: anything)
Slung Item 3x4 *1 (type: gun/corpse)
Quickdraw Item 1x2 *2 (type: gun/melee)
Utility Storage 1x1 *4 (type: ammo/grenades etc)
Interested in knowing if this is feasible with basic adjustments.
-
left hand, right hand, belt, backpack and ground are hardcoded (i.e. must exist)
hand dimensions are hardcoded
hands and ground cannot have slots
-
Ah, well that seems to be that :P thanks Meridian
Am I right in thinking some mods just block slots (like the backpack or left-hand) with a static item (like a shield)?
I guess I'll adjust the hardcoded items to look more like what I have in mind.
Cheers!
-
yes
-
Just some notes,
- id: STR_RIGHT_HAND
x: -99999
y: -99999
Will hide the right hand from view
- id: STR_RIGHT_HAND
x: -999999
y: -999999
Will cause visual errors (too large a number?)
Idea: Right hand (in example) would still be visible in battle, but could be used to host armor attacks/abilities
WIP: Rename using "extraStrings:"
-
I don't see how that makes any difference?
The hand is still there for all intents and purposes.
-
I just thought I'd mention the visual-error, I'm mucking around atm, I was going to put a static item in the left-hand and put it off screen, but it seems I may be able to just use a black box to hide that inventory space.
I have ideas for using the left-hand now for universal soldier abilities now.