Page 1 of 1

Is somthing like this possible with actors in rf?

Posted: Sun Nov 25, 2007 2:44 am
by fps

Posted: Sun Nov 25, 2007 4:45 am
by vrageprogrammer
maybe....maybe not......

Depends on whether you can get the player texture to animate(.gif)

Posted: Sun Nov 25, 2007 12:44 pm
by QuestOfDreams
You have to add the textures that form the animation to the actor and use an ActMaterial entity. The entry in the material.ini file would have to look like this:

Code: Select all

[ani0]
material=material0

[ani1]
material=material1

[ani2]
material=material2

[ani3]
material=material3

...

Posted: Sun Nov 25, 2007 12:50 pm
by Jay
Doesn't the flipbook entity with Player as 'EntityName' work too? Just a suggestion.

Posted: Sun Nov 25, 2007 12:53 pm
by QuestOfDreams
No, this would only place a Flipbook in the level that moves with the player actor. It would not affect the actor's textures.

Posted: Mon Nov 26, 2007 5:01 pm
by vrageprogrammer
QuestOfDreams wrote:You have to add the textures that form the animation to the actor and use an ActMaterial entity. The entry in the material.ini file would have to look like this:

Code: Select all

[ani0]
material=material0

[ani1]
material=material1

[ani2]
material=material2

[ani3]
material=material3

...
Er....It's not working.....

Posted: Mon Nov 26, 2007 5:30 pm
by Juutis
vrageprogrammer wrote:Er....It's not working.....
What do you mean?

It does work. You have to tell the actor to change the material with a script or an ActMaterial entity.

Posted: Mon Nov 26, 2007 5:42 pm
by vrageprogrammer
Tried it, game crashes..
**Edit**

Fixed it.....
Hurray!!
I made a guy with a clock on his chest!

Posted: Tue Nov 27, 2007 2:29 pm
by fps
really, could you post the files so i can try it?

Posted: Tue Nov 27, 2007 7:01 pm
by vrageprogrammer
fps wrote:really, could you post the files so i can try it?
Sure, just a sec....

Posted: Wed Nov 28, 2007 2:35 pm
by fps
where are you posting them?

Posted: Fri Nov 30, 2007 5:32 am
by vrageprogrammer
filefront