Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new features #54

Merged
merged 20 commits into from
Dec 9, 2016
Merged

new features #54

merged 20 commits into from
Dec 9, 2016

Conversation

em92
Copy link
Collaborator

@em92 em92 commented Dec 8, 2016

Methods added:

  • minqlx.spawn_item
  • minqlx.drop_holdable (works bad with cg_predictItems 1)
  • minqlx.slay_with_mod (alternative way to slay player)
  • minqlx.set_invulnerability
  • minqlx.destroy_kamikaze_timers
  • minqlx.remove_dropped_items

Hooks added:

  • kamikaze_use
  • kamikaze_explode

Functions imported from qagame:

  • G_Damage;
  • Touch_Item;
  • LaunchItem;
  • Drop_Item;
  • G_StartKamikaze (+also used for hooking);
  • G_FreeEntity;

Other:

  • imported array bg_itemlist

All these methods are used here: https://github.com/em92/kamikaze-clanarena
Video demo: https://www.youtube.com/watch?v=9fnouka5Ec8

@MinoMino
Copy link
Owner

MinoMino commented Dec 9, 2016

Good stuff. Do you think it'd be fine to push this to master right away, or do you think it could have some bugs still? I'm mostly worried about segfaults. If you're running a server with some of this stuff, then I'm thinking I'll wait a couple of days, and if everything seems fine, push a new release.

@MinoMino MinoMino merged commit 6368d40 into MinoMino:develop Dec 9, 2016
@em92
Copy link
Collaborator Author

em92 commented Dec 10, 2016

Do you think it'd be fine to push this to master right away

No. I am going to

  1. test features above on my server.
  2. add feature like replacing items on the map and test it.

@em92 em92 mentioned this pull request Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants