- Added some missing ZDoom slope things to the game configurations

- Changed minimum thing radius to 4
This commit is contained in:
codeimp 2009-03-02 22:33:59 +00:00
parent 2dbc282b29
commit 2bdaa7a07b
8 changed files with 238 additions and 8 deletions

View file

@ -6382,7 +6382,7 @@ thingtypes
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 0;
width = 8;
sort = 1;
height = 0;
hangs = 0;
@ -6428,6 +6428,7 @@ thingtypes
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
@ -6437,12 +6438,37 @@ thingtypes
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom

View file

@ -6697,7 +6697,7 @@ thingtypes
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 0;
width = 8;
sort = 1;
height = 0;
hangs = 0;
@ -6743,6 +6743,7 @@ thingtypes
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
@ -6752,12 +6753,37 @@ thingtypes
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom

View file

@ -6903,7 +6903,7 @@ thingtypes
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 0;
width = 8;
sort = 1;
height = 0;
hangs = 0;
@ -6949,6 +6949,7 @@ thingtypes
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
@ -6958,12 +6959,37 @@ thingtypes
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom

View file

@ -5838,7 +5838,7 @@ thingtypes
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 0;
width = 8;
sort = 1;
height = 0;
hangs = 0;
@ -5884,6 +5884,7 @@ thingtypes
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
@ -5893,12 +5894,37 @@ thingtypes
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom

View file

@ -7021,6 +7021,100 @@ thingtypes
113 = "Spawn Leaf";
}
slopes
{
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 8;
sort = 1;
height = 0;
hangs = 0;
blocking = 0;
fixedsize = true;
9511
{
title = "Copy ceiling plane";
arg0
{
title = "Sector Tag";
type = 13;
}
}
9510
{
title = "Copy floor plane";
arg0
{
title = "Sector Tag";
type = 13;
}
}
9503
{
title = "Set ceiling slope";
arrow = 1;
arg0
{
title = "Z-Angle";
}
}
9502
{
title = "Set floor slope";
arrow = 1;
arg0
{
title = "Z-Angle";
}
}
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
type = 15;
}
}
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom
{
color = 7; // Light Grey

View file

@ -6242,7 +6242,7 @@ thingtypes
color = 8; // Grey
arrow = 0;
title = "Slopes";
width = 0;
width = 8;
sort = 1;
height = 0;
hangs = 0;
@ -6288,6 +6288,7 @@ thingtypes
9501
{
title = "Slope ceiling to here";
height = 8;
arg0
{
title = "Line";
@ -6297,12 +6298,37 @@ thingtypes
9500
{
title = "Slope floor to here";
height = 4;
arg0
{
title = "Line";
type = 15;
}
}
1500
{
title = "Line slope floor";
height = 8;
}
1501
{
title = "Line slope ceiling";
height = 8;
}
1504
{
title = "Vertex slope floor";
height = 8;
}
1505
{
title = "Vertex slope ceiling";
height = 8;
}
}
zdoom

View file

@ -133,7 +133,7 @@ namespace CodeImp.DoomBuilder.Config
this.fixedsize = cfg.ReadSetting("thingtypes." + name + ".fixedsize", false);
// Safety
if(this.radius < 8f) this.radius = 8f;
if(this.radius < 4f) this.radius = 8f;
// Go for all items in category
dic = cfg.ReadSetting("thingtypes." + name, new Hashtable());

View file

@ -137,7 +137,7 @@ namespace CodeImp.DoomBuilder.Config
this.args[i] = new ArgumentInfo(cfg, "thingtypes." + cat.Name + "." + key, i, enums);
// Safety
if(this.radius < 8f) this.radius = 8f;
if(this.radius < 4f) this.radius = 8f;
// Make long name for sprite lookup
if(this.sprite.Length <= 8)
@ -172,6 +172,9 @@ namespace CodeImp.DoomBuilder.Config
this.errorcheck = cat.ErrorCheck;
this.fixedsize = cat.FixedSize;
// Safety
if(this.radius < 4f) this.radius = 8f;
// Make long name for sprite lookup
if(this.sprite.Length <= 8)
this.spritelongname = Lump.MakeLongName(this.sprite);
@ -202,6 +205,9 @@ namespace CodeImp.DoomBuilder.Config
this.blocking = cat.Blocking;
this.errorcheck = cat.ErrorCheck;
this.fixedsize = cat.FixedSize;
// Safety
if(this.radius < 4f) this.radius = 8f;
// Apply settings from actor
ModifyByDecorateActor(actor);
@ -237,7 +243,7 @@ namespace CodeImp.DoomBuilder.Config
if(actor.HeightFound) height = actor.Height;
// Safety
if(this.radius < 8f) this.radius = 8f;
if(this.radius < 4f) this.radius = 8f;
// Options
hangs = actor.GetFlagValue("spawnceiling", hangs);