Giter Club home page Giter Club logo

rimlaser's People

Contributors

automatic1111 avatar hg-dev avatar proxyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rimlaser's Issues

Calling SetupMatrices() from within Draw limits potential operations

To stop a beam from appearing to pass through a shield it should be wrapping around or fizzling out upon, I had intended to work with the b Vector3 in the same way a is modified by the weapon's barrel length. This, however, requires identifying whether or not the usedTarget is wearing a shield belt, and this test appears to be unfit for use inside Draw. (error here)

I propose that a Verb inheriting largely from Verb_Shoot be created so that the LaserBeam projectile can run SetupMatrices before the Launch method is called.

Yes, this would mean that the ugly namespace business would need to be added to weapon verb defs, but this would also present us with the ability to create custom def properties for a Rimlaser verb, rather than just projectiles. For instance, it may be worth applying a "piercing" boolean to the verb rather than the "bullet".

I'm prepared to open a new branch and hammer this out, but I'd like your input.

Minigun frequently ends combat in a state that menus cannot draw

Hello, AUTOMATIC. Ever since I got ahold of a laser minigun, I've been getting headaches whenever messing with caravans where a colonist has a laser minigun equipped. It seems that at the conclusion of combat, it tends to stop in a wound-up state that menus cannot draw. This causes caravan pawn lists to end abruptly. I'll have more information later as I investigate.

Exception filling window for RimWorld.Planet.Dialog_SplitCaravan: System.NullReferenceException: Object reference not set to an instance of an object
  at Rimlaser.SpinningLaserGun.UpdateState () [0x0001a] in <40b2c5ecdefc48738be56e45987b623b>:0 
  at Rimlaser.SpinningLaserGunBase.get_Graphic () [0x00021] in <40b2c5ecdefc48738be56e45987b623b>:0 
  at Verse.Widgets.ThingIcon (UnityEngine.Rect rect, Verse.Thing thing, System.Single alpha) [0x00182] in <d72310b4d8f64d25aee502792b58549f>:0 
  at RimWorld.TransferableOneWayWidget.DrawEquippedWeapon (UnityEngine.Rect rect, UnityEngine.Rect iconRect, RimWorld.TransferableOneWay trad) [0x00040] in <d72310b4d8f64d25aee502792b58549f>:0 
  at RimWorld.TransferableOneWayWidget.DoRow (UnityEngine.Rect rect, RimWorld.TransferableOneWay trad, System.Int32 index, System.Single availableMass) [0x00362] in <d72310b4d8f64d25aee502792b58549f>:0 
  at RimWorld.TransferableOneWayWidget.FillMainRect (UnityEngine.Rect mainRect, System.Boolean& anythingChanged) [0x0018d] in <d72310b4d8f64d25aee502792b58549f>:0 
  at RimWorld.TransferableOneWayWidget.OnGUI (UnityEngine.Rect inRect, System.Boolean& anythingChanged) [0x0016b] in <d72310b4d8f64d25aee502792b58549f>:0 
  at RimWorld.Planet.Dialog_SplitCaravan.DoWindowContents (UnityEngine.Rect inRect) [0x00262] in <d72310b4d8f64d25aee502792b58549f>:0 
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <d72310b4d8f64d25aee502792b58549f>:0 
Verse.Log:Error(String, Boolean)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.