Home   Help Search Login Register  

Author Topic: Buildings moving around  (Read 551 times)

0 Members and 1 Guest are viewing this topic.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Buildings moving around
« on: 25 Jul 2003, 15:47:20 »
I have created my buildings with gamelogics as such:
"bu3 = ""ResHousehangar_2"" createVehicle getPos this; house setdir getdir this"
The problem is:  the buildings are not in the same place every time the mission starts.  I can preview and all is well, make a change on the map un related to the building, preview again and the building has shifted positions by several meters.  Also after I have exported to multi and when I start the mission, the buildings will be similarly shuffled, I start again and they are shuffled to different locations! Perhaps I should go back to editing the sqm file for building placement?  

deaddog

  • Guest
Re:Buildings moving around
« Reply #1 on: 25 Jul 2003, 15:51:15 »
If the game logics are grouped together then that could cause problems.  You can also use the absolute location to place them:

blahblah createvehicle [12345,67890], etc...

or try using camcreate instead.

Or use a marker,

blahblah createvehicle getmarkerpos "nameofmarker"




Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Buildings moving around
« Reply #2 on: 25 Jul 2003, 15:54:13 »
they aren't grouped,(now), I discovered that early on.  I have considered using the absolute location.  I guess that will be the easiest solution

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Buildings moving around
« Reply #3 on: 25 Jul 2003, 20:51:12 »
after much experimentation, I have had to add the buildings by placing an empty jeep on the map and editing the sqm.  After many tries, they haven't moved around yet