[ian-reeds-games] Re: Problem with Map Editor - Tactical Battles

  • From: Monkey <murtagh69.monkeys@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sat, 14 Apr 2018 06:49:13 -0600

Yeah that is weird then, I can't think of what might be causing it.
Passable and impassable terrain work fine in my version of TB.

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:

I changed the terrain filenames to only include lowercase characters, then
made the same change in the unit file, no typos. Still nothing, it still
won't move. I even placed a large series of the terrain to form a big block
in case I hit some weird way it couldn't do diagonal movements or
something. I went over there manually, but I didn't have that flag that
makes it wait for sight. I don't get it, the thing moves fine without any
terrain restrictions, but as soon as I add that back in, nope. I changed
the order of the terrains in the list, because I had the second one it
would encounter first. The ship is inside a square of that terrain, and
there are no other units anywhere around that. Right now, the only things
on the map is a federation ship, a planet I modified, and the automated
ship. I planned to add more, but I made the map way too big, so I'm gonna
scale it down.

On Sat, Apr 14, 2018 at 12:38 AM, Monkey <murtagh69.monkeys@xxxxxxxxx>
wrote:

Not sure if it matters but try using solely lowercase as opposed to
upper.
Otherwise yes your flag looks fine. I'm assuming your terrain names
are also identical to the ones in the flag? No typos?
If this doesn't work I'm willing to look at it if you want. But based
on your flag alone it looks fine so it could be a name issue, or there
could be units on the tile which may block your ship from moving if
you don't have a higher unit limit per square.

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
passable_terrain=Plagueship_Projected_Course,Ellius_Orbital_SpaceWith
the
equals, here's the line from my unit



On Fri, Apr 13, 2018 at 11:27 PM, Monkey <murtagh69.monkeys@xxxxxxxxx>
wrote:

Are you using them with the = or without?
I use
passable_terrain=bridge,bridged_pit
in the unit file from one of my packs and that works as it should.

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
Nah, wasn't using both at once, but it doesn't work, however, I take
it
away, it works. I don't know lol.

On Fri, Apr 13, 2018 at 11:07 PM, Monkey
<murtagh69.monkeys@xxxxxxxxx

wrote:

Passable means it'll only move on the ones in that list, yeah. As
long
as you weren't using both flags at the same time it should work.

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
I've tried it both ways, using passable, and listing two
terrains,
doc
says
its a comma separated list, and then impassible, listing just
space,
so
then it in theory should only be able to move in the ones I made
since
those are the only 3 terrains on the map.

On Fri, Apr 13, 2018 at 10:00 PM, Monkey
<murtagh69.monkeys@xxxxxxxxx

wrote:

Yeah thought you were missing one of those flags.

Which flag are you using to restrict the ship? Did you mix up
impassable versus passable terrain?

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
I got that part fixed, now its all working. I think the issue
might
have
been that I didn't put the |units and |regions etc. because I
thought
the
map editor would do it. SO I just copied another map and
modified
it,
then
used the editor. The problem now is that the plague ship won't
move
in
the
terrain I designated for it to move in, if I remove the
restriction,
it
moves, if the restriction is there, it won't move.

On Fri, Apr 13, 2018 at 8:28 PM, Monkey
<murtagh69.monkeys@xxxxxxxxx>
wrote:

Yeah I get that. But there could be something up with the map
file,
I've had something similar happen when I first started out.
Missing
line perhaps.

On 4/13/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
Well, is seems like something larger than a problem with my
map
since
trying to save in the editor basically makes the game stop
on
that
error.
Even if I only place one tile of terrain and try to save,
same
thing
happens.

On Fri, Apr 13, 2018 at 2:07 AM, Monkey
<murtagh69.monkeys@xxxxxxxxx>
wrote:

I'm willing to take a look at your pack to see what's up,
if
you
want
to send it in a zip.

On 4/12/18, Brandon Cross <bcross3286@xxxxxxxxx> wrote:
HI. I have tried the process of map creation. I am
creating
a
new
map
for a
pack, but not just a whole pack. I've made some custom
terrains,
a
custom
skill, a new point etc. I hammered out the errors on my
end
when
I
tried
to
load the map in the map editor. All that is fine now,
however,
after
platcing terrains and putting the units/structures on
the
map,
I
get
this
immense error and the game crashes after.

---------------------------

---------------------------
An error has occurred.  Please notify the game creator
of
this
error.
You
can copy the entire error to your clipboard by pressing
control
+
C.
Then
you can paste it into an email by pressing control + V
and
send
the
email
to support@xxxxxxxxxxxxxxxxxxx.
System.NullReferenceException: Object reference not set
to
an
instance
of
an object.

   at Ian.MapEditor.Save10(Map map) in
C:\Data\Recent\Games\TacticalBattle\TBStates\
MapEditor.cs:line
369

   at Ian.MapEditor.SaveMap() in
C:\Data\Recent\Games\TacticalBattle\TBStates\
MapEditor.cs:line
263

   at Ian.MapEditor.HandleEditorKey(Unit u,
TBClientWorld
ent)
in
C:\Data\Recent\Games\TacticalBattle\TBStates\
MapEditor.cs:line
212

   at Ian.MapEditor.Process(TBClientWorld ent) in
C:\Data\Recent\Games\TacticalBattle\TBStates\
MapEditor.cs:line
92

   at Ian.SceneMachine`1.Process(T ent) in
C:\Data\Recent\Games\GameEngine\SceneMachine.cs:line 66

   at Ian.TBGameLoop.InnerSingleLoop(TBClientWorld ent,
QueuedGameInput
formInput) in C:\Data\Recent\Games\
TacticalBattle\TBGameLoop.cs:
line
57

   at Ian.GameLoopLogic.RunLoops[TWorld](TWorld ent,
QueuedGameInput
formInput, Action`2 runSingleLoop, Double
totalElapsedSeconds,
Double
fixedTimeStep) in C:\Data\Recent\Games\
GameEngine\GameLoopLogic.cs:
line
31

   at Ian.TBGameLoop.RunLoops(TBClientWorld ent,
QueuedGameInput
formInput)
in
C:\Data\Recent\Games\TacticalBattle\TBGameLoop.cs:line
23

   at Ian.GameWindow`1.RunGameLoop() in
C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 135

   at Ian.GameWindow`1.GameLoopTimer_Tick(Object sender,
EventArgs
e)
in
C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 182

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.
TimerNativeWindow.WndProc(
Message&
m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd,
Int32
msg,
IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------



--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe'
in
the
Subject
field.
Or by visiting the list page at
//www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%
20Dev.zip





--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in
the
Subject
field.
Or by visiting the list page at
//www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%
20Dev.zip





--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the
Subject
field.
Or by visiting the list page at //www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip





--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the
Subject
field.
Or by visiting the list page at //www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip





--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the
Subject
field.
Or by visiting the list page at //www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip





--
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject
field.
Or by visiting the list page at //www.freelists.org/list/
ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip





-- 
-Mew
__________
http://www.savethefrogs.com/

-----
You can unsubscribe from this list by sending email to 
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.
Or by visiting the list page at //www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip

Other related posts: