automatic1111 / rimlaser Goto Github PK
View Code? Open in Web Editor NEWA mod for Rimworld game
License: MIT License
A mod for Rimworld game
License: MIT License
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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.