STEAM-RYHMÄ
SW Addons SW Addons
STEAM-RYHMÄ
SW Addons SW Addons
15
PELISSÄ
88
PAIKALLA
Perustettu
6. elokuuta 2024
Kieli
englanti
Kaikki keskustelut > Bug Reports > Aiheen tiedot
Tämä keskustelu on lukittu
Welded Props not loading on Articulated Vehicles.
I noticed something weird with all the Articulated Vehicles. Whenever I weld any props on the Articulated sections and then re-spawn it with the duplicator tool, the welded props don't show up on them.

Affected Vehicles:
- SW Articulated Bus
- SW Bi-Articulated Bus
- SW Old Articulated Bus
- SW Articulated Tram
- SW Short X12
- SW Long X12
- SW G15 Wuppertal Suspension Train

What is happening:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3447414419
I'm using the Articulated Bus as an example. In the screenshot are four articulated buses. The two buses on the left are spawned from the spawn menu and the two buses on the right are copies of the left ones that were spawned from the duplicator tool.

The top left bus has a barrel welded to the front half. I then re-spawned that bus with the duplicator tool which is the one on the top right. You see it retains the barrel that was welded to the front.

The bottom left bus has a barrel welded to the back half. I then re-spawned that bus with the duplicator tool which is the one on the bottom right. Notice how that re-spawned copy doesn't have the barrel on the back half. That is where the issue comes into play.

Theory:
My theory as to why this is happening must be because of how the Articulated vehicles sections load in. Each section seems to be classified as it's own vehicle/entity, but it can only be spawned in if the first section is spawned in first. For example, if I spawn either the X12 or the Bi-Articulated Bus, each section loads in like stages. The front loads in first, then the middle, and lastly the back. But the first section is the main vehicle itself. If I were to save it as a Dupe, only the front section show's up in the thumbnail, leaving the other two sections non-existent. It must be because the front section is required to be spawned in first in order to allow the other two sections to load in as well. However even if each section is connected, they act is if they're not, hence why they don't show up in a Dupe thumbnail. So any prop that's attached to the front section is going to show up in the Dupe and when spawned in. But if I were the save it with props attached to the sections instead, they won't show up in the saved Dupe and won't show up when spawned in, therefore leaving those props non-existent, too. Again this is just a theory so I'm probably wrong about this whole thing.
Viimeisin muokkaaja on FruitBerryCrunch; 19.3. klo 8.50
Alkuperäinen julkaisija: SligWolf:
Your theory is completely right.

What you describe there is how our vehicles are put together via lua. We start with the main vehicle and then have all the parts spawned in. This makes it impossible to save any attached stuff to the vehicle parts because they will always spawn in again, after the main vehicle.

We wont add a fix for this issue because it would be to complex to code a good working duplicator function that covers everything necessary. Besides that, our Dupe and Save compatibility only relates to saving the skins, colors and bodygroup of an SW vehicle. Especially for multi parts vehicles like you listed.

My prebuilt vehicles are meant for people who can't build there own in gmod. Of course they still will try to enhance these vehicles with props and stuff, but you need to accept the limits like in this case.
< >
Näytetään 1-2 / 2 kommentista
Tämän keskustelupalstan valvoja on ilmoittanut, että tämä julkaisu vastaa alkuperäiseen aiheeseen.
Your theory is completely right.

What you describe there is how our vehicles are put together via lua. We start with the main vehicle and then have all the parts spawned in. This makes it impossible to save any attached stuff to the vehicle parts because they will always spawn in again, after the main vehicle.

We wont add a fix for this issue because it would be to complex to code a good working duplicator function that covers everything necessary. Besides that, our Dupe and Save compatibility only relates to saving the skins, colors and bodygroup of an SW vehicle. Especially for multi parts vehicles like you listed.

My prebuilt vehicles are meant for people who can't build there own in gmod. Of course they still will try to enhance these vehicles with props and stuff, but you need to accept the limits like in this case.
Viimeisin muokkaaja on SligWolf; 19.3. klo 10.57
I'm glad I was correct.

I figured this wasn't gonna be fixed due to complexity but it was worth getting out there regardless just in case any body else try's to do this.

Thank you for your time. :steamthumbsup:
Viimeisin muokkaaja on FruitBerryCrunch; 19.3. klo 11.22
< >
Näytetään 1-2 / 2 kommentista
Sivua kohden: 1530 50

Kaikki keskustelut > Bug Reports > Aiheen tiedot
Lähetetty: 18.3. klo 16.40
Viestejä: 2

Lisää keskusteluja