Client Update Released (April 17)

Started by maxorator, Apr 17, 2016, 01:40 AM

Previous topic - Next topic

maxorator

A client update has been released for 04rel003.

  • Support for custom vehicle animations, same way as in MVL.
  • Fixes vehicle tires shootable through the vehicle.
  • Fixes custom LOD objects rendered even when close.
  • Fixes a crash when cleaning up custom objects on disconnect.
  • Death reason/killer while in vehicle should work better now.
  • Support for custom timed objects.
  • Support for 2dfx effects on custom objects.



About using timed objects and 2dfx

Courtesy of AdTec_224, we are now closer to being able to properly port maps in their full glory to VC:MP. The limit of 2dfx is around 10000. I won't be giving a long explanation on this, just some examples in the spoiler below. If you have any specific questions about them, ask away.

[spoiler]
Timed object:
    <object id="1777">
        <flags value="12"/>
        <time on="18" off="3"/>
        <texture path="comlights.txd"/>
        <collision path="comNbtm.col" name="block4_scplights"/>
        <model path="block4_scplights.dff" distance="3000.000000"/>
    </object>

Object with a light 2dfx:
    <object id="1046">
        <flags value="0"/>
        <texture path="maindragsb1.txd"/>
        <collision path="industSE.col" name="ind_maindrag1"/>
        <model path="ind_maindrag1.dff" distance="210.000000"/>
        <effect>
            <position x="2.591290" y="-19.984100" z="-9.906090"/>
            <colour r="255" g="255" b="255" a="200"/>
            <type>0</type>
            <light>
                <distance>100.000000</distance>
                <outerrange>0.000000</outerrange>
                <size>1.000000</size>
                <innerrange>0.000000</innerrange>
                <shadowintensity>40</shadowintensity>
                <flash>1</flash>
                <wet>0</wet>
                <flare>0</flare>
                <flags>0</flags>
                <corona>coronastar</corona>
                <shadow>shad_exp</shadow>
            </light>
        </effect>
    </object>

Object with a particle 2dfx:
    <object id="1080">
        <flags value="0"/>
        <texture path="dogfact.txd"/>
        <collision path="industSE.col" name="petfoodfactory"/>
        <model path="petfoodfactory.dff" distance="100.000000"/>
        <effect>
            <position x="-5.738040" y="2.641720" z="19.758400"/>
            <colour r="255" g="255" b="255" a="200"/>
            <type>1</type>
            <particle>
                <type>0</type>
                <strength x="0.000000" y="-0.000000" z="-0.005000"/>
                <scale>0.500000</scale>
            </particle>
        </effect>
    </object>
[/spoiler]

Xmair

@KayP , no need of that obj now :DD

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

DizzasTeR

I don't really understand this custom object effects but maybe I got some idea. Sounds effective.

KAKAN

Quote from: Doom_Kill3R on Apr 17, 2016, 03:19 AMI don't really understand this custom object effects but maybe I got some idea. Sounds effective.
oh no

rww

Now I can add lights in Portland ;)

[spoiler]

[/spoiler]
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

Sebastian

Nicee.

A function that attaches objects to vehicle is all that is stopping me from creating a neon system. :D

EK.IceFlake

Quote from: sseebbyy on Apr 17, 2016, 11:17 AMNicee.

A function that attaches objects to vehicle is all that is stopping me from creating a neon system. :D
Everyone hates car neons. Everyone.
[jk]

DizzasTeR

Quote from: sseebbyy on Apr 17, 2016, 11:17 AMNicee.

A function that attaches objects to vehicle is all that is stopping me from creating a neon system. :D

^ This is going to be great for not just neons but my shooter gamemode :D

DizzasTeR

Quote from: vito on Apr 17, 2016, 01:09 PM
Quote from: Doom_Kill3R on Apr 17, 2016, 12:43 PM^ This is going to be great for not just neons but my shooter gamemode :D
U mean shooting positions at cars?



Currently that is not possible in VCMP but I've done another way around to allow 'vehicle rocket shooting'. It will be a lot better to attach a rocket object on vehicle to make it look more better.

KAKAN

Quote from: Doom_Kill3R on Apr 17, 2016, 01:15 PM
Quote from: vito on Apr 17, 2016, 01:09 PM
Quote from: Doom_Kill3R on Apr 17, 2016, 12:43 PM^ This is going to be great for not just neons but my shooter gamemode :D
U mean shooting positions at cars?



Currently that is not possible in VCMP but I've done another way around to allow 'vehicle rocket shooting'. It will be a lot better to attach a rocket object on vehicle to make it look more better.
#rocketvehicle
Lets make a moon and a rocket :D
Set the moon's height's Z to 3000 then, get the rocket, lower the gravity and get to moon :D
oh no

Sebastian

Quote from: gta.wikia.comTypes of Flashes
  • 0   constantly lit all time
  • 1   constantly lit at night
  • 2   occasional flicker all time
  • 3   occasional flicker at night
  • 4   ~1 second flashes
  • 5   ~1 second flashes at night
  • 6   ~2 seconds flashes
  • 7   ~2 seconds flashes at night
  • 8   ~3 seconds flashes
  • 9   ~3 seconds flashes at night
  • 10   random flicker
  • 11   random flicker at night
  • 12   hardcoded traffic lights properties
Type 12 is involved in hardcoded properties of traffic lights. It is mainly used to position the lights on the traffic light. A traffic light without a 2DFX entry will crash the game when the traffic light is loading.



Quote from: gtamodding.comTypes of Particles
  • 0   small white smoke
  • 1   medium white smoke
  • 2   large white smoke
  • 3   fire (it doesn't burn)
  • 4   black smoke
  • 5   water fountain (Vice City only, will spray water droplets on the screen)
  • 6   water spray (Vice City only, will spray water droplets on the screen)

Image - Ordered from 6 to 0 from left to right, all size is 1 with Tommy at the bottom for comparison


Hanney


KAKAN

Quote from: Hanney on Apr 17, 2016, 11:10 PMhttp://imgur.com/a/DbERH

Credits to @AdTec_224 for this!
Wow! Now we can enlighten the dark office located in Cherry Popper :D
oh no

Brian

Well I was able to play once, after closing down the browser and then trying to play later again it didn't work and I get the same issue as described before in previous updates (effectively permanently breaking the browser after closing it). This is most likely the same thing that happend in all the previous updates that caused problems for me. Any of you devs that may be able to work with these additional details?

Stormeus

Do gta-vc.exe or VCMPBrowser.exe persist in the task manager after closing? If not I have not the slightest clue whatsoever.