Precursor.fgd

From Valve Developer Community
Jump to navigation Jump to search

FGD for Precursor

FGD

This is a FGD (Forge Game Data) file used to define all of the entities of a game for a map editor (such as Hammer).
To add a FGD file to the map editor, copy the following text into a text editor such as Notepad++ Notepad++, and save it with "save as type" being "all files" and .fgd appended to the file name. Then open your map editor, in this case, Valve Hammer Editor, go to Tools > Options..., and add the FGD file on Game Data Files.
pr.fgd
Forge Game Data
//============= Copyright © Andreas Wilcox, All rights reserved. ============== // // Purpose: Precursor game definition file (.fgd) // //============================================================================= @include "halflife2.fgd" @PointClass base(Weapon) studio("models/weapons/w_smg1.mdl") = weapon_rifle : "Rifle" [] @PointClass base(Item) studio("models/items/boxmrounds.mdl") = item_box_rifle : "Box of ammo for the Precursor rifle" []