15 Commits

Author SHA1 Message Date
Aaron Suen
9607bcc6a6 Start working on sounds, plus minor refinements.
- Clean up registered_* usage patterns.
- Reduce tendancy of leaves to create stack nodes.
  Now they tend to stack up properly in-world more often.
- Tweak damage system to create "headroom" where minor
  damage doesn't cost inv slots immediately.
- Make player hand skin color match model skin.
- Cleanup/unify grass abm logic.
- Start installing new sounds by MagikEh

Sound source:
  https://github.com/MagikEh/SoundsOfWarr
2019-03-13 23:51:59 -04:00
Aaron Suen
402769962b Disable toolbelt display.
This was effectively never really working in practice on MP, and
only ended up more of an eyesore than anything.  Since it was
really only ever cosmetic, it's probably okay to just leave
this one out.

Clean up some old issues that are probably not worth worrying
about anymore.
2019-03-12 22:12:40 -04:00
Aaron Suen
1f6239f101 Fixed injury showing in wield view, clean up stubs. 2019-03-12 21:27:29 -04:00
Aaron Suen
3a299e712f Some minor API cleanup (celebrating 5.0 release). 2019-03-04 19:33:55 -05:00
Aaron Suen
41f7b71fbf Still more damn wieldview issues.
This has got to be an engine problem by now.
2019-03-03 12:32:07 -05:00
Aaron Suen
bc0c2728d5 Fix wield item size regression. 2019-03-03 12:15:38 -05:00
Aaron Suen
3bef72b665 Unify detecting old version of MT. 2019-03-03 12:08:47 -05:00
Aaron Suen
9951114b7f No need to duplicate (almost) this table... 2019-03-03 12:04:57 -05:00
Aaron Suen
a3c02afb5c Another wield view restructuring.
- Simplify queue handling, FIFO retry for ents not created due
  to world not loaded.
- Make ents responsible for own attachment, to reduce the chance
  of non-attachment due to out-of-order replication.
- Unify config object passed to ents, allowing ents to self-manage
  more.
2019-03-03 12:02:57 -05:00
Aaron Suen
18722ccccd Make toolbelt loading more reliable in 5.0.
Make sure area into which ents are to be spawned is loaded first.
2019-03-03 00:07:37 -05:00
Aaron Suen
287b5a1014 Tweak belt position. 2019-03-02 23:39:56 -05:00
Aaron Suen
4426c91eec Tweak hand ent position. 2019-03-02 23:37:39 -05:00
Aaron Suen
f8dd726df8 Fix a couple crashers.
- Failure to get light level on unloaded areas(?)
- Wrong method to clear ents on logout.
2019-03-02 23:24:55 -05:00
Aaron Suen
dfb04e9eee Adapted wield view for MT 5.0+.
There is some wierd issue in 5.0+, besides the different model
coordinate system.  If I try to create and attach all ents in the
very first tick on player join, only like 3 of them work.  Queue
them up and apply them gradually, one per world tick, to try to
work around this.  Need to figure out what limitation I'm hitting
that's causing this...
2019-03-02 23:14:41 -05:00
Aaron Suen
2a73cb68c3 Experimental new wield view mod.
Show player item in hand, AND all 7 other items on the player's
"toolbelt" as attached wield_item ents.
2019-03-02 22:53:42 -05:00