-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaned up to work well building for DGR
- Loading branch information
1 parent
bdf947b
commit a7d0a04
Showing
7 changed files
with
61 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
build/.vs/ | ||
build/.idea | ||
build/obj/ | ||
build/othello7_mod.csproj.user | ||
build/packages.config | ||
build/packages/ | ||
build/app.manifest | ||
othello7's_mod_compiled.dll | ||
othello7's_mod_compiled.hash | ||
Microsoft.Xna.Framework.Game.dll | ||
Microsoft.Xna.Framework.Graphics.dll | ||
|
||
#bleh, build stuff | ||
CrashWindow.exe | ||
CrashWindow.exe.config | ||
CrashWindow.pdb | ||
DGInput.dll | ||
DGInput.pdb | ||
DGSteam.dll | ||
DGSteam.pdb | ||
DuckGame.exe | ||
DuckGame.exe.config | ||
DuckGame.pdb | ||
Microsoft.Xna.Framework.dll | ||
NAudio.dll | ||
NAudio.xml | ||
NVorbis.NAudioSupport.dll | ||
NVorbis.dll | ||
othello7_mod.dll |
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
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
namespace DuckGame.src | ||
{ | ||
public class prototypemagblaster : Gun | ||
{ | ||
public prototypemagblaster(float xval, float yval) | ||
: base(xval, yval) | ||
{ | ||
ammo = 12; | ||
_ammoType = new ATMag | ||
{ | ||
penetration = 0.4f, | ||
range = 470f, | ||
rangeVariation = 70f, | ||
accuracy = 0.2f | ||
}; | ||
wideBarrel = true; | ||
barrelInsertOffset = new Vec2(3f, 1f); | ||
_type = "gun"; | ||
this.graphic = new Sprite(this.GetPath("prototypemag.png")); | ||
center = new Vec2(12f, 8f); | ||
collisionOffset = new Vec2(-8f, -7f); | ||
collisionSize = new Vec2(16f, 14f); | ||
_barrelOffsetTL = new Vec2(20f, 5f); | ||
_fireSound = "magShot"; | ||
_kickForce = 6f; | ||
_fireRumble = RumbleIntensity.Kick; | ||
_holdOffset = new Vec2(1f, 0f); | ||
_numBulletsPerFire = 6; | ||
loseAccuracy = 0.2f; | ||
maxAccuracyLost = 0.12f; | ||
_editorName = "Prototype Mag Blaster"; | ||
editorTooltip = "The extra preferred gun for enacting justice in a post-apocalyptic megacity."; | ||
physicsMaterial = PhysicsMaterial.Metal; | ||
} | ||
|
||
} | ||
} |