Page 1 of 1
Duplicating Weapons?
Posted: Tue Sep 28, 2004 9:09 am
by Tyrant
I know its been done before, but you know how some people duplicate like a warthog, rebuild the map in HMT and assign one vehicle different properties than the other (like creating a third type of warthog)? Well, I've been able to do that just fine, but when I try the same technique with weapons or projectiles, I keep getting that Exception Data message. Please help! Thank you!!!
Posted: Wed Sep 29, 2004 8:47 am
by Tyrant
I'm guessing that I'm just trying to duplicate the wrong files or not all of the right ones. Has anyone tried this? I'm also trying to duplicate the projectile. You know how the rocket warthog and rocket launcher oddly enough both fire the same projectile? Well, it would be cool if you could get a second type of rocket in there so one could be homing or more powerful than the other. Thanx in advance!
Posted: Wed Sep 29, 2004 10:03 am
by shadow wolf
Ok, i've duplicated a weapon before, its exactly the same as for hogs.
Projectiles, its the same.
easyish tut for Complete Duplication of Weapons and their projectiles:
first dl JCreator LE <-- its free, google it

then dl HOD from the files forum. (if its up

)
Batch extract your map
goto weapons folder
copy teh folder of the weapon you want to duplicate. (eg Plasma Rifle)
rename this folder (eg. PlasmaRifle1)
now, open JCreator and goto Search -> Replace in files
change the 'file type' path to *.xml
change the 'Look in' path to your copied folder (eg. PlasmaRifle1)
Find = Plasma Rifle
Replace = PlasmaRifle1
replace all
Now, rename all the files with Plasma Rifle in them to PlasmaRifle1 using HOD
Now, repeat with the sounds folder (some people forget this)
Now, Rebuild adding -weapon-.weap.meta and .mod2.meta
i fink thats it

(if it doesnt work for you, then i'll fix this l8er)
Posted: Wed Sep 29, 2004 11:19 am
by Tyrant
Thank you, Shadow Wolf!!!!

I'll give it a try

Posted: Wed Sep 29, 2004 12:57 pm
by Tyrant
YAY! Success! lol. Okay, so I tried what you said, Shadow Wolf, but sadly it didn't work. So I decided to give it a whirl myself. There are actually two vehicle duplication tutorials floating around out there (both vastly different from each other). The one you were talking about I was never able to get working quite right, but the other one had a different approach. It said instead of duplicating the vehicle folder to simply create a new one and only put inside the things you want to change in the new vehicle (or in this case weapon). So all I added was the rocket launcher.weapon.meta & .xml, the rocket launcher.mod2.meta & .xml, and the rocket.proj.meta & .xml. Then I changed all the "rocket" names to "missile." Then I opened up the .xml documents with Notepad and only changed the sixth line from the top from "weapons/rocket launcher/rocket launcher" to "weapons/missile launcher/missile launcher" and left the others alone. Here's where your brilliant modding skills came in, Shadow Wolf

I had never considered the sound an issue up until this point. So I went in and created a new folder in the sound/sfx/weapons folder called "missile launcher" and copied in there every sound file that had the word "rocket" or "rl" in the title. i changed them to either "missile" or "ml" and then opened the .xml documents in Notepad and changed only the sixth line from the top to the corresponding title. Sure enough...success! Also, Shadow Wolf, I hadn't considered placing the .mod2 file in the new folder until you mentioned it, so you REALLY helped me out!

Thank you sooo much! Hope this helps you too! Thanx again!
Posted: Sat Oct 23, 2004 10:01 am
by sparkicks
how do u dupe weapons anyway if you could just post a link to a tut thanks
Posted: Sat Oct 23, 2004 10:07 am
by Locke
Look in the files forums
Posted: Sat Oct 23, 2004 10:13 am
by sparkicks
am i searching for the wrong thing or am i spelling it wrong i searched under tutorials duping vehicles
Posted: Sat Oct 23, 2004 10:15 am
by sparkicks
w8 a sec there is like 1 page of tutorials where are they all
edit:i still cant find one on copying vehicles
Posted: Sat Oct 23, 2004 10:51 am
by sparkicks
there is only topics on bringing vehicles into the map that are in hmt but not on the actual map please help someone