# King of Kalimpong - multiplayer vehicle battle game

**URL:** <https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [August 8, 2014, 7:54pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064 "2014-08-08T19:54:58Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [April 16, 2015, 3:22am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/21 "2015-04-16T03:22:34Z")

</div>

I finally got my act together and put together a highlight video from last week’s Capture the Flag test.

I will release Alpha 0.8.3 tomorrow, then I’ll start working on a new map!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/1/311a8cb05de5f3ad265853f8db73d1e20c500fad.jpeg "King of Kalimpong 0.8.2 - Capture the Flag") ](https://www.youtube.com/watch?v=XmkpONOvuxE)

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 16, 2015, 11:22pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/22 "2015-04-16T23:22:44Z")

</div>

Dear Piinecone,

Woohoo! I am so excited to see your game developing!

Physics-based Multiplayer Action, yaaay!

> [@piinecone;272775](#):
>
> It was immediately clear to me that airborne vehicles really mess with what’s fun about the existing gameplay. It’s funny to go from implementing a feature that I expected to be great for so long to deciding to axe it in a matter of hours. It wasn’t a total waste of effort.

This actually happens to me a lot too!

But its better to spend days on something only to axe it, so you learn from actually seeing the gameplay result, and have it not ruin your game forever 🙂

**Gotta keep to the Higher Vision!**

🙂

Rama

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [April 17, 2015, 6:45pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/23 "2015-04-17T18:45:09Z")

</div>

> [@Rama;273474](#):
>
> This actually happens to me a lot too!
> 
> But its better to spend days on something only to axe it, so you learn from actually seeing the gameplay result, and have it not ruin your game forever 🙂
> 
> **Gotta keep to the Higher Vision!**

Thanks Rama! I couldn’t agree more. It was fun to build the helicopters, fun to play around with them, and great to get them out of the game. Nice to get it all out of my system 😃

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [April 30, 2015, 7:02am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/24 "2015-04-30T07:02:51Z")

</div>

I’ve spent the past few days working on a new CTF map. I really wanted to do a snowy forest. It’s still very much a work in progress, but here are a few screenshots:

 ![sSmk2eb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/c/7c8c44a2c3086cd9b036adda89f1233be12020fd.jpeg)

![7f66b6baae9cea4240dc6c461b9b36330fa6a1c6.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [April 30, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/25 "2015-04-30T20:15:53Z")

</div>

Here is a video of my brother and I messing around in the snow level. Hard to say if it will be fun - it still needs to be playtested - but it’s cool to see how the visual effects affect the game feel despite the vehicle physics remaining unchanged by the environment.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/6/42613eb2c203b9eb8564fb8e9d7d59bc254b3112.jpeg "King of Kalimpong - Snow") ](https://www.youtube.com/watch?v=2Hn2_bL6Zc8)

---

<div class="post-metadata">

**Author:** ![Syedhs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syedhs](https://forums.unrealengine.com/u/Syedhs)\
**Post date:** [May 8, 2015, 5:44am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/26 "2015-05-08T05:44:44Z")

</div>

Hi,

Looking good games although I have not tried it yet… One question: Is it hard to implement vehicle networking code? I intend to go coding this part next week… so any hint would be helpful…🙂

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [May 18, 2015, 5:46pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/27 "2015-05-18T17:46:18Z")

</div>

> [@Syed;287327](#):
>
> Hi,
> 
> Looking good games although I have not tried it yet… One question: Is it hard to implement vehicle networking code? I intend to go coding this part next week… so any hint would be helpful…🙂

Thanks! You get replicated vehicle movement with client-side prediction for free with Unreal Engine 4. Adding special moves that affect the physics of the vehicles requires some work. Feel free to ask me anything if you get stuck, and hopefully I can be helpful.

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [May 18, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/28 "2015-05-18T17:48:24Z")

</div>

Here’s a rendering of some design work my brother has been doing.

![eabf2d945d241bc8424d811bce839a16c1f6abe3.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [May 21, 2015, 4:03am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/29 "2015-05-21T04:03:57Z")

</div>

I’ve been working on a little Redwood grove today for a level. Here’s a screenshot from the grove and a video of me pushing a redwood tree over on … myself.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/c/80c490e4a828adc1a09ee2cb65b96962694135c5.jpeg "King of Kalimpong - Tree Fall") ](https://www.youtube.com/watch?v=qwUZxiBLUQA)

 ![dbQisj4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/5/45fb3eadd2d73dac68cbe2b551ddcc94df057574.jpeg)

---

<div class="post-metadata">

**Author:** ![HateDread](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HateDread](https://forums.unrealengine.com/u/HateDread)\
**Post date:** [May 28, 2015, 6:12am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/30 "2015-05-28T06:12:03Z")

</div>

> [@piinecone;296266](#):
>
> ![dbQisj4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/5/45fb3eadd2d73dac68cbe2b551ddcc94df057574.jpeg)

Hey man, this looks great! Keep it up 🙂

From watching the videos though, it seems like the multiplayer physics still needs some smoothing - being hit before you ‘see’ the target actually being hit, for example.

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [May 29, 2015, 2:12am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/31 "2015-05-29T02:12:51Z")

</div>

> [@;300492](#):
>
> Hey man, this looks great! Keep it up 🙂
> 
> From watching the videos though, it seems like the multiplayer physics still needs some smoothing - being hit before you ‘see’ the target actually being hit, for example.

Hey , thanks!

I wonder if you’re seeing collision detection errors or high latency projectile movement errors. I’ve done some work to make physics projectile movement in higher latency situations passable, but I still notice some correction if my ping is high enough. Are you noticing some weird projectile movement? I made some improvements for the latest build but haven’t released it yet.

The other possibility is the colliders: I have overlap-only colliders that surround the vehicle which detect approaching projectiles and swap the physics asset (in preparation for imminent explosion). I do this to prevent the actual velocity-affecting “hit” event from taking place, because I want the player to feel like their shot (or vehicle) went right through their opponent. I wonder if that’s the source of the errors you’re seeing - you can nick the corner of a bounding box (and not touch the vehicle) and destroy the pawn. Maybe you could point me to a specific clip so I can take a look?

I have a plan for doing away with the bugs from those overlap boxes, sounds like I should get into that soon!

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [June 19, 2015, 1:13am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/32 "2015-06-19T01:13:49Z")

</div>

I started implementing a jump planning and adaptive landing technique today. As it stands, jumping is pretty useless since you rarely land well, and so you become a sitting (or tumbling) duck. As a result, players don’t use the jump too often even though it can open up gameplay. Here’s a clip of some self-correcting jumps:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/f/dbf8c7da4b7218853af692f001b7c9786bd149d1.jpeg "Vehicle Landing Correction Test") ](https://www.youtube.com/watch?v=jNJNZsntSHA)

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [June 19, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/33 "2015-06-19T19:52:39Z")

</div>

Fixed up the planning algorithm so it’s purely physics-driven - no rotation interpolation necessary to smooth out the landing.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/f/17fce5b3331c7171e81a2d7dff98fc4e190046d7.jpeg "Planning Vehicle Landings in UE4 with Physics") ](https://www.youtube.com/watch?v=Tg70D3v7nrM)

---

<div class="post-metadata">

**Author:** ![HateDread](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HateDread](https://forums.unrealengine.com/u/HateDread)\
**Post date:** [June 26, 2015, 4:52am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/34 "2015-06-26T04:52:13Z")

</div>

> [@piinecone;301111](#):
>
> Hey , thanks!
> 
> I wonder if you’re seeing collision detection errors or high latency projectile movement errors. I’ve done some work to make physics projectile movement in higher latency situations passable, but I still notice some correction if my ping is high enough. Are you noticing some weird projectile movement? I made some improvements for the latest build but haven’t released it yet.
> 
> The other possibility is the colliders: I have overlap-only colliders that surround the vehicle which detect approaching projectiles and swap the physics asset (in preparation for imminent explosion). I do this to prevent the actual velocity-affecting “hit” event from taking place, because I want the player to feel like their shot (or vehicle) went right through their opponent. I wonder if that’s the source of the errors you’re seeing - you can nick the corner of a bounding box (and not touch the vehicle) and destroy the pawn. Maybe you could point me to a specific clip so I can take a look?
> 
> I have a plan for doing away with the bugs from those overlap boxes, sounds like I should get into that soon!

Ahh, sorry I didn’t see this sooner!

It’s been a bit too long for me to remember which clip I was talking about, sorry ☹ I’ll have a watch when I have time and might notice something.

> [@piinecone;314870](#):
>
> Fixed up the planning algorithm so it’s purely physics-driven - no rotation interpolation necessary to smooth out the landing.
> 
> [https://youtube.com/watch?v=Tg70D3v7nrM](https://youtube.com/watch?v=Tg70D3v7nrM)

This looks cool, although there’s something ‘off’ about it - maybe it’s too slow?

I’d be interested in hearing what you mean by ‘planning algorithm’. To me that refers to the field of AI Planners, and I can’t imagine how that would be applicable (unless you’re doing some seriously crazy \*\*\*\* 😃 ).

EDIT: You and a couple of the other guys (AusPaco, etc) should definitely come hang out on #unrealengine. We’re a friendly bunch and I need more people online when I’m at work 😉

---

<div class="post-metadata">

**Author:** ![JonathanCDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonathanCDev](https://forums.unrealengine.com/u/JonathanCDev)\
**Post date:** [June 26, 2015, 6:31am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/35 "2015-06-26T06:31:09Z")

</div>

these game just looks like its going to be tons of fun ^0^

---

<div class="post-metadata">

**Author:** ![HateDread](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HateDread](https://forums.unrealengine.com/u/HateDread)\
**Post date:** [July 1, 2015, 2:00am UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/36 "2015-07-01T02:00:06Z")

</div>

Just tried to play in the office - can I not host a local game? ☹ When your server isn’t up it seems like I can’t play.

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [July 6, 2015, 6:24pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/37 "2015-07-06T18:24:07Z")

</div>

> [@;319030](#):
>
> Ahh, sorry I didn’t see this sooner!
> 
> It’s been a bit too long for me to remember which clip I was talking about, sorry ☹ I’ll have a watch when I have time and might notice something.
> 
> This looks cool, although there’s something ‘off’ about it - maybe it’s too slow?
> 
> I’d be interested in hearing what you mean by ‘planning algorithm’. To me that refers to the field of AI Planners, and I can’t imagine how that would be applicable (unless you’re doing some seriously crazy \*\*\*\* 😃 ).
> 
> EDIT: You and a couple of the other guys (AusPaco, etc) should definitely come hang out on #unrealengine. We’re a friendly bunch and I need more people online when I’m at work 😉

Do you think perhaps the gravity is too floaty? I have been considering increasing it a touch. I also wonder if it could be that the adjustments to angular velocity don’t start occurring until after you take off, and it might look better and more natural if it seems like your launch is already considering your landing. I also think that introducing a bit of noise to the angular velocity adjustment might help the landings and adjustments look slightly imperfect and therefore a bit more natural. What do you think?

Regarding AI Planners, this is much, much simpler than that. “Planned landings” just refers to the vehicle’s ability to identify when and where it’s going to land, and an ideal rotation delta necessary for a smooth landing. Nothing too fancy here!

I’ll start hanging out in IRC again. 😃

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [July 6, 2015, 6:28pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/38 "2015-07-06T18:28:05Z")

</div>

> [@;322192](#):
>
> Just tried to play in the office - can I not host a local game? ☹ When your server isn’t up it seems like I can’t play.

Servers were down for you? My monitoring tools are lying to me (or I guess I’m lying to them). The dedicated servers should always be up, though I only put in some monitoring and upkeep last week so it’s possible you tried before then.

If you grabbed the latest build from [www.kingofkalimpong.com](http://www.kingofkalimpong.com) then you should be able to play on the dedicated server, or run a linux dedicated server. I should ship a win64 server build too.

I actually haven’t tried a game as a listen server – is that what you tried? I should make that work, too. As you can tell, I have a lot of buttoning up to do!

---

<div class="post-metadata">

**Author:** ![piinecone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@piinecone](https://forums.unrealengine.com/u/piinecone)\
**Post date:** [July 6, 2015, 6:28pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/39 "2015-07-06T18:28:35Z")

</div>

> [@Shadowjonny;319056](#):
>
> these game just looks like its going to be tons of fun ^0^

Thanks! 😃

---

<div class="post-metadata">

**Author:** ![HateDread](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HateDread](https://forums.unrealengine.com/u/HateDread)\
**Post date:** [July 6, 2015, 11:51pm UTC](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064/40 "2015-07-06T23:51:44Z")

</div>

> [@piinecone;325844](#):
>
> Do you think perhaps the gravity is too floaty? I have been considering increasing it a touch. I also wonder if it could be that the adjustments to angular velocity don’t start occurring until after you take off, and it might look better and more natural if it seems like your launch is already considering your landing. I also think that introducing a bit of noise to the angular velocity adjustment might help the landings and adjustments look slightly imperfect and therefore a bit more natural. What do you think?
> 
> Regarding AI Planners, this is much, much simpler than that. “Planned landings” just refers to the vehicle’s ability to identify when and where it’s going to land, and an ideal rotation delta necessary for a smooth landing. Nothing too fancy here!
> 
> I’ll start hanging out in IRC again. 😃

I think that could be a good change - it’s definitely too floaty and smooth at the moment.

Regarding the server play - I tried driving into the pads at the start and hitting E. I see the ‘open xxx’ command, and then I’m back at the start again. I can do this infinitely and never actually see any gameplay. I must be crazy - how do I run a server? There’s no options in-game and no server binary.

[Previous page](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064.md?page=1)

[Next page](https://forums.unrealengine.com/t/king-of-kalimpong-multiplayer-vehicle-battle-game/9064.md?page=3)
