PDA

View Full Version : Need help with a modification


Skillz
06-11-2007, 4:41 AM
Alright I got Datedit working good. I made my first, very simple mod to see how the process went.

That was making it so that the bunker could hold 8 units, instead of the default 4. It was a success, and I know it's been done many times before, but I needed something simple so that I could test to make sure the mod worked.

Now, onto something a little more tuff.

I wanted to give the Turret the ability to attack ground units. First I just set the weapon to be the Marine Rifle, but it didn't work.

I then decided that maybe I can put a unit inside the turret, and it can shoot the ground units. Well, I got it to hold a unit but once the unit goes in, its gone. No getting it back, and it doesn't attack anything.

Little help?

U-238
06-11-2007, 10:05 AM
It's not, technicly, gone. You just need an "unload" button. You can add one in memgraft (but it will only work for patch 1.13e) Also it is currently impossible to get any other building to act like a bunker. You can load/unload units into buildings but you cannot get them to shoot out like a bunker.

Skillz
06-11-2007, 1:51 PM
It's not, technicly, gone. You just need an "unload" button. You can add one in memgraft (but it will only work for patch 1.13e) Also it is currently impossible to get any other building to act like a bunker. You can load/unload units into buildings but you cannot get them to shoot out like a bunker.

Thanks.

I guess I need to wait till FireGraft gets done. :concern:

Would it be possible to make the turret shoot ground units then?

NeutronHInc
06-11-2007, 3:44 PM
Thanks.

I guess I need to wait till FireGraft gets done. :concern:

Would it be possible to make the turret shoot ground units then?Yes, you can make the Missile Turret (and the Spore Colony as well) attack ground units with their default weapons. I always use their default weapons so I don't have to edit anything else so it won't crash.

First, open DatEdit and select the Missile Turret.
Second, while in Basic under the Units tab you should see the Air Weapon for the Turret, above that is the Ground weapon, simply make them the same. ie Longbolt Missiles and Max hits: 1.

Now, you want to go into Weapons and find the Longbolt Missiles. In the lower right is "Target Flags:", check the box next to 0x02 (Ground).

Now go File - Multi-file MPQ Export (if you have DatEdit v1.1d) and check the boxes for units.dat and weapons.dat and hit Ok.

Load the MPQ or make it a self extracting EXE and run it.

Your Missile Turrets should now attack any unit, air or ground.

Hope this was helpful.