cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
897 stars 115 forks source link

Grenades as secondary weapon #33

Closed cxong closed 6 years ago

cxong commented 11 years ago

Grenades as weapons seem out of place in C-Dogs. They may work better if they were used as a secondary weapon.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

cxong commented 9 years ago
cxong commented 6 years ago
cxong commented 6 years ago

For the throw grenade button, look at what other games use for a similar function:

Keep in mind though that console FPS games use right-analog look, so you can look with the right hand and throw with the left hand. C-Dogs SDL uses left-analog / dpad for move/look, so perhaps using the left hand for throwing grenades isn't the best.

Also, GCW-Zero only has one set of shoulder buttons. Although I think they are currently unused? Need to check.

Update: left shoulder is used but right shoulder isn't. I guess it's settled: right shoulder / right bumper will be used to throw grenades.

cxong commented 6 years ago

Need to make sure that AI can use grenades, both coop and enemies

cxong commented 6 years ago

We want to combine gun pickups with ammo pickups for grenades. That is,

The problem is that with ammo settings removed, ammo pickups are remod too. We still want to have gun pickups. Therefore the solution is to keep both gun and ammo pickups, but for the gun pickup type, replace it with the ammo pickup when it is actually spawned.

cxong commented 6 years ago

Some outstanding problems:

cxong commented 6 years ago

With this change, it is better if all grenades had unique ammo types.