Vice City: Multiplayer

Server Development => Custom Content Releases => Object Showroom => Topic started by: PunkNoodle on May 14, 2017, 07:39 AM

Title: [Custom Object] Dummy with all the particles!
Post by: PunkNoodle on May 14, 2017, 07:39 AM
Content type: Object
Original author: R*
Modifications: Extracted from VC files and replaced a texture.
Modified by: me (PunkNoodle)

So what is this? This is a single lightweight object I took from game files and used it to attach all the available particles usable in VC:MP. That means if you wanna add a particle anywhere they are already set up and you just need to spawn the relative object in your desirable locations, that's why it's called "dummy". This dummy is very handy since its size it's less than 2 KB, so even the slowest net in VC:MP can download it without an issue.

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F5cb78a8a42f9d2dbdb31c9699929399f%2Fdummy%2Bparticles.7z&hash=9f505f7862f6c36d446966236ef4192500434252) (http://files.thijn.ovh/download/5cb78a8a42f9d2dbdb31c9699929399f/dummy+particles.7z)

Content screenshots:

This is our dummy object, normally made invisible by setting its draw distance to 0

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWReUVod.png%3F1&hash=63d3bf8b4c734e7f04d918fadc437d13e6daeb9c)

and following a preview of all the particle effects attached to the invisible dummy

ID 0 & 1 (they look the same)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F16jINKR.png%3F1&hash=c09e361b9498d0abb2a76a7ff019fafadce7c17c)

ID 2
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FnSDEITN.png%3F1&hash=0c86b064b11b573851761802beec744cbe0f975d)

ID 3
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FrdgG9yF.png%3F1&hash=60078d967e9a2e807e8a996eef86ebaad0264053)

ID 4
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWw5gJRK.png%3F1&hash=d9cfce6c09990a314f09a693e3a64c72372622ea)

ID 5
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FDbUjZZp.png%3F1&hash=539f0a5c72c48b3d06ce543ad98b3660515ed76d)

ID 6
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FsSCKJ82.png%3F1&hash=a9ccb380a0f57addd0baeeb66c46460bf863b75b)



Note.1: The object has been defined 7 times in objects,xml in order to attach to it all the available particles, the IDs range from 6000 to 6007, the dummy.xml spawns all of them in the airport parking lot for a preview.

Note.2: Do not use CreateObject because it won't create any effect! Spawn them only through XML files.

Note.3: I already aligned the particles to the bottom of the objects.
Title: Re: [Custom Object] Dummy with all the particles!
Post by: Anik on May 14, 2017, 08:39 AM
Wow!! Nice Job Dude..
Title: Re: [Custom Object] Dummy with all the particles!
Post by: KAKAN on May 14, 2017, 09:54 AM
This is awesome. I hope there was a way to control it through the server.that's not going to happen.
Wonderful job done there :) Keep it up.
Title: Re: [Custom Object] Dummy with all the particles!
Post by: Gulk2 on Nov 12, 2019, 11:54 PM
Bump, this is brilliant. I can't seem to work it though, getting invalid definition in objects.xml upon connecting to my server.
Title: Re: [Custom Object] Dummy with all the particles!
Post by: PunkNoodle on Nov 17, 2019, 12:34 AM
Quote from: Gulk2 on Nov 12, 2019, 11:54 PMBump, this is brilliant. I can't seem to work it though, getting invalid definition in objects.xml upon connecting to my server.
I've just retested it after years and it worked fine on my end. Try using /setconfig game_showdebug 1 and joining the server, it should probably tell you what the error is.

EDIT: I'm not very active here anymore, it was by chance that I stumbled across your post in time. If you need further and more prompt help perhaps bug me on LW's Discord server