Frictional Games Forum (read-only)
Unobtainable Custom Item? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Unobtainable Custom Item? (/thread-9219.html)



Unobtainable Custom Item? - Juby - 07-18-2011

I've been attempting to make an entity that isn't an item, an item.

I got the model to appear in game and it glows blue and when you scroll over it, the hand icon appears, but when you click it, nothing happens! It looks like this...
Spoiler below!

[Image: 2agkgad.jpg]


I looked at some of the game's items for reference in the model editor and I can not find any more things to do, but then again this is my first ever try. I have the writing needed in my .lang file for it to work, so I think the problem lies in my User-Defined Variables in the model editor. Which I will post because I've run out of patience...

User-Defined Variables -
Code:
Type: Item SubType: Puzzle
Health: 100
Toughness: 0
MaxFocusDistance: 0
MainPhysicsBody: Body_1

ShowMesh: checked
DissolveOnDestruction: unchecked

DissolveTime: 1.0
EffectsOnSound:
EffectsOffSound:
EffectsOnTime: 1
EffectsOffTime: 1
EffectsOffLightColor: (black)
EffectsOffLightRadius: -1

ShowHints: checked
StaticMoveCheckCollision: unchecked

StaticMoveStartSound:
StaticMoveStopSound:
StaticMoveLoopSound:

RandomizeAnimationStart: checked

SubItemTypeName: LadderPiece
ImageFile: ladder_piece.jpg
PickSound: Generic
TempVar: 0

If anybody knows what to do, it would be GREATLY appreciated!



RE: Unobtainable Custom Item? - palistov - 07-18-2011

I experienced this for a while too. It's because there is no valid image file. It should be in tga format.


RE: Unobtainable Custom Item? - Juby - 07-18-2011

(07-18-2011, 02:25 PM)palistov Wrote: I experienced this for a while too. It's because there is no valid image file. It should be in tga format.

It worked! Thanks a lot Smile