Author Topic: Error while doing a LoadRange command  (Read 242 times)

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Error while doing a LoadRange command
« on: March 28, 2019, 05:01:18 pm »
So I've been trying to update my building (Dundrum Town Centre) to have the new refurbished indicator but when I use the LoadRange command, it shows the highest number image.
Here's the code that I'm using to add the indicator.
Code: [Select]
LoadRange -2, 5, data/Dundrum Town Centre/Main Lifts 1/Indicators/floor%number%.jpg, DNumberMainLift1, 1, 1
LoadRange 1, 8, data/Dundrum Town Centre/Main Lifts 2/Indicators/floor%number%.jpg, DNumberMainLift2, 1, 1
Here's the code in the lift's actual code.
Code: [Select]
AddFloorIndicator DNumberMainLift1, right, -2.21, 0, 1, 1, 6
AddFloorIndicator DNumberMainLift1, left, 2.21, 0, 1, 1, 6
This is what it looks like when on the First Floor Mezzanine in Lift Set 2.

This is what it looks like when on The Gallery (Second Floor Mezzanine) floor in Lift Set 1.

Can anyone help me with this or will I have to do precise Text to Texture?
Thanks a mil,

- HP64

Timezone: GMT

Share on Facebook Share on Twitter


Offline ZZ9

  • Contributor Level I
  • *
  • Posts: 181
  • *Insert Useful Information Here*
  • Location: ZZ9 Productions Private Office Centre, ZZ9 City
    • View Profile
    • My YouTube channel - Skyscrapersim, Elevators & More!
Re: Error while doing a LoadRange command
« Reply #1 on: March 28, 2019, 05:07:04 pm »
Try setting the ID's of the floors to what the correct numbering system for your building should be. You'll need to specifically T2T for the buttons but it should fix the indicators at least.

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Re: Error while doing a LoadRange command
« Reply #2 on: March 29, 2019, 11:21:03 am »
Try setting the ID's of the floors to what the correct numbering system for your building should be. You'll need to specifically T2T for the buttons but it should fix the indicators at least.
The only thing with that is that the floor*.jpg files are like the actual floors (E.g. 1M = 2, 2M = 4, 6 = 8, 2 = 3) of the building.
Thanks a mil,

- HP64

Timezone: GMT

Offline ZZ9

  • Contributor Level I
  • *
  • Posts: 181
  • *Insert Useful Information Here*
  • Location: ZZ9 Productions Private Office Centre, ZZ9 City
    • View Profile
    • My YouTube channel - Skyscrapersim, Elevators & More!
Re: Error while doing a LoadRange command
« Reply #3 on: March 29, 2019, 01:03:40 pm »
Try setting the ID's of the floors to what the correct numbering system for your building should be. You'll need to specifically T2T for the buttons but it should fix the indicators at least.
The only thing with that is that the floor*.jpg files are like the actual floors (E.g. 1M = 2, 2M = 4, 6 = 8, 2 = 3) of the building.
The image files should be numbered by skyscraper's standard numbering system, it's the floor indicator's numbers which will require the ID changes

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Re: Error while doing a LoadRange command
« Reply #4 on: March 29, 2019, 04:37:39 pm »
Try setting the ID's of the floors to what the correct numbering system for your building should be. You'll need to specifically T2T for the buttons but it should fix the indicators at least.
The only thing with that is that the floor*.jpg files are like the actual floors (E.g. 1M = 2, 2M = 4, 6 = 8, 2 = 3) of the building.
The image files should be numbered by skyscraper's standard numbering system, it's the floor indicator's numbers which will require the ID changes
Never mind. Got the exact positioning with T2T.
Thanks a mil,

- HP64

Timezone: GMT