Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with custom arm/flashlight
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#1
Problem with custom arm/flashlight

Hi! So my mod has a custom arm/flashlight. I have managed to get them into the game successfully, however only through GiveItemFromFile("lantern", "lantern.ent");

I have tried creating an item of type lantern, however when I click on the item in game, no flashlight is added to the inventory and the item just stays there. (although the hint for when you pick up a lantern shows!). Any ideas what I'm doing wrong?

Closure ModDB page:

[Image: 16LO8Sx]
08-14-2013, 11:14 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Problem with custom arm/flashlight

I'm sure it's a problem with the Icon Image. Make sure the size is 64x64.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-14-2013, 11:42 PM
Find
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#3
RE: Problem with custom arm/flashlight

(08-14-2013, 11:42 PM)The chaser Wrote: I'm sure it's a problem with the Icon Image. Make sure the size is 64x64.

Thank you so much, really didn't think that would work but it sure did! Big Grin I've spent so long trying to get it to work and it was such a minor thing. Thanks again Smile

Closure ModDB page:

[Image: 16LO8Sx]
08-15-2013, 12:41 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Problem with custom arm/flashlight

It's a common error in items, it usually drives nuts Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-15-2013, 10:32 AM
Find




Users browsing this thread: 1 Guest(s)