Search found 5 matches
- Wed Feb 24, 2016 1:04 pm
- Forum: Plugin Development Support
- Topic: HL2MP player_hurt damage dealt/attacker weapon/hitgroup?
- Replies: 3
- Views: 3459
Thanks for the reply! I will give that code a try asap and will post any changes I may need to make to make it work.... It definitely points me in the right direction. Can you (or anyone) recommend some core concepts I should learn about Source engine? I have a fairly strong knowledge, because I've ...
- Wed Feb 24, 2016 9:06 am
- Forum: Plugin Development Support
- Topic: HL2MP player_hurt damage dealt/attacker weapon/hitgroup?
- Replies: 3
- Views: 3459
HL2MP player_hurt damage dealt/attacker weapon/hitgroup?
Hello, @Event('player_hurt') def on_player_hurt(e): print(e.variables.as_dict()) Shows me: {'userid': 2, 'health': 87, 'attacker': 2, 'priority': 5} Which seems sparse. Is there more I'm missing? I would like to also get the victim's health/armor lost, their hitgroup, and the attacker's weapon. I sa...
- Fri Feb 19, 2016 8:56 am
- Forum: Plugin Development Support
- Topic: First plugin; epic traceback - ImportError - SOLVED
- Replies: 3
- Views: 3065
- Fri Feb 19, 2016 8:44 am
- Forum: Plugin Development Support
- Topic: First plugin; epic traceback - ImportError - SOLVED
- Replies: 3
- Views: 3065
- Fri Feb 19, 2016 7:39 am
- Forum: Plugin Development Support
- Topic: First plugin; epic traceback - ImportError - SOLVED
- Replies: 3
- Views: 3065
First plugin; epic traceback - ImportError - SOLVED
Picking up Source.Python for the first time...Not going well :( Error message: sp load apdm [SP] Loading plugin 'apdm'... [SP] Caught an Exception: Traceback (most recent call last): AttributeError: 'module' object has no attribute '__path__' During handling of the above exception, another exception...