Duplicating Weapons?

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
Tyrant




Articulatist 250

Posts: 298
Joined: Tue Sep 28, 2004 8:44 am
Contact:

Duplicating Weapons?

Post 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!!!
Image
EARTH CITY: Become a citizen, live the legend.
www.earthcity.us
Tyrant




Articulatist 250

Posts: 298
Joined: Tue Sep 28, 2004 8:44 am
Contact:

Post 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!
Image
EARTH CITY: Become a citizen, live the legend.
www.earthcity.us
shadow wolf





Posts: 334
Joined: Wed Apr 21, 2004 8:58 am
Location: Getting eaten by tux
Contact:

Post 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 :P)

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)
Image
Tyrant




Articulatist 250

Posts: 298
Joined: Tue Sep 28, 2004 8:44 am
Contact:

Post by Tyrant »

Thank you, Shadow Wolf!!!! :-) I'll give it a try :-D
Image
EARTH CITY: Become a citizen, live the legend.
www.earthcity.us
Tyrant




Articulatist 250

Posts: 298
Joined: Tue Sep 28, 2004 8:44 am
Contact:

Post 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! :-D Thank you sooo much! Hope this helps you too! Thanx again!
Image
EARTH CITY: Become a citizen, live the legend.
www.earthcity.us
sparkicks





Posts: 151
Joined: Sat May 15, 2004 8:07 am

Post by sparkicks »

how do u dupe weapons anyway if you could just post a link to a tut thanks
User avatar
Locke




Socialist Advisor Translator

Posts: 2225
Joined: Fri Aug 06, 2004 1:42 am
Location: Woot.com
Contact:

Post by Locke »

Look in the files forums
Image
Feel free to send me an instant message if you need anything.
sparkicks





Posts: 151
Joined: Sat May 15, 2004 8:07 am

Post by sparkicks »

am i searching for the wrong thing or am i spelling it wrong i searched under tutorials duping vehicles
sparkicks





Posts: 151
Joined: Sat May 15, 2004 8:07 am

Post 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
sparkicks





Posts: 151
Joined: Sat May 15, 2004 8:07 am

Post 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
Post Reply