Page 1 of 1

2 of same weapon

Posted: Wed Apr 27, 2005 12:42 pm
by FAdu09
is there a way to have 2 of the same weapons? i want to have to versions of the flamethrower that both do different things on the same map but i dont know how. i have an idea but i dont want to screw up what ive got.

Posted: Thu Apr 28, 2005 12:31 pm
by BoxBoy
im thinking you would have to make another weapon have same animations, skin and then just change the projectile, but thats me. does this belong in the mapping forumns though?

Posted: Thu Apr 28, 2005 12:38 pm
by FAdu09
BoxBoy wrote:im thinking you would have to make another weapon have same animations, skin and then just change the projectile, but thats me. does this belong in the mapping forumns though?
id think so because im askin it for a map im making

Posted: Thu Apr 28, 2005 2:41 pm
by BoxBoy
Oic, well i surggest doing it on the needler... that gun is pretty useless.

Posted: Thu Apr 28, 2005 5:20 pm
by CMDR Reservoir
Yes it is very possible. You just have to copy whatever your gonna make a duplicate of and place it in guerilla or sapien or whatever. Then you can use both of them. Provided each has a seperate ability.

Posted: Thu Apr 28, 2005 6:04 pm
by Patrickssj6
no you can't becuase when you convert it all path are defined

Posted: Tue May 03, 2005 12:34 pm
by FAdu09
Patrickssj6 wrote:no you can't becuase when you convert it all path are defined
then what about in haloball? two versions of the rocket hog


thx reservior :)

Posted: Tue May 03, 2005 12:57 pm
by Danke
Easily done, just copy the weapon tag and any tags you want to edit. If you edit more than the weapon tag, you have to edit the paths in the weapon tag to point to yours. It's pretty simple once you look at it.

Posted: Tue May 03, 2005 1:16 pm
by [CL]9mm-Man
Yeah like Dan!! said, what I do is copy the whole tag, so for you like flame thrower, then paste it into the the weapons folder and rename it to like what ever you want the gun to be. Then rename the flamethrower.weapon to the same name as your new gun folder, then change the paths of the model and then what ever you edit (like projectile) after you edit them rename it and then make sure you have selected the new path of the projectile other wise it will use the default flamethrower one.

So you may be confused.
Anything you edit = Change path

Posted: Tue May 03, 2005 1:32 pm
by Danke
You actually don't even have to do that, that's just the organized way, I tend to keep cloned weapons in the same folder to make things a little simpler.

Posted: Tue May 03, 2005 1:43 pm
by Patrickssj6
if you got the pistol folder and copy it somewhere else and change a bitmap file in that copied folder then it won't work becuase it acces the origianlly folder.if you just change the .weapon tag it doesn't matter.

Posted: Tue May 03, 2005 5:29 pm
by FAdu09
now im just lost :P

Posted: Tue May 03, 2005 9:19 pm
by Danke
If you copy the whole folder and don't edit any tags, yes, the .weapon tag will still reference the original .weapon tag's references. If you edit the .weapon tag you can change what is and isn't referenced. So you can change what projectile is referenced, or leave the old reference there.
Image
In that picture, the weap tag at the bottom right references new projectile and firing effect tags I made or edited, but still references the old model tag. So my new weapon now looks like the old one but shoots a new proj and looks different when I shoot it. But the one on the top right is unedited and still points to the old tags, so it's basically exactly the same and is useless.

Also, you'll need to make your own item_collection tag for your new weapon.