Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Weapons changing; whange the weapon the player is holing
Topic Started: Jul 25 2006, 09:06 PM (242 Views)
migileke
Unregistered

I'm making a 3RD person RPG, and I've got some nice animations for the player, but I have a problem: The player has a sword, and can hit with it, but how do I change that sword? And his helmet? and his armor etc? I mean, do I have to make a model for every combination? That'd suck...
Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Funny that you ask, because I was thinking about the same question a few hours ago and Dr.Best came with a suggestion that you can make a swing-animation for each sword-model and make one player-model animation where he is swinging without a sword and then load it to the player's hands in game. In short: cynque the swing-animation of the sword with the swing-animation of the player-model and then load these 2 models separately in your game. And for the helmet and armor, I came up with another solution: make a object for your helmet and one for your armor and then set the Z-variable so that it is in the same level as with your player-model's head and torso. Then set your player-object as parent to your armor-object and helmet-object so that they follow the player when he moves.
Offline Profile Quote Post Goto Top
 
migileke
Unregistered

Thanks!

I get what you mean, and what it will do, but there's one problem with the helmet and armor: whenever your character ducks/crawls/bends foreover when slashing, then the armor will stay where it is and the player will go 'through' his armor, won't he? I guess I'll have to do the sword-trick there.

Off-topic: When will Ultimate3D be released (rougly, I mean: in one month, in 3 months, in a year...)? And project Cynthillia?
Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
migileke
Jul 26 2006, 10:56 AM
Thanks!

I get what you mean, and what it will do, but there's one problem with the helmet and armor: whenever your character ducks/crawls/bends foreover when slashing, then the armor will stay where it is and the player will go 'through' his armor, won't he? I guess I'll have to do the sword-trick there.

Off-topic: When will Ultimate3D be released (rougly, I mean: in one month, in 3 months, in a year...)? And project Cynthillia?

Well, for the ducking part you can just make it so that when ducking=true reduce armor/helmet-object's Z-variable so they are in relative Z-level in ducking as for standing. Crawling will be more difficult to solve. You would have to play around with the rotx-variable so that the armor rotates according the players body while crawling. It is all very tricky, but there's always a solution to almost anything ;)

You have to ask Dr.Best when the new version of U3D is coming. As for Project Cynthillia, I was hoping to have a first release sometime around Christmas this year. But I am not 100% certain.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply