![]() |
Displacement/Height maps?! - 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: Displacement/Height maps?! (/thread-30183.html) |
RE: Displacement/Height maps?! - Romulator - 07-01-2015 (06-30-2015, 09:48 PM)Amnesiaplayer Wrote:(06-30-2015, 09:38 PM)Traggey Wrote: Sure it is, however the standing ontop won't work if the tank/buss is an enemy or so, if it's just an animated prop it should work. No, you would need to use AddPropForce() or AddPropImpulse(). RE: Displacement/Height maps?! - The chaser - 07-01-2015 (06-30-2015, 07:28 PM)Traggey Wrote: Parallax mapping FAKES height, but doesn't create new geometry so it only works on for example flat surfaces, to create the effect you use a black and white image, black is deep down and white is high up. Hummm... this left me confused. What is the difference between normal maps and height maps then? RE: Displacement/Height maps?! - Traggey - 07-01-2015 A normal map simulates light, a parallax map simulates depth. Left side, normal map only, right side Normal map and Parallax map. ![]() RE: Displacement/Height maps?! - The chaser - 07-01-2015 (07-01-2015, 02:16 PM)Traggey Wrote: A normal map simulates light, a parallax map simulates depth. True, thank you for your explanation ![]() RE: Displacement/Height maps?! - Amnesiaplayer - 07-01-2015 Thanks all. I have to work a long time for the tank/bus etc. Btw, why can't you stand on top of monsters?! I remember me standing on grunt's head... Like, you have to add collision box to the "Object" RE: Displacement/Height maps?! - Romulator - 07-02-2015 Everything in Amnesia has a "Body". If specified in the Model Editor that the player can collide with it, then you can stand on top of it. RE: Displacement/Height maps?! - Amnesiaplayer - 07-02-2015 (07-02-2015, 02:35 AM)Romulator Wrote: Everything in Amnesia has a "Body". If specified in the Model Editor that the player can collide with it, then you can stand on top of it. Oh, so then it is possible? To stand on top of a monster? Becasue then, this would be easiest way of making it, since you actually have pathnodes ![]() RE: Displacement/Height maps?! - Romulator - 07-02-2015 Yes, but then, if you look at your bus, you will lose sanity. You may also need to do animations and things for it. RE: Displacement/Height maps?! - Amnesiaplayer - 07-02-2015 (07-02-2015, 08:38 AM)Romulator Wrote: Yes, but then, if you look at your bus, you will lose sanity. You may also need to do animations and things for it. I know. but I think I remember there was script for stop getting sanity drain for looking to monster, is this right! That would be helpfull, I'm not sure tho, Thought I saw it in the sctip engines ![]() And yes, I know I need to do some animations. btw, if I make 3 animations apart, can I "Play" one seperate animation by doing the script"Play prop animation" or something like that?! so you can play 3 diffirent animations when you want, if this is right, then this would be easy for me. RE: Displacement/Height maps?! - Romulator - 07-02-2015 I believe SetSanityDrainDisabled(); is what you're looking for. And I don't know how PlayPropAnimation(); works, but give it a go. If you have an understanding of how scripting works and how to substitute the strings and such, then you may be able to pull something out of your hat. |