Ladders have been added to the game to elevate units up to higher levels and build buildings on stilts. My previous ladder system was a hacky mess which required quite a lot of calculations on the part of each unit while moving anywhere, even when no ladders were relevant. Thanks to a tip from Cpt_Trippz I changed the ladder system to include a "Smart Nav Link" which automatically calculates a connection between two separated navigation mesh pieces once the ladder has been built. The result is a lot more simple and it works quite well. You can see the green arrows connecting the green nav mesh planes. The unit understands that there is a way to go back and fourth between the elevations and approaches the ladder. Upon reaching the ladder, the unit will ascend or descend manually using the same functionality described before. Unfortunately, it only allows one unit to climb at a time, so a workaround will have to be added. I also added some new functionality to the ladders. If they are not up against a structure or cliff, the ladder will fall to the ground with physics. But after the ladder has fallen it is not useless as it can be picked back up and placed at a new location! Here is what it looks like when it's being carried. Pretty goofy but it matches the game's look so far. The ladder can be carried by one or two units (it's much slower with just 1) and placed wherever you like. I'm excited to see how this plays out in combat situations and I'm considering allowing the placement of units on flat roofs of structures like the Native American pueblos. Using this functionality, I also allowed units to pick up canoes that have been beached so they can throw them in the water to be used. It really worked out nicely! Let me know what you think, any tips you may have or ideas. Thanks!
3 Comments
a follower
11/14/2018 04:54:45 am
this game needs a twitter account so i can follow :3
Reply
Erik
11/16/2018 05:00:49 am
I'll get on it! Let you know when it's been done
Reply
MCPW
12/5/2018 04:20:49 pm
Whoa, how did I just discover about this? I have had that house chart of yours for a while now and always found it quite neat, dunno why but I google searched the image today and found this blog. Great to see you are making a game, best of luck.
Reply
Leave a Reply. |
Erik RempenI create, design and develop video games I'm interested in playing. Archives:
Missions Production Buildings Making Wakes The Beastmaster Basic Units Basic Resources The Fire System Presentation Re-Imagined Creating Water Cliffside Stairs Watchtowers Melee and Ranged Units Unit Organization Farming Carrying Ladders Weather and "Seasons" Technology Ladders and Elevation landmasses Structure Design Animating 2D units in a 3D world Setting the Theme Setting the Focus |