-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[13] Added a template for some new Component types, and added support…
… for CRD types
- Loading branch information
Showing
17 changed files
with
460 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 24 additions & 4 deletions
28
BF2ScriptingEngine/Scripting/Components/Abstract/FireComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
BF2ScriptingEngine/Scripting/Components/Abstract/TargetComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public abstract class TargetComp : ObjectTemplate, IComponent | ||
{ | ||
public TargetComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
11 changes: 7 additions & 4 deletions
11
BF2ScriptingEngine/Scripting/Components/Abstract/ZoomComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 40 additions & 4 deletions
44
BF2ScriptingEngine/Scripting/Components/DefaultAmmoComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
BF2ScriptingEngine/Scripting/Components/DefaultCollisionComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public class DefaultCollisionComp : ObjectTemplate, IComponent | ||
{ | ||
public DefaultCollisionComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
BF2ScriptingEngine/Scripting/Components/DefaultDetonationComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public class DefaultDetonationComp : ConFileObject, IComponent | ||
{ | ||
public DefaultDetonationComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
BF2ScriptingEngine/Scripting/Components/DefaultPenetrateComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public class DefaultPenetrateComp : ObjectTemplate, IComponent | ||
{ | ||
public DefaultPenetrateComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
BF2ScriptingEngine/Scripting/Components/DefaultProjSoundComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public class DefaultProjSoundComp : ObjectTemplate, IComponent | ||
{ | ||
public DefaultProjSoundComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace BF2ScriptingEngine.Scripting.Components | ||
{ | ||
public class LPTargetComp : TargetComp | ||
{ | ||
public LPTargetComp(string name, Token token) : base(name, token) | ||
{ | ||
|
||
} | ||
} | ||
} |
12 changes: 8 additions & 4 deletions
12
BF2ScriptingEngine/Scripting/Components/SimpleDeviationComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 19 additions & 4 deletions
23
BF2ScriptingEngine/Scripting/Components/WeaponBasedRecoilComp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.