Frictional Games Forum (read-only)
Custom lantern crashes the game? - 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: Custom lantern crashes the game? (/thread-21085.html)

Pages: 1 2


Custom lantern crashes the game? - mrsomeepicrandomguy - 04-07-2013

Well yea my lantern crashes the game when I press "F" and i can't find the error in the hpl file so any suggestions?


RE: Custom lantern crashes the game? - PutraenusAlivius - 04-08-2013

You are missing
- custom_story_settings.cfg
- Inventory.hps
- global.hps
And remember that custom lantern can only be used in a full conversion.


RE: Custom lantern crashes the game? - mrsomeepicrandomguy - 04-08-2013

(04-08-2013, 02:03 AM)JustAnotherPlayer Wrote: You are missing
- custom_story_settings.cfg
- Inventory.hps
- global.hps
And remember that custom lantern can only be used in a full conversion.
Its a full conversion, and if i change it to another lantern or the flashlight it works fine.


RE: Custom lantern crashes the game? - NaxEla - 04-08-2013

Did you edit the lantern.ho so that it points to your custom lantern?
Code:
Model = "lantern/lantern_name.ent"



RE: Custom lantern crashes the game? - mrsomeepicrandomguy - 04-08-2013

(04-08-2013, 06:26 AM)NaxEla Wrote: Did you edit the lantern.ho so that it points to your custom lantern?
Code:
Model = "lantern/lantern_name.ent"
Yes


RE: Custom lantern crashes the game? - PutraenusAlivius - 04-08-2013

Do you give your lantern a proper body and type?


RE: Custom lantern crashes the game? - mrsomeepicrandomguy - 04-08-2013

(04-08-2013, 10:06 AM)JustAnotherPlayer Wrote: Do you give your lantern a proper body and type?
Yea


RE: Custom lantern crashes the game? - PutraenusAlivius - 04-08-2013

Give us the lantern.


RE: Custom lantern crashes the game? - mrsomeepicrandomguy - 04-08-2013

(04-08-2013, 10:23 AM)JustAnotherPlayer Wrote: Give us the lantern.
Now it's in the first post, but it opens great in the model editor and so, but when i try to place it out in the level editor it crashes and when i try to pick up another lantern in my full conversion, it should loud my lantern when i put it up, but the game crahes dont know if you understand but anyway.. :p


RE: Custom lantern crashes the game? - Statyk - 04-08-2013

The .ent in newlantern.rar is set up as a StaticProp. Go to Settings > User Defined Variables and change it to HandObject.