Page 1 of 1

Replace Player Model?

Posted: Fri Jun 15, 2007 1:10 pm
by Shanik
Hi, I'm new here and started learning how to use Reality Factory a few weeks. I want to know how to replace the premade characters with models of your own.

I tried to add a Sonic the Hedgehog model as the player, but it messed the game up. I pasted the model in the actors folder and copied and altered a code for it in Pawn.ini file, but don't know what I'm doing wrong. :?

Posted: Fri Jun 15, 2007 2:33 pm
by paradoxnj
This is in the documentation and the tutorials. Is your model in ACT format?

Posted: Fri Jun 15, 2007 2:38 pm
by Shanik
I downloaded it as a 3Dmax file, imported into Milkshape3D and converted into an .act file.

EDIT: I think I did it; I just replaced the Virgil.act with my Sonic model and renamed Virgil.act.

Posted: Fri Jun 15, 2007 4:50 pm
by Voltare
there's a couple of other things ya gotta do as well as replace virgil....which you really don't have to do:Remember this is not exactly similar to modding quake or half-life...


1.Put the actor in the actors folder
2.go to this file "Character.ini" in the install folder.
3. copy the lines starting with " attributename" to "attributefile"
4. paste them on the bottom of that character.ini
5.replace the values of those with your own( actor name"sonic.act" etc.)then save that file.
6.use that character in your game.


if i missed any steps....heh..sorry....

Posted: Fri Jun 15, 2007 5:21 pm
by Ryan
Hey shanik

Welcome to the forums!!!!! :lol:

Posted: Fri Jun 15, 2007 7:17 pm
by Shanik
Thanks for the welcome and thanks for the advice, it really helped me out. :D

I have just one more problem though, my model isn't animated. Would I need to create a skeleton to go with it? If so, how would I go around creating it?

Posted: Fri Jun 15, 2007 11:15 pm
by Ryan
well, you would need to use milkshape to build a bone system and animate it. (correct me if im wrong)

You should check out the Ebook on making games in RF by Dan Valeo.

Heres the link. http://www.realityfactory.info/cms/inde ... umentation

refer to page 184 of the ebook. this should give you some help.