Request for an option to enable "Fast Move" synchronization (0.3z style)

Started by lamkotien, Jan 29, 2026, 08:57 AM

Previous topic - Next topic

lamkotien

Dear VC:MP Development Team,

I am currently developing a server on the 0.4 platform, but I have noticed a significant change in synchronization compared to the 0.3z version regarding "Fast Moving" while shooting.

In version 0.3z, players could perform a technique where they fire a weapon (such as the Stubby Shotgun) and immediately switch to their hands or another slot just before the bullet is released. On the opponent's screen, this resulted in the player appearing to shoot while moving at full speed without being frozen by the firing animation. This created a high-skill, fast-paced combat environment that many players in the community loved.

However, in version 0.4, this mechanic seems to have been fixed. A player must now fully complete the firing frame for the shot to be synchronized and visible to others. While this is more "realistic," it removes the fluid, fast-paced movement style that defined the 0.3z competitive scene.

Would it be possible to implement a server-side setting (e.g., SetClassicSync(true)) or a scriptable function to allow this 0.3-style movement synchronization? This would give server owners the freedom to choose between "Realistic" or "Classic/Fast" combat styles.

Thank you for your hard work and for keeping this game alive.

Best regards.

This is a video that illustrates that.

Sebastian

Not sure if this can be achieved through scripts, but maybe worths asking in the official vcmp discord.
There are some guys who played with the weapon settings and might know something.

lamkotien

Thank you, my dear friend.

I am trying to implement a client-side Laser Sniper feature on my VC:MP 0.4 server but I'm struggling to get the client script to load.

**My Setup:**
- **Server Version:** VC:MP 0.4 (Windows)
- **Plugins:** `squirrel04rel32.dll` (Stormeus build), `xmlconf04rel32.dll`
- **Server Script:** [store/script/main.nut] /vcmp/store/script/main.nut) (This works perfectly for server-side logic).
- **Client Script:** [store/laser_client.nut] /vcmp/store/laser_client.nut) (This contains the `onClientRender` code for drawing lasers).

**The Problem:**
I want the server to send [store/laser_client.nut] /vcmp/store/laser_client.nut) to players when they connect.
However, when I try to load this script inside [main.nut] /vcmp/store/main.nut) using functions like `RegisterClientScript("store/laser_client.nut")` or `Script.LoadClientScript("store/laser_client.nut")`, the server console throws errors:

`[SCRIPT] !! Error: the index 'Script' does not exist`
or
`[SCRIPT] !! Error: RegisterClientScript function not found!`

It seems my current Squirrel plugin lacks the functions to register/load client-side scripts.

**Question:**
Is there a specific way to load a separate client script file ([laser_client.nut] /vcmp/store/laser_client.nut) from the main server script ([main.nut] /vcmp/store/main.nut) in this version? Or do I need an updated Squirrel plugin that supports `RegisterClientScript`?

If an update is needed, could someone please point me to the correct plugin version for VC:MP 0.4?

Any help would be greatly appreciated!

Thank you!

Vicky

Quote from: lamkotien on Jan 30, 2026, 09:00 AMThank you, my dear friend.

I am trying to implement a client-side Laser Sniper feature on my VC:MP 0.4 server but I'm struggling to get the client script to load.

**My Setup:**
- **Server Version:** VC:MP 0.4 (Windows)
- **Plugins:** `squirrel04rel32.dll` (Stormeus build), `xmlconf04rel32.dll`
- **Server Script:** [store/script/main.nut] /vcmp/store/script/main.nut) (This works perfectly for server-side logic).
- **Client Script:** [store/laser_client.nut] /vcmp/store/laser_client.nut) (This contains the `onClientRender` code for drawing lasers).

**The Problem:**
I want the server to send [store/laser_client.nut] /vcmp/store/laser_client.nut) to players when they connect.
However, when I try to load this script inside [main.nut] /vcmp/store/main.nut) using functions like `RegisterClientScript("store/laser_client.nut")` or `Script.LoadClientScript("store/laser_client.nut")`, the server console throws errors:

`[SCRIPT] !! Error: the index 'Script' does not exist`
or
`[SCRIPT] !! Error: RegisterClientScript function not found!`

It seems my current Squirrel plugin lacks the functions to register/load client-side scripts.

**Question:**
Is there a specific way to load a separate client script file ([laser_client.nut] /vcmp/store/laser_client.nut) from the main server script ([main.nut] /vcmp/store/main.nut) in this version? Or do I need an updated Squirrel plugin that supports `RegisterClientScript`?

If an update is needed, could someone please point me to the correct plugin version for VC:MP 0.4?

Any help would be greatly appreciated!

Thank you!

As far as I know, server-side scripts should be placed in vcmp/scripts folder and client side scripts belong in vcmp/store/script folder.

And talking about that error. Use this if you want to include other scripts along with main.
https://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions/dofile

RegisterClientScript isn't a valid VC:MP function.
Check out VC:MP Wiki for all the information about server functions and events.


lamkotien

Quote from: Vicky on Jan 30, 2026, 01:05 PM
Quote from: lamkotien on Jan 30, 2026, 09:00 AMThank you, my dear friend.

I am trying to implement a client-side Laser Sniper feature on my VC:MP 0.4 server but I'm struggling to get the client script to load.

**My Setup:**
- **Server Version:** VC:MP 0.4 (Windows)
- **Plugins:** `squirrel04rel32.dll` (Stormeus build), `xmlconf04rel32.dll`
- **Server Script:** [store/script/main.nut] /vcmp/store/script/main.nut) (This works perfectly for server-side logic).
- **Client Script:** [store/laser_client.nut] /vcmp/store/laser_client.nut) (This contains the `onClientRender` code for drawing lasers).

**The Problem:**
I want the server to send [store/laser_client.nut] /vcmp/store/laser_client.nut) to players when they connect.
However, when I try to load this script inside [main.nut] /vcmp/store/main.nut) using functions like `RegisterClientScript("store/laser_client.nut")` or `Script.LoadClientScript("store/laser_client.nut")`, the server console throws errors:

`[SCRIPT] !! Error: the index 'Script' does not exist`
or
`[SCRIPT] !! Error: RegisterClientScript function not found!`

It seems my current Squirrel plugin lacks the functions to register/load client-side scripts.

**Question:**
Is there a specific way to load a separate client script file ([laser_client.nut] /vcmp/store/laser_client.nut) from the main server script ([main.nut] /vcmp/store/main.nut) in this version? Or do I need an updated Squirrel plugin that supports `RegisterClientScript`?

If an update is needed, could someone please point me to the correct plugin version for VC:MP 0.4?

Any help would be greatly appreciated!

Thank you!

As far as I know, server-side scripts should be placed in vcmp/scripts folder and client side scripts belong in vcmp/store/script folder.

And talking about that error. Use this if you want to include other scripts along with main.
https://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions/dofile

RegisterClientScript isn't a valid VC:MP function.
Check out VC:MP Wiki for all the information about server functions and events.


Thank you, I placed it in the \store folder and it downloaded successfully to the client.