Frictional Games Forum (read-only)
Why does applying a new lantern impossible for CS? - 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: Why does applying a new lantern impossible for CS? (/thread-25233.html)

Pages: 1 2


Why does applying a new lantern impossible for CS? - PutraenusAlivius - 05-07-2014

What the title said. I mean couldn't we just use a separate model of the lantern?
What's the thing that prevents it?

EDIT:
For Custom Stories, not Full Conversions.


RE: Why does applying a new lantern impossible for CS? - Mudbill - 05-07-2014

I'm guessing it has something to do with the game only loading one lantern during startup to use, so changing one during runtime wont work. I haven't messed around that much with custom lanterns though.


RE: Why does applying a new lantern impossible for CS? - Romulator - 05-07-2014

Couldn't you just put your lantern directory higher in the resources.cfg, and change some of the cfg's to point to that lantern?

Either way, the main reason for not using it in CS' is because that it interferes with the user's lantern. It would also mean that the custom lantern would be used in all CS' and the original Amnesia. You would want to include the original lantern for the sake of backing up if you release one with an edited model. Smile


RE: Why does applying a new lantern impossible for CS? - PutraenusAlivius - 05-07-2014

As it turns out, the reason you can't do it is because of the Lantern.ho file. It references the Lantern model and you can't override it.


RE: Why does applying a new lantern impossible for CS? - SSEAlexander - 05-07-2014

Well,
For my Forest Warrior DLC
Im gonna do special script.
Im gonna make flashlight.
How it will work :
1.I will use The HUD script to Make Flashlight appear.Just like i did with radio.
2.I will use CreateEntityAtEntity to create pointlights at player.But how? Procced to 3.
3.I will add Timer (0.01) that will keep disabling and enabling CreateEntityAtEntity script.That allows me to make pointlight follow the player.
Done.
Also,Interactable area to make it enabling/Disabling.


RE: Why does applying a new lantern impossible for CS? - PutraenusAlivius - 05-07-2014

(05-07-2014, 02:09 PM)stenclowskimat Wrote: Well,
For my Forest Warrior DLC
Im gonna do special script.
Im gonna make flashlight.
How it will work :
1.I will use The HUD script to Make Flashlight appear.Just like i did with radio.
2.I will use CreateEntityAtEntity to create pointlights at player.But how? Procced to 3.
3.I will add Timer (0.01) that will keep disabling and enabling CreateEntityAtEntity script.That allows me to make pointlight follow the player.
Done.
Also,Interactable area to make it enabling/Disabling.

Umm, I'm asking why is custom lanterns impossible. Not your script.


RE: Why does applying a new lantern impossible for CS? - FlawlessHappiness - 05-07-2014

Sten still had a good idea, to work around this.

I'm guessing it's because the lantern directory is special, and cannot be changed in a CS.
It's a forced directory


RE: Why does applying a new lantern impossible for CS? - DnALANGE - 05-07-2014

(05-07-2014, 02:09 PM)stenclowskimat Wrote: Well,
For my Forest Warrior DLC
Im gonna do special script.
Im gonna make flashlight.
How it will work :
1.I will use The HUD script to Make Flashlight appear.Just like i did with radio.
2.I will use CreateEntityAtEntity to create pointlights at player.But how? Procced to 3.
3.I will add Timer (0.01) that will keep disabling and enabling CreateEntityAtEntity script.That allows me to make pointlight follow the player.
Done.
Also,Interactable area to make it enabling/Disabling.

How you want to go there?? : Also,Interactable area to make it enabling/Disabling.
That would be like, you should see the charactors hand{for toutching something} all the time??


RE: Why does applying a new lantern impossible for CS? - Slanderous - 05-07-2014

(05-07-2014, 05:55 PM)DnALANGE Wrote:
(05-07-2014, 02:09 PM)stenclowskimat Wrote: Well,
For my Forest Warrior DLC
Im gonna do special script.
Im gonna make flashlight.
How it will work :
1.I will use The HUD script to Make Flashlight appear.Just like i did with radio.
2.I will use CreateEntityAtEntity to create pointlights at player.But how? Procced to 3.
3.I will add Timer (0.01) that will keep disabling and enabling CreateEntityAtEntity script.That allows me to make pointlight follow the player.
Done.
Also,Interactable area to make it enabling/Disabling.

How you want to go there?? : Also,Interactable area to make it enabling/Disabling.
That would be like, you should see the charactors hand{for toutching something} all the time??

Well you can always replace the hand with transparent image.


RE: Why does applying a new lantern impossible for CS? - DnALANGE - 05-07-2014

NOT without Full Conversion :O
Then you need to change it's Original hand file\picture...
People should NEVER change it's Original files ( would NOT be a good idea to do for mod\story makers )