Resource icon

VScript Crit Pumpkin Model Replacer 2.0

LizardOfOz

Hale's Own Programmer
aa
Sep 7, 2022
308
100
LizardOfOz submitted a new resource:

Custom Crit Pumpkin Model - Want your Crumpkins to look different?

An edit of my other script: No Crumpkins.

This script assigns a custom model to Crit Pumpkins (aka Crumpkins) immediately as they spawn.

To make it work on your Halloween map, put this script into scripts/vscripts/ folder and create a logic_script entity with the following parameters:
Entity Script...........................custom_crumpkins.nut
Script think function..........Think...

Read more about this resource...
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,699
2,581
Curious how this works, so I can adapt it into a script to replace other models. I'm especially curious why the Think function fires when people pick up ammo packs? Am I reading that right?
 

LizardOfOz

Hale's Own Programmer
aa
Sep 7, 2022
308
100
LizardOfOz updated Crit Pumpkin Model Replacement with a new update entry:

Rewrite

Like with No Crumpkins, the new implementation listens to player_death event (while still being fully compatible with any other script) instead of looking over every dropped ammo pack every single tick like it used to.

I've also made sure that old event listeners from the previous rounds don't pile up, and that it's fully compatible with any other script.

Read the rest of this update entry...