DigitalLibrarian / VS2013Projects

DF/CDDA inspired content driven simulator
1 stars 0 forks source link

Ranged Weaponry #6

Open DigitalLibrarian opened 8 years ago

DigitalLibrarian commented 8 years ago

Ranged combat actions

All of these commands target a tile, not an agent. The trajectory needs to be considered separately from the collision damage. It could be possible to hit something else entirely, or not at all. This means that we won't know the precise target or damage consequences (if any) until we actually simulate the event. (On second thought, this is not much different from the way it will be when we are doing RNG rolls)

Throwing

I want to be able to throw any item in my environment at any time. If it hits an enemy, it should damage that enemy in some meaningful way.

Once weight and volume properties are added, those should affect distance, accuracy and enemy damage.

The UI for the target selector can just use the same reticule as loo(k)ing does at the moment. It will probably be better to create a cross hair of some type to be shared between throwing, archery, and gun firing screens.

Ultimately the intrinsic properties of the thrown item and the thrower agent, should dictate the distance, accuracy, and collision damage in correspondence with random number roll. It should also behave similarly to a parabolic arc or ray cast, so that intervening objects can block/intercept the projectile.

DigitalLibrarian commented 8 years ago

Now that all items have a weapon class, that can include throwing attacks. It is hard coded now, but as long as we keep the source of it behind an interface, we make it have dynamic throwing properties based on the thrown item separately from calculating them.

DigitalLibrarian commented 8 years ago

DF does the ranged attacks differently. Each weapon only gets one, which is lame. I might want component based weaponry that includes a flamethrower, a bayonet, a automatic rifle, and an underbarrel crossbow.

So clearly, we are going to be going with a deeper model here. However component based weaponry shouldn't hold this ticket up.

DigitalLibrarian commented 8 years ago

Now that the content management is starting to solidify, and the df parser is finished, this is ripe to be worked on.