PDA

View Full Version : Need help changing Interceptor weapons.


Starblade
20th Apr 04, 1:15 PM
Could someone make a mod, adding (not replacing) a 'Super Interceptor', basically a Interceptor with a Mover weapon for me, seeing as how I can't even get the tools to do it?

airguitargiles
20th Apr 04, 2:33 PM
you don't need any tools for this all you have to do is edit the right files

Tefeari
20th Apr 04, 2:33 PM
Thats just RDN packet or NOTEPAD (comes with windows)... Lua editing takes no real tools, and lua does ships scripts, weapons, and such.

Starblade
21st Apr 04, 4:49 AM
Oh really? Thanks.

This will give the Int. a mover weapon underneath it inplace of the the autocannon it has? So the gun shows up? Oh, and I know how to use -overrideBigFile. Yay!

What do I look at to change it, and what do I change? I had a thread that said how to do this in mind, but I can't seem to find it. That's why I'm asking. And yes, I searched.

Thanks again. :D

Starblade
21st Apr 04, 12:15 PM
Edit 2.

Okay, I got the overrideBigFile working, and here's the part of the hgn_interceptor.ship that i changed:

StartShipWeaponConfig(NewShipType,"Kpr_KineticDriver","Weapon_FrontGun","Fire") I assume that's the gun the Mover uses.

It was:

StartShipWeaponConfig(NewShipType,"Hgn_KineticAutoGun","Weapon_FrontGun","Fire")


I loaded up HW2, and it didn't work! The Inteceptors had the same guns, and the textures were the same.

Also, I couldn't find the weapon, ship, etc. files in the Data or Bin Folders, so I downloaded them from Karos Graveyard and put that 'data' folder in the Data folder. Would this have something to do with my problem?

Starblade
22nd Apr 04, 5:45 AM
Damn, I STILL can't get the stupid thing to work! Is there something else I change in the Ship File, or is it because it's a downloaded data file from Karos Graveyards.com, that I put in the 'Data' folder? Argh! I can't find the answer anywhere! :bricks:

Moe
22nd Apr 04, 6:09 AM
The textures shouldn't change anyway (you mean the gun textures, right?). Other than that, this should actually work.
What do you mean by you "downloaded data file from Karos"? Where did you put your files?
Have you tried changing anything else? Have you successfully changed something else? Could you try to just lower the build time for the interceptor and see if that works, while leaving the gun alone?

TON_Viper
22nd Apr 04, 10:12 AM
Yeah, you won't notice any change other than the bullet the gun fires. If you want to change the physical appearance of the Interceptor gun, well now, that's a whole other bee-hive, and not something I'd recommend as your first HW2 modding experience. ;)

Unicron
22nd Apr 04, 11:22 AM
http://www.dendezyn.net/hw2pics/ss00001a.jpg
http://www.dendezyn.net/hw2pics/ss00002a.jpg

Starblade
22nd Apr 04, 1:03 PM
As to what Moe asked:

I downloaded a file from a website called KarosGraveyard.com called 'data'. It has all the ship and weapon files in the game, and other things, I downloaded because I couldn't find them in the normal Data folder that comes with HW2, or anywhere for that matter. I put 'data' into the big "Data" folder in Sierra\Homeworld2\Data.

the Data file now has:
Animatics
levelData (which contains the custom maps from playing online, which work)
data (the one i downloaded)
English.big
Homeworld2.big
etc.


The file I downloaded has:
ai (folder) ?
missile (folder) missile things, I assume
ship (folder) with all ships inside
weapon (folder) with all weapons inside
leveldata (folder) with tutorial and campaign inside
subsystem (folder) all subsystems inside
scripts (folder) ?

I tried changing the squadron size to 9. It also didn't work. And yes, the -overrideBigFile is working.

Unicron, how did you do that? Argh, I need to know what I'm doing wrong!

Unicron
23rd Apr 04, 3:22 AM
Your modification won't work because you've made a mistake with the folders.

Remove the new data folder that is within Relic's Data folder, and put the content of data into Data.

At the end, the Data folder should have this content;

ai
Animatics
leveldata
missile
scripts
ship
subsystem
weapon

English.big
EnglishSpeech.big
Music.big
Homeworld2.big

Starblade
23rd Apr 04, 5:54 AM
Oooooohhhh, I thought I had to keep it in the downloaded file. Thanks Unicron!

Moe
23rd Apr 04, 7:06 AM
Thats what I was trying to find out, but I see Unicron already caught it. By the way, in case you want to remove it someday, only the animatics folder has to remain, as well as the 4 .big files.

Starblade
23rd Apr 04, 12:03 PM
Thanks all! :D It's working perfectly now!

BTW, to add another Interceptor, say, one that shoots missiles, all I do is copy the file, rename it, and change the weapon right?

One last question: How do I add more weapons to a ship? Does that involve lua editing?

Moe
24th Apr 04, 10:31 AM
Starblade, check out Karos Graveyards. There is a tutorial on adding a new weapon class, I believe, and possibly a new ship.

Adding more weapons: you need to add hardpoints first. I think Pip wrote a tool for that, which is fairly easy to use. Once you have the additional hardpoints, you just add new weapons in the ship file.

Tel'Quessir
24th Apr 04, 6:58 PM
For small ships you can tolerate use of multiple weapons on the same hardpoint, as long as it is not a turreted device [or weapons will fight for control of the turret].

Just throw multiple weapons on the same hardpoint assignment, leaving the fire effect field blank [""] if necessary. Mover weapon + missiles, for example.

Starblade
25th Apr 04, 9:02 AM
Oh okay. I added "weapon_fire" on the missile thing, maybe that's why it didn't work. Thanks again!

The Titan
25th Apr 04, 9:31 PM
Anybody know how to increase damages on ships? I know the whole hitpoints thing, but I dont know how to increase weapon damage. I want to make the mothership a deadly undertaking...

Moe
26th Apr 04, 4:23 AM
You have to edit the weapon files for that, not the ship files. Look in the mothership ship file to see what weapon it is using, then look up the weapon file with that name and edit the damage in there.