Weapons
Moderators: GSH, VSMIT, Red Devil, Commando
-
- Thunderbolt
- Posts: 158
- Joined: Sat Feb 19, 2011 6:39 am
Re: Weapons
You can find examples in data.pak, under "weapons".
This is the convention most weapon file names follow:
ap*.odf - This is the pickup crate
g*_c.odf - This is the actual gun for the combat version
*_c.odf - This is the ordnance that the gun shoots for the combat version
g*_a.odf - This is the assault mode gun
*_a.odf - This is the assault ordnance
x*car.odf - Explosion used for when the shot hits vehicles
x*bld.odf - Explosion used for when the shot hits buildings
x*gnd.odf - Explosion used for when the shot hits terrain
It's a lot simpler than it looks. The best way to learn is to extract some files, rename them and make sure they refer to each other inside each other (you'll have to change this after renaming the files) then muck around. See what various settings do.
This is the convention most weapon file names follow:
ap*.odf - This is the pickup crate
g*_c.odf - This is the actual gun for the combat version
*_c.odf - This is the ordnance that the gun shoots for the combat version
g*_a.odf - This is the assault mode gun
*_a.odf - This is the assault ordnance
x*car.odf - Explosion used for when the shot hits vehicles
x*bld.odf - Explosion used for when the shot hits buildings
x*gnd.odf - Explosion used for when the shot hits terrain
It's a lot simpler than it looks. The best way to learn is to extract some files, rename them and make sure they refer to each other inside each other (you'll have to change this after renaming the files) then muck around. See what various settings do.
Re: Weapons
ap is American Power-Up, or so I beleive. From what I can tell, no other race ever had weapon crates made. This means you could make race specific crates, if only for your personal reference.
Re: Weapons
I would like to make race specific crates. The same applies for service pods I take it?
EDIT: Also, does the addon folder override the data.pak if there are files of the same name as those in the data.pak file in it?
EDIT: Also, does the addon folder override the data.pak if there are files of the same name as those in the data.pak file in it?
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Weapons
I wonder if there is a good reason for having race specific crates? I have found the ap a useful way of identifying power ups just as the g is used for guns, As far as I can see there is no benefit to race specific powerups, they don't spawn pilots or do anything else requiring a specific identity.
Re: Weapons
ap==crate ODF. The weapons aren't differentiated between races like the buildings and ships are. To make race-specific crates, continue using the same prefixes, but make sure you make the necessary changes inside the ODFs, and design a folder tree that allows you to keep track of what's what.
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Weapons
i have the Hadeans use ep* and the Cerberi use cp* in FE. lot easier to keep things separated that way. now i just need an xsi for the crates for the Hadeans, Cerberi, and Scions.
Avatar made a service pod for them which looks cool and i changed the skin on it for the Cerberi.
Avatar made a service pod for them which looks cool and i changed the skin on it for the Cerberi.
Re: Weapons
It is not required, but it might be useful in a very special case.
Re: Weapons
Speaking of which RD, did you do anything with those weapons I sent you?
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Weapons
uhhhh.... which ones? did you send them via pm or mail? what was the filename?
Re: Weapons
I just want the race to be consistent and authentic. Is there a way to make weapons mountable by only one race?
Re: Weapons
By carefully measuring out every little bit of a mission. Every ship on the other team would use isAssault = 1 and all your weps would be isAssault = 0, regardless of if they were assault or not, to prevent them from picking it up. Multiplayer? Good luck...Clavin12 wrote:I just want the race to be consistent and authentic. Is there a way to make weapons mountable by only one race?
Re: Weapons
It would be nice if there was a race filter for crates, but as far as I know, there isn't.
Re: Weapons
Grep the changelog for [GameObjectClass]::AcceptPowerupMask, [GameObjectClass]::DeployedPowerupMask, [GameObjectClass]::PowerupRaceMask, [GameObjectClass]::DeployedPowerupRaceMask. Those have been around for a while.
-- GSH
-- GSH
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: Weapons
I find the assault mortar hardpoint and weapon crates is useful for a variety of purposes since none of the stock units/races already use it. It's probably not as useful as the masks idea that GSH posted but it's worth knowing about.