621 Commits

Author SHA1 Message Date
Aaron Suen
ba7482c7c6 Fix min version for cdbrelease. 2019-08-12 21:16:35 -04:00
Aaron Suen
6b63347dd2 Merge branch 'dev' into hinges 2019-08-12 21:05:02 -04:00
Aaron Suen
d92f40b494 LoneWolfHT sent a new model.
- Tweaked some proportions to be more realistic.
- Fixed the hat/hair overlay (it's subtle but present).
2019-08-12 21:04:07 -04:00
Aaron Suen
d13147fd57 Add bars and rods to lodecrafting. 2019-08-09 22:28:19 -04:00
Aaron Suen
f3115fce2b Incorporate LoneWolf's model updates, sent via discord. 2019-08-09 08:54:05 -04:00
Aaron Suen
6ac8df26e6 Merge docs from discord note-to-self channel. 2019-08-09 08:44:06 -04:00
Aaron Suen
a064f52557 Fix unknown item crash. 2019-04-14 01:33:50 -04:00
Aaron Suen
6f2316a455 Simplify hand texture so it looks right on all faces.
We can't actually fully texture the top, bottom, and ends of the
hand because it's a wield extrusion, so make the whole thing
consistently banded so all faces look as bad as the ones we have
the least control over.
2019-04-14 01:11:39 -04:00
Aaron Suen
701efa73d2 Cleanup/refac. 2019-04-14 00:57:14 -04:00
Aaron Suen
e09ee314fc Debounce wield selection sounds. 2019-04-14 00:44:18 -04:00
Aaron Suen
24bbeb135b Make pummeling pace easier, esp for android. 2019-04-14 00:11:02 -04:00
Aaron Suen
a0670867c1 Experimental item switching sounds. 2019-04-14 00:09:03 -04:00
Aaron Suen
285a21b796 New hand appearance.
- Matches player model.
- Stays down by player's side (off-screen) when not in use.
  The game looks even more minimalistic when first started.
2019-04-13 23:39:46 -04:00
Aaron Suen
22e11bf471 Revert "Remove (expensive) issue8738 workaround."
This reverts commit 68c6f6671121b1b72b62db97858c25c82f6e834f.

I was able to reproduce the issue, in a case when it was definitely
NOT a falling_node mishap.  Snuffing fire by placing a node against
the last bare face of embers apparently creates a race condition,
in which the node you place can be removed instead of only fire
being removed.
2019-04-13 00:11:03 -04:00
Aaron Suen
5f277cfad1 Switch to hard-coded list names.
It seems that inv:get_lists() returns a list of userdata, instead
of names, at least in 5.0+, and can't necessarily be relied upon
for this purpose.
2019-04-10 08:33:34 -04:00
Aaron Suen
30625f1dd0 Package up screenshot world with repo.
This is the world used for making the "main" screenshot for
CDB and the mod's thumbnail.
2019-04-10 08:31:10 -04:00
Aaron Suen
b30112d702 New, bolder charcoal textures.
Hopefully, tiers should be a little easier to distinguish...
2019-04-09 22:51:31 -04:00
Aaron Suen
db5cbd3de4 Avoid lighting bugs, players messing w/ inventory via CSM. 2019-04-09 21:06:55 -04:00
Aaron Suen
28e9e52446 Actually, can't exclude .cdbrelease.lua... 2019-04-09 08:01:08 -04:00
Aaron Suen
41963a009a Exclude some large files from exports.
- Consolidate any "source-only" files into "src" dirs.
- Exclude "docs" dir, mainly in root atm.
- Exclude all dotfiles.

This significantly reduces the size of delivered files, since
esp the player model .blend file is very large.
2019-04-09 07:54:46 -04:00
Aaron Suen
8f30b6de2e Refactor fluid medium check for names. 2019-04-08 08:54:51 -04:00
Aaron Suen
087b8c8f1b More precise logic for player names.
Try to detect player traces going through a change in fluid medium
such as water/air or water/glass, and block facial recognition
through it.

Specifically allow air-into-glass transitions, or into any other
medium otherwise clear enough to allow sunlight to propagate.
2019-04-08 08:52:59 -04:00
Aaron Suen
40c239a798 Defer social damage sounds until after all modifiers.
This allows external mods that alter damage to prevent damage
sounds from playing for other nearby players if they modify the
damage amount.
2019-04-08 08:26:44 -04:00
Aaron Suen
92e27632db Connected crude glass rendering.
Make it consistent with ordinary clear glass.
2019-04-08 08:08:22 -04:00
Aaron Suen
50c4d2d094 Fix bad log formatting. 2019-04-07 18:44:35 -04:00
Aaron Suen
5a82e823c6 Include crude glass in hints. 2019-04-07 18:43:11 -04:00
Aaron Suen
32cd936dc2 Create float glass.
- Super-clear, ultimate form of clear glass.
- Needs to be molded floating atop lava.
- Not sure about merging this yet; there are kinda a lot of forms
  of glass already now...
2019-04-07 18:39:10 -04:00
Aaron Suen
3a8908e9d8 Sound code crash. 2019-04-07 17:45:26 -04:00
Aaron Suen
5b9c6324b6 Make crude glass just a bit cruder. 2019-04-07 09:18:07 -04:00
Aaron Suen
d1a937e973 Add crude glass.
This makes glassmaking more challenging, as glass that is quenched
when not molded, or left wandering too long, will tend to quench to
crude glass, which is inferior.

This also prevents molten glass from wandering the countryside
forever from failed glassmaking attempts, and precludes keeping
molten glass in "captivity" as a crude infinite light source.
2019-04-07 09:12:44 -04:00
Aaron Suen
54293a24be Oops... 2019-04-07 00:03:06 -04:00
Aaron Suen
c1828219e6 Refactor social sounds subsystem.
Standardize the "play a sound for everybody except the player who
is already playing it client-locally" logic into one place.

Fix failure to correctly detect tool speeds for some things, i.e.
when the player is using a tool but the capability used on a node
is actually inherited from the hand.

Note that this may allow pummeling with wrong tools (e.g. repacking
soils with spades) along with accompanying inappropriate tool wear,
but this should be minor and avoidable, and can be fixed later...
2019-04-06 23:51:05 -04:00
Aaron Suen
eba101c93a Fix sound doubling issues. 2019-04-06 23:42:23 -04:00
Aaron Suen
4271290487 New stone chip/tool textures.
Make the chip darker, like loose cobble it comes from instead
of smooth stone.  Also make the chip larger and sit lower in
stacks and on shelves (e.g. against wooden base) to make it look
better and easier to see.

Make tool tips correspondingly darker too.
2019-04-06 22:20:08 -04:00
Aaron Suen
617aa4704f Dug sounds for old node, not new. 2019-04-06 21:28:11 -04:00
Aaron Suen
31fbfd8d33 Hear other players get hurt, reorg player health mod. 2019-04-06 21:23:14 -04:00
Aaron Suen
5a115bdaa8 Particle effects for growing trees.
Intensity of particle effect indicates rate of growth.
This should help players get feedback that their trees are,
indeed, actually incubating.
2019-04-06 21:02:58 -04:00
Aaron Suen
2f8628d07a Docs. 2019-04-06 20:53:12 -04:00
Aaron Suen
68c6f66711 Remove (expensive) issue8738 workaround.
I suspect that the problem that I actually observed was caused by
falling_node behavior, and NOT by an abm.  This workaround cannot
remain without firm evidence that it solves an actual problem.
2019-04-06 20:50:58 -04:00
Aaron Suen
0aad2ef63c Conclude current 0.4 deprecation plans. 2019-04-06 20:50:24 -04:00
Aaron Suen
b7372fd05d Eliminate all non-main inventory lists. 2019-04-06 20:49:27 -04:00
Aaron Suen
80d3d9708c Deprecate player:get/set_attribute to player:get_meta(). 2019-04-06 20:46:13 -04:00
Aaron Suen
a674184df0 Fix deprecated getpos -> get_pos. 2019-04-06 20:34:13 -04:00
Aaron Suen
d8acafe9cc Switch from line_of_sight to raycast. 2019-04-06 20:31:12 -04:00
Aaron Suen
c43eaa10ec Fix bug that broke falling node hazards. 2019-04-06 20:20:04 -04:00
Aaron Suen
fe727d0145 Social digging/placing sounds.
Normally these play only locally for the client doing the
digging/placing.  Explicitly play them to other nearby clients.
2019-04-06 20:14:04 -04:00
Aaron Suen
68d996e1f3 Begin EOS for MT 0.4.
We actually haven't been testing in 0.4 at all for quite a while
now.  Since this is a standalone base game without complex
interdependency relationships, there isn't really any need to
maintain compat with old versions of the engine.  Players can
upgrade to play; keeping a separate copy just to play on old 0.4
servers is even still an option.

There is some internal cruft that has been building up to support
0.4, and this allows us to purge most of it.  The larger benefit
may come when we're able to remove line_of_sight in favor of the
more efficient raycast (still yet to be done).
2019-04-06 11:21:34 -04:00
Aaron Suen
63db0010fc Update 0.4 sunsetting plan. 2019-04-05 08:03:16 -04:00
Aaron Suen
47ac931f34 Easy targeted stack placement via drop key + raycast.
Attempt to place stack node directly when player is pointing at
a node space, instead of tossing out an item ent.

This makes item organization less tedious in the early game, as
players are manipulating node positions instead of calculating
ent ballistics in their heads when trying to lay out inventories
on the ground, or using naive shelving.

(Note that wooden shelves still have an advantage in how quickly
items can be taken from them).

Items are still tossed as ents if a player is not looking at a
valid place in nodespace, so inventories can still be e.g. thrown
over a cliff or jettisoned in the ocean...
2019-04-05 07:42:48 -04:00
Aaron Suen
431594b1b6 More nuanced ore distribution.
- There is now a thin "background" amount of lode at all depths,
  so you should never dig too large a stata without finding
  anything at all.
- Ore is now not only more plentiful at depth, but also packed
  into denser clusters, so you have to mine for longer before
  finding a huge deposit.
2019-04-04 08:48:55 -04:00