Frictional Games Forum (read-only)

Full Version: Model help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
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
Basically how to make the Pedo bear from Dark Room. (We ARE NOT doing that, that is just for example purposes)
(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.
(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>



(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

(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 :>