2 of same weapon
2 of same weapon
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.
-
- Posts: 251
- Joined: Tue Feb 03, 2004 12:48 pm
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
-
- Posts: 773
- Joined: Tue May 04, 2004 7:14 am
- Location: Uranus
![]() |
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
So you may be confused.
Anything you edit = Change path
Your image cannot exceed 400x200 or 50kb
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
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.

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.

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.