duplicating weapons
duplicating weapons
can someone tell me how to make so there are several several snipers in a map? as in, under the weapons tag, there will be sniper1 and sniper2? I need them to have seperate models. for example, I can have a reg sniper and a remodeled sniper in the same map. i'm assuming it requires a rebuild, but hoping it doesn't require any CE>PC. any help would be appreciated.
P.S. I think there was something like this in DECOY's sandwinder? idk
thanks
P.S. I think there was something like this in DECOY's sandwinder? idk
thanks
To have several snipers with several models, you'll have to:
save the meta of the weap:sniper
save the meta of the mod2:sniper
save the meta of the mod2:sniper first person
then, for each version you'll have to rename the each meta and xml file to be something like: sniper2.weap.meta, sniper2.weap.xml, sniper2.mod2.meta, sniper2.mod2.xml, sniper_fp2.mod2.meta, sniper_fp2.mod2.xml. Also, you'd need to go into each .xml file and change the actual filename of your sniper so you'd change:
to be
and do the same for the fp model and the weapon tag. then rebuild all of those into the map. you'd then change the dependencies of the weap:sniper2 to have the mod2s of sniper2. Congrats, you now have a second sniper in your map. Inject remodel data as you please. Note: they'll share the same bitmaps.
I'm fairly certain this'll work. Say so if it won't
save the meta of the weap:sniper
save the meta of the mod2:sniper
save the meta of the mod2:sniper first person
then, for each version you'll have to rename the each meta and xml file to be something like: sniper2.weap.meta, sniper2.weap.xml, sniper2.mod2.meta, sniper2.mod2.xml, sniper_fp2.mod2.meta, sniper_fp2.mod2.xml. Also, you'd need to go into each .xml file and change the actual filename of your sniper so you'd change:
Code: Select all
<Tag>2modFFFFFFFF</Tag>
<Filename>weapons\sniper\sniper</Filename>
Code: Select all
<Tag>2modFFFFFFFF</Tag>
<Filename>weapons\sniper\sniper2</Filename>
I'm fairly certain this'll work. Say so if it won't
Update: okay, so I tried it without the XML editing and got this in HMT:
sniper/fp/fp
sniper/fp/fp
they both acted like the same thing (I inject a model on one, it injects on the other). So I edited the XMLs to change the tag names, just to check if it would let HMT know that they were different. It showed up as
sniper/fp/fp
sniper/fp/fp2
same for weapon and t-person model. However, the model infection is still linked! they still change together even though they are different tags w/ different names. How do I get HMT to inject models independantly?
Once again, help is always appreciated.
ANOTHER UPDATE!
Got it! okay, so basically batch extracted icefields. then i went to some random map and installed a random sniper remodel. recursively extracted it straight into the icefields extract. then i add the sniper 2 (fp weap and reg mod2), including editing XMLs. then i basically pmied the regular mod2 of sniper 1, except in the rebuild stage, i added the sniper2 files. what i got out of that was
sniper/fp/fp
sniper/fp/fp2
except the regular sniper/fp/fp automatically has the model, and fp2 doesn't, therefore HMT views them as seperate, and you can inject seperately!so you basically change the normal sniper into your modded one and then add a completely new copy of the original. il type up a tutorial tomorrow
. thanks for your help guys.
sniper/fp/fp
sniper/fp/fp
they both acted like the same thing (I inject a model on one, it injects on the other). So I edited the XMLs to change the tag names, just to check if it would let HMT know that they were different. It showed up as
sniper/fp/fp
sniper/fp/fp2
same for weapon and t-person model. However, the model infection is still linked! they still change together even though they are different tags w/ different names. How do I get HMT to inject models independantly?
Once again, help is always appreciated.
ANOTHER UPDATE!
Got it! okay, so basically batch extracted icefields. then i went to some random map and installed a random sniper remodel. recursively extracted it straight into the icefields extract. then i add the sniper 2 (fp weap and reg mod2), including editing XMLs. then i basically pmied the regular mod2 of sniper 1, except in the rebuild stage, i added the sniper2 files. what i got out of that was
sniper/fp/fp
sniper/fp/fp2
except the regular sniper/fp/fp automatically has the model, and fp2 doesn't, therefore HMT views them as seperate, and you can inject seperately!so you basically change the normal sniper into your modded one and then add a completely new copy of the original. il type up a tutorial tomorrow
