Resource icon

VScript AddVSCond 1.5.3 bug squashing update

Yaki

aa
Sep 3, 2018
418
256
Yaki submitted a new resource:

AddVSCond - Extended custom addcond / removecond for all entities

AddVSCond provides an extended custom condition system (like "addcond") for all entities.
  • They're custom addconds, VScript-powered! (Even comes with examples!)
  • Apply your own custom conditions to any valid CBaseEntity class!
  • Only one think script, which is used to clear entities with conditions after duration ends, they are invalid (dead, non-existent, changed class, etc).
  • No game events or hooks are used here!
  • No needing to organize the condition...

Read more about this resource...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.1 bugfixes

  • Fixed boot errors
    • const VSCond_MAX_Conditions wasn't being set on boot (oops)
  • Working on
  • Optimized some functions and main think script
    • Should check less often if entity IsValid()
    • VSCONDS_CLEANUP() optimized
  • Updated some example conds
    • VS_COND_AMPLIFIER_BEAMS is now VS_COND_PORTABLE_DISPENSER
    • VS_COND_MARKED now positions crossbones particle at top of model (no angles mishap)
  • Current list of functions
    • ...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.2 Shiny Compiler Update

  • Added a compiler (with steps!)
    • Sequentially boots through various functions.
    • Quite nice to read.
    • Organized!
    • Please add your new conditions to compiler.nut boot step
    • Please utilize function VSCONDS_COMPILE() to test your conditions
  • Fixed VSCONDS_RemoveAttachmentEnt() not removing particles and other attachments
  • Fixed VSCONDS_CreatePowerupIconParticle() returning invalid variable
  • Added readme.txt
  • Added blank...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.3 Settings Update

  • Added settings for conditions, so you can prevent vsconds from clearing on resupply, changeclass, changeteam, death, and even the RemoveVSCond() itself!
  • These are the variables you can add in the VS_COND_BASE class
    • removedByDeath
      removedByResupply
      removedByTeamChange
      removedByClassChange
      removedByCommand
  • (They're all set to true by default)

  • Optimized amount of "folds" the game has to process in the think script, so...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.4 OHYEAHH Update

  • Added function VSCONDS_ADD_CONDITION()
    • For adding your vsconds without having to go through the compiler
    • Use it like:
    • VSCONDS_ADD_CONDITION( "Bob" )
    • "Bob" is the condition name and class used by the condition. Needs to be a string
    • Use this function at the end of your vscond script.
    • (And, your conditions can be named anything now. No prefix required!)
  • Added condition_name to VSCond_Base class
    • Use...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.5 The "OK" Update

  • Fixed bug with GetVSCondDuration() returning 0 if duration was infinite (or -1)
    • Now prints funny number 1e30
  • Updated "Big Think" Script
    • Now runs VSCONDS_CLEANUP() on I/O firing RoundSpawn, and same function when spawned in
    • Starts as classname filter_activator_tfteam, then changes to move_rope to preserve itself through map restarts,
    • Pauses itself thinking when VSCONDS_CLEANUP() running.
  • Updated...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.5.2 The "OK" Update Vol 3

  • Fixed bug where VSconds weren't cleared when running VSCONDS_COMPILE()
    • Now runs VSCONDS_CLEANUP() first before reimplementing all vsconds
  • Updated VSCONDS_CLEANUP()
    • Added additional checks for VSCONDS_CLEANUP() to stop retrying to run itself after 3 attempts
    • Now prevents being able to rerun after cleanup happened until 1 second passed
  • Updated init.nut
    • Should just run VSCONDS_CLEANUP() only after first bootup, and not all code...

Read the rest of this update entry...
 

Yaki

aa
Sep 3, 2018
418
256
Yaki updated AddVSCond with a new update entry:

1.5.3 The "I will squash you bugs like bugs!" Update

To prevent errors, please make sure to add your vsconds to the root table when using IncludeScript().
Example:
IncludeScript("addvscond/conditions/EXAMPLE_readme.nut", ROOT);

  • Compiler functions updated
    • VSCONDS_CLEANUP()
      • Removed a few checks to prevent rerunning on failed attempt,
      • Now runs before compiling anything, to prevent attachments staying on map,
      • Runs when a vsconds order is rearranged, for the same reason above.
      ...

Read the rest of this update entry...