Results 1 to 6 of 6

Thread: Objects not showing up on server?

  1. #1
    Wondering if anyone has an answer for me, he goes.

    I have placed a fortress and some sand bags on a house roof to make a fortified looking house.

    But the objects aren't showing on the server?

    everything works fine locally and to test why they're not showing up i've set up a trigger to move them off the ground when i radio alpha:

    fort1 setpos [getPos fort1 select 0, getPos fort1 select 1, 3.8];fence3 setpos [getPos fence3 select 0, getPos fence3 select 1, 3.5];fence2 setpos [getPos fence2 select 0, getPos fence2 select 1, 3.5];fence1 setpos [getPos fence1 select 0, getPos fence1 select 1, 3.5]

    and they arn't showing at all,anyone ideas?




  2. #2
    Moderator, ret.
    oida ouk eidos
    raedor's Avatar
    Join Date
    Sep 30 2002
    Location
    Germany, Austria
    Posts
    5,284
    setPos does not work in MP or it (looks like it) has only local effect.

  3. #3
    try with :

    this setPosASL [ getPosASL this select 0, getPosASL this select 1, (getPosASL this select 2) + 2.5];

  4. #4
    L etranger thanks but it didn't work either

    To add to the problem i have a Dshkm on the roof as well BUT it shows up and thats using:

    mg2 setpos [getPos mg2 select 0, getPos mg2 select 1, 3.4]

    SO whats not showing up is a Fortress and 3 fences.. ***

    [Edit]also i have other fences on the ground so i know theres no problems with missing addons or somthing like that.

    Is there away to place the Fortress and fences' on the ground somewhere and then move them to the postion with say a trigger. Ie everything set up a mile off then i can watch and move the iteams from where ever on to the roof?

    I would need to know the pos of where i want the iteams to go(location on the roof) how would i find this out?

    Thanks for any help

    [2nd Edit]I can now say after testing that Fortress' and fences' do not react to "setpos".

    I had tested with 3 Fortress' one under the ground,one on ground level and one floating and a trigger to move them a set hight above ground level...

    Well they all Started on ground level and when i pressed the trigger nothing happened... *** ***All stayed where they were. ***




  5. #5
    I've found that anything static, i.e. buildings, fortresses and such apparently cannot be setPos'd in MP. The only thing you can do is create them and setDir on them. But they can only be moved locally after that.

    For example, Client A uses createVehicle to make a fortress. He can setPos it anywhere after that. But none of the other clients can, nor will they see if it moves. They'll only see it in the original starting point. They can, however setDir it.

    Also, any buildings that are created won't collapse like the pre-placed island buildings when destroyed.

    Since I'm working on RTS4, and that requires that a base be built, this has been an issue. In 1.02, all clients could setPos buildings, but the new position was not broadcast across the network, so it was local. The buildings would also collapse when destroyed. As of 1.05, this is not the case.

    I PM'd Suma, and he told me it was to reduce information sent across the network. I agree that it's a good thing--no sense in static object information being sent across the network, or it'd lag.

    So, I don't know what to do in your case. Perhaps we'll need to make an addon pack of static objects which are not classified as static objects so they can be setPos'd. Or perhaps they'll adjust it in an upcoming patch.
    _____________________________________________
    Visit the BootCamp ArmA 2 CO server: 66.239.221.141
    Bandwidth: 20 mbps
    Hardware: HP DL360G5 Dual-Core Xeon @ 3Gz /2GB RAM
    _____________________________________________

  6. #6
    Thanks for the info...

    Well lets hope they change it for 1.06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •