Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model help
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#1
Model help

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)

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

01-09-2012, 03:28 AM
Website Find Reply
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#2
RE: Model help

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

The Interrogation
Chapter 1

My tutorials
01-09-2012, 03:34 AM
Find Reply
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#3
RE: Model help

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

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

01-09-2012, 03:35 AM
Website Find Reply
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Model help

(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:39 AM
Find Reply
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#5
RE: Model help

(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).
<TextureUnits>
        <Diffuse AnimFrameTime="" AnimMode="" File="RockSmooth0102_Darkened.dds" Mipmaps="true" Type="2D" Wrap="Repeat" />
    </TextureUnits>



01-09-2012, 03:42 AM
Find Reply
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#6
RE: Model help

(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:54 AM
Find Reply
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#7
RE: Model help

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



[Image: mZiYnxe.png]


01-09-2012, 04:19 AM
Find Reply




Users browsing this thread: 1 Guest(s)