Frictional Games Forum (read-only)
Model help - 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: Model help (/thread-12478.html)



Model help - JetlinerX - 01-09-2012

So-

We are about 5 days from our release, and we have a .mat file we would like to add to a monster (attached to them) and we are curious about how to do this. Can anyone offer some help?

(Note: If this is too complex, we may ditch the idea)



RE: Model help - Elven - 01-09-2012

Basically what you are asking is how to put new 'texture' on top of monster?

If yes, I would be interested to find that out too ;D



RE: Model help - JetlinerX - 01-09-2012

Basically how to make the Pedo bear from Dark Room. (We ARE NOT doing that, that is just for example purposes)



RE: Model help - Statyk - 01-09-2012

(01-09-2012, 03:35 AM)JetlinerX Wrote: Basically how to make the Pedo bear from Dark Room. (We ARE NOT doing that, that is just for example purposes)
That was either a billboard or a particle system. If it's a billboard, place the image and corresponding .mat in your root "billboards" folder, go into the model editor and place the billboard where needed, change it's axis point, scale, and attach to the body.


RE: Model help - Rapture - 01-09-2012

(01-09-2012, 03:28 AM)JetlinerX Wrote: So-

We are about 5 days from our release, and we have a .mat file we would like to add to a monster (attached to them) and we are curious about how to do this. Can anyone offer some help?

(Note: If this is too complex, we may ditch the idea)
Your just replacing its texture right? It should be in a .dds format, and in the same folder as your monster. Just change the .mat to use the new texture (bolded).
Code:
<TextureUnits>
        <Diffuse AnimFrameTime="" AnimMode="" File="RockSmooth0102_Darkened.dds" Mipmaps="true" Type="2D" Wrap="Repeat" />
    </TextureUnits>






RE: Model help - flamez3 - 01-09-2012

(01-09-2012, 03:39 AM)Statyk Wrote:
(01-09-2012, 03:35 AM)JetlinerX Wrote: Basically how to make the Pedo bear from Dark Room. (We ARE NOT doing that, that is just for example purposes)
That was either a billboard or a particle system. If it's a billboard, place the image and corresponding .mat in your root "billboards" folder, go into the model editor and place the billboard where needed, change it's axis point, scale, and attach to the body.
Correct, it was a billboard. Was doing this for my own CS as well : D




RE: Model help - Acies - 01-09-2012

(01-09-2012, 03:39 AM)Statyk Wrote:
(01-09-2012, 03:35 AM)JetlinerX Wrote: Basically how to make the Pedo bear from Dark Room. (We ARE NOT doing that, that is just for example purposes)

That was either a billboard or a particle system. If it's a billboard, place the image and corresponding .mat in your root "billboards" folder, go into the model editor and place the billboard where needed, change it's axis point, scale, and attach to the body.
Attach it to a bone(?). Also remember to add a light with zero radius, connect the billboard to it. When activating and deactivating your monster set the color of the light to white respectively black. Otherwise the billboard will linger at the monsters last location.

Deactivation can easily be added on a checkpoint script, if the player should die (automatically sets monster inactive). The billboard will however linger if the monster is set unactive due to the end of pathnodes/distance from player (whatever automatically deactivates monsters patrolling).

Good luck :>