mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-23 02:00:58 +00:00
Tweaked exportFGD to output more FGDs with autogenerated model definitions
This commit is contained in:
parent
99d7338d12
commit
a44a691254
5 changed files with 8 additions and 11013 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
// DOOM 3 BFG game definition file (.fgd) generated by RBDOOM 3 BFG 1.4.0
|
||||
// DOOM 3 BFG game definition file (.fgd) generated by RBDOOM 3 BFG 1.5.0
|
||||
|
||||
@PointClass base(ammo_belt_small) = ammo_belt_small_mp : "No description"
|
||||
[
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// DOOM 3 BFG game definition file (.fgd) generated by RBDOOM 3 BFG 1.4.0
|
||||
// DOOM 3 BFG game definition file (.fgd) generated by RBDOOM 3 BFG 1.5.0
|
||||
|
||||
@PointClass color(127 76 0) size(-24 -24 0, 24 24 82) model({ "path": "sprites/ai.png", "scale": 0.03125 }) = ai_attackcone : "
|
||||
"
|
||||
|
|
|
@ -2121,7 +2121,9 @@ void idDeclManagerLocal::ExportDeclsToTrenchBroom_f( const idCmdArgs& args )
|
|||
|
||||
idStrList filenames;
|
||||
filenames.AddUnique( "all" );
|
||||
filenames.AddUnique( "all-and-models" );
|
||||
filenames.AddUnique( "slim" );
|
||||
filenames.AddUnique( "slim-and-models" );
|
||||
filenames.AddUnique( "multiplayer" );
|
||||
|
||||
idStrList ignoreList;
|
||||
|
@ -2245,7 +2247,7 @@ void idDeclManagerLocal::ExportDeclsToTrenchBroom_f( const idCmdArgs& args )
|
|||
}
|
||||
}
|
||||
|
||||
if( f > 0 )
|
||||
if( f > 1 )
|
||||
{
|
||||
// ignore entities that begin with those prefices
|
||||
|
||||
|
@ -2278,7 +2280,7 @@ void idDeclManagerLocal::ExportDeclsToTrenchBroom_f( const idCmdArgs& args )
|
|||
idStr::FindText( decl->GetName(), "team_ctf", false ) != -1 ||
|
||||
idStr::FindText( decl->GetName(), "_coop", false ) != -1 );
|
||||
|
||||
if( f == 2 )
|
||||
if( f == 4 )
|
||||
{
|
||||
if( !multiplayer || genmodel )
|
||||
{
|
||||
|
@ -2292,7 +2294,7 @@ void idDeclManagerLocal::ExportDeclsToTrenchBroom_f( const idCmdArgs& args )
|
|||
continue;
|
||||
}
|
||||
|
||||
if( f == 1 && genmodel )
|
||||
if( ( f % 2 ) == 0 && genmodel )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue