Page 1 of 1
Placing weapons and pawns.
Posted: Sun Dec 04, 2005 7:18 pm
by CowboyUp
Ok, this is driving me NUTS. I know how to place things like act material and explosion and what not in the level, but how do I, for example, change the Act Material so it puts a weapon or a pawn in the level?
Posted: Sun Dec 04, 2005 7:44 pm
by QuestOfDreams
what should an actmaterial have to with weapons or pawns?
did you read the docs?
for weapons use the attribute entity, for pawns use the pawn entity...
Posted: Sun Dec 04, 2005 7:57 pm
by CowboyUp
I get that, but how do I change the attrubute or pawn entity so it uses the actor I want it to?
Posted: Sun Dec 04, 2005 8:32 pm
by AndyCR
attribute - szActorFile field in-editor
pawn - actorname entry in install/pawn.ini
Posted: Sun Dec 04, 2005 8:57 pm
by CowboyUp
Ok, thanks alot.
Now I got a small problem with replacing the Player Avatar actor. I clicked the player setup and changed to WolfmanX2.act and when I compiled and ran the level, it worked, I was controlling the Wolfman, but he wasnt animating at all. I know he has animations because I checked him in Viewer right before I put him in. Am I supposed to change something else in-editor besides the Actor Name?
Posted: Sun Dec 04, 2005 10:04 pm
by CowboyUp
I'm having some problems with getting weapons to work. When I place the Attribute entity, and I select it and get the little properties grid on the right, what things do I need to change to make it a weapons instead of nothing? I tried just replacing the Actor, but when I compiled I got a message that said it couldn't find the weapon.act. Is there more to it than just changing the actor file?
Posted: Wed Dec 07, 2005 5:54 pm
by Jay
The PlayerAvatars Animations are in the PlayerSetup.ini. You will have to work with the ActorViewer to get the names of the animations, and then you have to paste them into the PlayerSetup.ini.
For more information read the docs(PlayerSetup file)
Also, when RF says that "weapon.act" could not be found, then that means that there is no file named "weapon.act" in the media\actors folder. If the file is in media\actors\weapon then you have to type in "weapon\weapon.act"
Posted: Wed Dec 07, 2005 6:41 pm
by AndyCR
Jay wrote:The PlayerAvatars Animations are in the PlayerSetup.ini. You will have to work with the ActorViewer to get the names of the animations, and then you have to paste them into the PlayerSetup.ini.
For more information read the docs(PlayerSetup file)
Also, when RF says that "weapon.act" could not be found, then that means that there is no file named "weapon.act" in the media\actors folder. If the file is in media\actors\weapon then you have to type in "weapon\weapon.act"
just to clarify, i believe it has to be "weapon\\weapon.act" or "weapon/weapon.act" to work.