|
|
|
|
|
|
|
|
| Re: [IDEA] Firing From Hip x From Shoulder[message #301195]
|
Wed, 07 March 2012 01:41 
|
|
| Flugente |
 |
Messages:3499
Registered:April 2009 Location: Germany |
|
|
Whooo, new animations, like it 
Since your already working on weapons and their ability to fire dependent on stance, you probably already know what I'm about to ask:
1. Would it be possible to forbid certain guns from firing in a certain stance? Like adding a tag to a sniper rifle, thereby forbidding shooting from that position. I guess it would, because that already happens for the mortar.
2. If 1. is true, would it be possible to incorporate this without the AI getting problems? Mortars after all don't need a direct line of sight, while sniper rifles would.
3. Slightly related to this: Would it be possible to apply the prone boni of a gun while crouching against a low wall? I want to simulate resting the weapon on a wall/table/rock/whatever. It always annoyed me that I didn't even get the bipod bonus.
If your answer is "probably yes, but I won't do it", then I'll feel obliged to do it... eventually.
Report message to a moderator
|
|
|
|
|
| Re: [IDEA] Firing From Hip x From Shoulder[message #301201]
|
Wed, 07 March 2012 03:11 
|
|
Sandro |
 |
Messages:420
Registered:November 2008 Location: Mars |
|
|

1) Certainly yes, that would be pretty easy. (Although it's not my plan so far.)
2) As far as I can tell - no, there shouldn't be big issues with the AI. Besides, if still so, AI can be adjusted easily.
3) This is something I have already thought about myself, and have no clue. It's related to the tilesets I guess, which is beyond my current experience. I would presume, it would be somehow possible, currently the code can somehow find out that you stand next to a window to allow you to jump through, so it may work similarily.
------------------------------
UPDATE:
Managed to finish the STI for small merc:

It may not be perfect, but I am quite pleased with the result. Now the female bodytype is ahead of me. After that the coding will be a piece of cake.
I used the same layout as the standard aiming STI, so if anyone would want to see it in action, you may get this STI and put it in data\anims\S_MERC folder in your Jagged Alliance install dir. It will replace the regular aiming stance of small mercs, so you may look at it in game. Then delete the STI from the data\anims\S_MERC folder to change the graphics back again.
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: [Project] Firing From Hip x From Shoulder[message #305163]
|
Fri, 25 May 2012 14:48 
|
|
Sandro |
 |
Messages:420
Registered:November 2008 Location: Mars |
|
|
Oi, some update... I have finished the female animation STI.

Also STIs for small and big mercs in water are done.


The last is for female in water, then I can dive into the coding part, that will probably be a piece of cake.
What I need to figure out however, are the mechanics. They will be different for OCTH and NCTH. As I see in NCTH, if you don't use at least single aim click, the shot is at it's maximum circle size, scopes are not used, so it pretty much resembles the "true snapshot". Such a snapshot without any aiming, i.e. using scope, is what I wanted it to be when firing from hip.
Thinking about it, I would probably go for more complex mechanic intrusion for NCTH. When firing from hip, the shot would be as if you would now fire without any aiming clicks, while when you raise the weapon you would already be using the scope and thus gain a circle of a first aim click size.
For OCTH, I would probably simply add a percentual penalty to CtH when firing from hip, and that's it.
Well, I need some opinion on this though. From someone with better insight to NCTH probably. I am not sure whether it is a good idea.
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|