Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up[CR] Roadblocks #8603
Conversation
KA101
added some commits
Aug 16, 2014
This comment has been minimized.
This comment has been minimized.
|
This is going to be awesome. |
KA101
added some commits
Aug 17, 2014
KA101
changed the title
[WIP] Roadblocks
[CR] Roadblocks
Aug 17, 2014
KA101
added some commits
Aug 17, 2014
This comment has been minimized.
This comment has been minimized.
|
Still needs the notes/e-mails on how to not get 120mm'd. Update: one survivor note and one lab note. |
KA101
reviewed
Aug 17, 2014
| "description": "The 120mm cannon from a tankbot. If you have this, you'd best be debugging!", | ||
| "price": 99999999, | ||
| "material": "steel", | ||
| "flags": ["BACKBLAST", "NEVER_JAMS"], |
This comment has been minimized.
This comment has been minimized.
KA101
Aug 17, 2014
Author
Contributor
Yeah, I think letting it jam would be nice for folks. Remind me to nuke that.
KA101
reviewed
Aug 17, 2014
| // Make sure our ammo isn't weird. | ||
| if (z->ammo > 100) { | ||
| z->ammo = 100; | ||
| debugmsg("Generated too much ammo (%d) for %s in mattack::bmg_tur", z->ammo, z->name().c_str()); |
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Aug 17, 2014
| return; | ||
| } | ||
| if (!z->has_effect("targeted")) { | ||
| g->sound(z->posx(), z->posy(), 10, _("whirrrrrclick.")); |
This comment has been minimized.
This comment has been minimized.
KA101
Aug 17, 2014
Author
Contributor
Unfortunately the AI is set such that nobody will ever hear the Ominous Swivel. Gonna take the JA2 approach and give a Bad Feeling, I think: "You have to move. NOW." or somesuch.
This comment has been minimized.
This comment has been minimized.
kevingranade
Aug 18, 2014
Member
Regarding the 'bad feeling', how about telling the player a laser dot
appears on them?
This comment has been minimized.
This comment has been minimized.
Zireael07
Aug 18, 2014
Contributor
+1 to "A laser dot starts to move across your torso/head" message.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kevingranade
Aug 18, 2014
Member
I agree that we want a warning of some kind, but don't like the premonition
idea. Plus laser dots are spooky.
This comment has been minimized.
This comment has been minimized.
KA101
Aug 18, 2014
Author
Contributor
Fair enough. Currently the "premonitions" only happen if you can see it aiming, so they're more looking at it than a weird psi thing. Laser dot might not have that limitation.
I'm gonna be out for a few hours but will change it when I get back.
KA101
reviewed
Aug 17, 2014
| return; | ||
| } | ||
| if (g->u_see(z->posx(), z->posy())) { | ||
| add_msg(m_warning, _("The %s aims and fires!"), z->name().c_str()); |
KA101 commentedAug 17, 2014
I hated to leave that stash code sitting around unused, and given martial law and other similar counterinsurgency/zed-containment issues, roadblocks seemed an obvious solution.
Also includes a new turret and Upgraded high-end military bots. Hopefully you've got a spare LAW sitting around.