This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
modding:addingnewdmentities [2006-07-30 00:38] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Adding new Entities to the DeathMatch MOD ====== | ||
- | |||
- | Here is a very brief overview about adding new entities to the Ca3DE DeathMatch MOD: | ||
- | - Add a definition entry into the ''DeathMatch.fgd'' file. | ||
- | - Create the entities header and code files (''.hpp'' and ''.cpp''), e.g. by copying one of the existing entities. | ||
- | - Add a make rule into the ''Makefile'', and also add the object dependency to the linker command. Also add the header to the ''DeathMatch.cpp'' dependencies. Again, the other entities give good ideas of what this should look like. | ||
- | - Add a ''TYPEID_MyEntity entry'' into the ''Constants_EntityTypeIDs.hpp'' file. | ||
- | - Add the relevant parts in ''DeathMatch.cpp''. | ||