# External vs Internal vehicle tile tags - fixin holes in walls

**URL:** https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732
**Category:** The Drawing Board
**Created:** [April 4, 2014, 3:42pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732 "2014-04-04T15:42:56Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Cat09](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cat09/32/285_2.png) [@Cat09](https://discourse.cataclysmdda.org/u/Cat09)
#### Post date: [April 4, 2014, 3:42pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/1 "2014-04-04T15:42:56Z")

</div>

currently you need 2 tile wide walls to prevent interlopers into your vehicle, because of how the vehicle turning system works. For a relatively simple fix, prevent movement and attack into an [internal] tile without first entering an [external] tile, this could be automatically determined behind the scenes during vehicle creation. so if % is ext. and # int.  
%%% %%%  
%#% %#% # stays inaccessible because it is not a valid, walkable location, you must be in an external tile to access it  
%#% %#%  
%%% %%%  
revision: external would have to be decidable out of construction on vehicle damage.

---

<div class="post-metadata">

### Author: ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)
#### Post date: [April 4, 2014, 8:26pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/2 "2014-04-04T20:26:27Z")

</div>

Nice idea but how do you account for damage (EG a player-seeking zombear missile bores through your military plating, heavy duty wall to rip out your innards while you sleep)

---

<div class="post-metadata">

### Author: ![Cat09](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cat09/32/285_2.png) [@Cat09](https://discourse.cataclysmdda.org/u/Cat09)
#### Post date: [April 5, 2014, 3:35am UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/3 "2014-04-05T03:35:40Z")

</div>

the internal tiles, are simply inaccessible unless you go through the externals, so you can simply use the AI behavior for going around things they can’t bash through to have them go through the external tile instead. may require a small set of AI tweaks.  
also, ranged attacks are a bit of a conundrum, but that isn’t as important or as game-maiming as monsters climbing through a glitch in the wall while you drive.

---

<div class="post-metadata">

### Author: ![HeadWar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/headwar/32/2685_2.png) [@HeadWar](https://discourse.cataclysmdda.org/u/HeadWar)
#### Post date: [April 5, 2014, 4:33pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/4 "2014-04-05T16:33:16Z")

</div>

There is already an “in” and “out” concept for vehicles, to decide if you get rained on or not, and which which seems to update dynamically when a vehicle takes damage or doors are opened.

Wouldn’t that serve eminently for this otherwise elegant suggestion? Admittedly, you would then be vulnerable in a vehicle that has solid walls but no roof, but those should be fairly rare.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [April 5, 2014, 7:36pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/5 "2014-04-05T19:36:22Z")

</div>

The problem with using in vs out is that it won’t work if you’re in an open-topped vehicle, even though it should work the same.  
Calculating inside vs outside on the canonical representation of the vehicle, that might actually work…  
I don’t think it’ll be all that simple to make pathing work with that, but it might work.

---

<div class="post-metadata">

### Author: ![HeadWar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/headwar/32/2685_2.png) [@HeadWar](https://discourse.cataclysmdda.org/u/HeadWar)
#### Post date: [April 5, 2014, 10:05pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/6 "2014-04-05T22:05:42Z")

</div>

Use the current in/out for proof of concept, and if it works well, implement a proper internal/external?

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [April 5, 2014, 10:44pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/7 "2014-04-05T22:44:47Z")

</div>

The AI changes would be 100X harder to implement than the in-/out thing, so there’s no point.

---

<div class="post-metadata">

### Author: ![HeadWar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/headwar/32/2685_2.png) [@HeadWar](https://discourse.cataclysmdda.org/u/HeadWar)
#### Post date: [April 7, 2014, 8:36am UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/8 "2014-04-07T08:36:00Z")

</div>

Fair enough. It seems really really simple when you have no idea what the code looks like. =)

---

<div class="post-metadata">

### Author: ![Cat09](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cat09/32/285_2.png) [@Cat09](https://discourse.cataclysmdda.org/u/Cat09)
#### Post date: [April 7, 2014, 7:12pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/9 "2014-04-07T19:12:20Z")

</div>

one question I have is: what causes a creature to go around a tile to begin with? is it hard coded to tile ID, like for concrete wall…? but do hulks break those?

---

<div class="post-metadata">

### Author: ![BevapDin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bevapdin/32/228_2.png) [@BevapDin](https://discourse.cataclysmdda.org/u/BevapDin)
#### Post date: [April 7, 2014, 9:43pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/10 "2014-04-07T21:43:35Z")

</div>

If the move\_cost entry of the terrain/furniture is 0, the square is impassable. Same for vehicle parts with the OBSTACLE flag.

Hulks have the DESTROYS flags which causes them to ignore this and simply go wherever they want.

---

<div class="post-metadata">

### Author: ![Cat09](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cat09/32/285_2.png) [@Cat09](https://discourse.cataclysmdda.org/u/Cat09)
#### Post date: [April 8, 2014, 7:52pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/11 "2014-04-08T19:52:24Z")

</div>

which means that a temporarily applied move cost of 0 would not work for hulks, definitely a bit of a hack-in solution.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [April 8, 2014, 11:31pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/12 "2014-04-08T23:31:38Z")

</div>

> [@Cat09](#):
>
> which means that a temporarily applied move cost of 0 would not work for hulks, definitely a bit of a hack-in solution.

The point of DESTROYS is that they smash through obstacles. So no, you really can’t block a Hulk, and that’s intentional. Could dig a moat or something, but Hulks beat walls, by design.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)
#### Post date: [April 9, 2014, 3:12am UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/13 "2014-04-09T03:12:37Z")

</div>

If your vehicle had no roof wouldn’t things be able to jump in and get you?

It’s not an oversight, it’s a feature!  
(because let’s face it, if you haven’t built roofing on your vehicle you haven’t made 3 meter tall walls either.)

---

<div class="post-metadata">

### Author: ![HeadWar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/headwar/32/2685_2.png) [@HeadWar](https://discourse.cataclysmdda.org/u/HeadWar)
#### Post date: [April 9, 2014, 12:44pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/14 "2014-04-09T12:44:42Z")

</div>

[quote=“gtaguy, post:13, topic:5732”]If your vehicle had no roof wouldn’t things be able to jump in and get you?

It’s not an oversight, it’s a feature!  
(because let’s face it, if you haven’t built roofing on your vehicle you haven’t made 3 meter tall walls either.)[/quote]

That was pretty much my thinking as well. The problem is that a wall is impassable when the vehicle is straight, but becomes “climbable” when the vehicle is gay turned.

---

<div class="post-metadata">

### Author: ![Cat09](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cat09/32/285_2.png) [@Cat09](https://discourse.cataclysmdda.org/u/Cat09)
#### Post date: [April 9, 2014, 4:00pm UTC](https://discourse.cataclysmdda.org/t/external-vs-internal-vehicle-tile-tags-fixin-holes-in-walls/5732/15 "2014-04-09T16:00:09Z")

</div>

cougars or jumping spiders theoretically could jump in with no roof, but that is regardless of the disconnecting vehicle walls issue  
the hulk thing makes sense for walls, but not for unwalkable tiles… could those tiles become flagged as empty space when pathing from outside a vehicle?

There is still the other solution to this problem… that would generate large volumes of hate should I even mention it, even if it does make sense - effect wise.
