project-navigation
Personal tools

Author Topic: r24822 - Can't reach top floor on large ufo.  (Read 9846 times)

nidan

  • Guest
r24822 - Can't reach top floor on large ufo.
« on: June 25, 2009, 12:25:36 am »
Can't reach top floor on the larger UFO, (Harvester I think, see screenshot).
Can't actually reach the top step on the stair.

Reproduce:
Start ufo.
Start a skirmish game.
Bring down console.
Enter:
map day "-tropic/tr_ +drop_firebird +craft_ufo_harvester +h01 +h04 +h04 +h04 +f01 +f01 +f01 +f07 +f01 +f07 +f04 +f03 +p02 +f04 +f01 +f01 +f02 +f06 +f02 +f06 +f02" "-32 -32 0 -8 -8 0 -32 -16 0 -16 -16 0 24 8 0 24 0 0 -8 -24 0 16 16 0 -32 -8 0 -16 -8 0 8 -24 0 -8 -32 0 24 -8 0 24 -16 0 24 -24 0 -16 0 0 -16 16 0 -32 8 0 -16 8 0 -32 24 0 0 -32 0 8 -32 0 24 -32 0"

Try to reach the top floor. ;-)


[attachment deleted by admin]

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #1 on: June 25, 2009, 01:07:33 am »
VERY interesting !!
But sorry, I'm rather new to UFO:AI, so

Q1: How do I actually enter the string(s) to enter at the console ? Cut&Paste doesn't seem to work here :(

Q2: Could you plz give me a link to some docs that describe those strings to enter ? I assume they cause the actor to move to the desired place. That's something I always wanted to have (but didn't dare to ask for).

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #2 on: June 25, 2009, 04:13:38 am »
Q1: How do I actually enter the string(s) to enter at the console ? Cut&Paste doesn't seem to work here :(

There is a file that is the consol log. On Windows, its Documents and Settings/Application Data/Ufo dev

As for the map, I have come across this aswell, though sometimes the other stairs worked.

nidan

  • Guest
Re: r24822 - Can't reach top floor on large ufo.
« Reply #3 on: June 25, 2009, 10:17:15 am »
Q1: How do I actually enter the string(s) to enter at the console ? Cut&Paste doesn't seem to work here :(
Create a file in your base directory (the directory with all the .pk3-files) called whatever.cfg.
Put the string in whatever.cfg.
Type exec whatever.cfg in the console.

Q2: Could you plz give me a link to some docs that describe those strings to enter ? I assume they cause the actor to move to the desired place. That's something I always wanted to have (but didn't dare to ask for).
No, they set tiles if I've understood correctly, I haven't read the source regarding that though so I'm not sure.
Feel free to correct me if I'm wrong.
The first quoted part of the string is the tiles and the second part are coordinates, I assume the coordinated for each respective tile.

Assumptions can be dangerous though... =)

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #4 on: June 25, 2009, 11:16:20 pm »
Thx, guys :)
Using the 'exec' cmd is a good trick. Is hould have remembered that...
I also found the complete string in the console.log. Never noticed it before.
And yes, the data is about maptiles and their positions in an RMA. Thus you can create reproducable, non-random RMAs. Didn't know UFO was able to do that.

As for the starirway/ramp problem: Confirmed. I'll investigate. Currently recompiling the maps...

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #5 on: June 26, 2009, 09:45:25 am »
forget the mapname, but i was able to go up to the ufo-floor, but not to go down anymore :D

but waiting for recompile and test again ;)

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #6 on: June 27, 2009, 12:34:02 am »
I've been able to partially fix the prob (R24882). Unfortunately it requires a recompile of the affected maps.
You can now get to the second floor of the harvester (and down again).
Plz note that you can't walk to/stand on the topmost part of the ramp, but you can walk over that tile.
Amazing. No clue yet.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: r24822 - Can't reach top floor on large ufo.
« Reply #7 on: June 27, 2009, 08:05:39 am »
wasn't this problem fixed already with my map changes? at least i was able to walk up after these changes.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #8 on: June 27, 2009, 09:23:07 pm »
Not sure. Part of the problem was a bug I introduced recently, but only *part*.

What type of changes did you apply to the ramps ?

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #9 on: June 27, 2009, 11:37:04 pm »
Sorry, my so called 'fix' in R24882 was nonsense :(
Reverted it.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: r24822 - Can't reach top floor on large ufo.
« Reply #10 on: June 28, 2009, 07:39:44 pm »
they are less steep now and got steps

odie

  • Guest
Re: r24822 - Can't reach top floor on large ufo.
« Reply #11 on: June 28, 2009, 08:14:44 pm »
they are less steep now and got steps

Sorry, my so called 'fix' in R24882 was nonsense :(
Reverted it.

Haha, ooooo, bad boi Duke. lol. That means tml @ work, i have to recompile all the maps again. Lol. (a solid 3 hrs more for recompilation.... :P)

Aniwae, way to go Duke and Mattn. I look forward to the less-steep steps. =)

*pat on the shoulders*.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: r24822 - Can't reach top floor on large ufo.
« Reply #12 on: June 28, 2009, 10:01:35 pm »
they are less steep now and got steps
Steps ?? Are you sure you also applied that to the +tropic harvester ? I didn't see any steps.

@Odie:
Sorry for the inconvenience. At least your comp does most of the work ;)

odie

  • Guest
Re: r24822 - Can't reach top floor on large ufo.
« Reply #13 on: June 29, 2009, 08:19:14 am »
@Odie:
Sorry for the inconvenience. At least your comp does most of the work ;)

Lol, no prob. :D

Its just recompiled in 5 mins ago's time. Now compiling the installer then i will re-upload.

Toodles!

Thanks for the GREAT work so far! ^^

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: r24822 - Can't reach top floor on large ufo.
« Reply #14 on: June 29, 2009, 08:29:24 am »
maybe i've missed the tropic one. the others (e.g. africa) should have it