Left 4 Dead 2

Left 4 Dead 2

493 betyg
VScript Autoloader
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Game Content: Scripts
Game Modes: Co-op
Items: Other
Filstorlek
Lades upp
Uppdaterades
98.302 KB
20 feb, 2020 @ 3:23
30 sep, 2020 @ 3:06
28 ändringsnotiser ( visa )

Abonnera för att ladda ner
VScript Autoloader

Beskrivning
Please load this mod first, otherwise it may be overwritten by other mods



This is the autoloader for the squirrel script (Vscript)

This mod is to resolve the conflict caused by replacing the scriptedmode.nut file

You can put your own files in (scripts/vscripts/autorun/)

The name is not arbitrary, the name must be script_ (number) .nut

Scripts placed in autorun will be automatically loaded in any game mode

Example:
script_1.nut , script_2.nut , script_125.nut

Currently supports 1000 files to load automatically

File prefixes currently supported:
  • script_ (auto call hook func)
  • loader_ (auto call hook func)
  • lib_ (will not call hook func)
  • weapon_ (will not call hook func)
  • server_ (will not call hook func)
  • (map name)_ (auto call partial hook func)
    example: c1m1_hotel_1.nut, c2m1_highway_2.nut
  • (game mode name)_ (auto call partial hook func)
    example: coop_1.nut, versus_2.nut
  • (map name)_(game mode name)_ (auto call partial hook func)
    example: c1m1_hotel_coop_1.nut, c2m1_highway_versus_2.nut

The loader will automatically call the function in the script, which means you don't need to call the function yourself

And the loader provides the function of adding chat commands, you can add chat commands at will

FAQ:

Q: Conflict with some mods
A: Because most of the script mods have replaced the same file (scriptedmode.nut), this is also the purpose of making this mod, but it still needs everyone to actively update and compatible

Q: Mod does not work
A: Go check the list of mods, there may be a conflict

Q: I have modified the priority and moved the mod to the addons folder, but it still doesn’t work
A: View guide How to make any script mod compatible with loader. This method should be 100% successful

Chat commands:
  • !qtgloader_reload - Reload loader
  • !qtgloader_reload_file - Reload all loaded files
  • !qtglib_reload - Reload qtglib

Console commands:
  • scripted_user_func qtgloader_reload - Reload loader
  • scripted_user_func qtgloader_reload_file - Reload all loaded files
  • scripted_user_func qtglib_reload - Reload qtglib
Populära diskussioner Visa alla (1)
1
6 jan, 2021 @ 10:17
KLISTRAD: BUG Report
.
47 kommentarer
HungarianPatriot 23 jul @ 11:11 
I had some rather nasty crashes, and found this in the console logs:

Repetitions of this line before the crash:
>>> Script running too long (7.59), terminating
[L4L][ERROR] HooksHub.BotQuery - Exception in func 'L4LROOT': Script terminated by SQQuerySuspend

And these preceding it shortly before:
[L4L][WARNING] BotQuery hook in getroottable() is not HooksHub.BotQuery! Hook was set in scripts/vscripts/qtg_ofunc.nut
[L4L][WARNING] CanPickupObject hook in getroottable() is not HooksHub.CanPickupObject! Hook was set in scripts/vscripts/qtg_ofunc.nut
[L4L][ERROR] BotQuery hook in g_ModeScript is not HooksHub.BotQuery! Hook was set in scripts/vscripts/qtg_ofunc.nut
[L4L][ERROR] CanPickupObject hook in g_ModeScript is not HooksHub.CanPickupObject! Hook was set in scripts/vscripts/qtg_ofunc.nut

qtg_ofunc.nut seems to be part of this addon, and the crash seems to be the result of poor interaction with L4L. Can you look into this?
GI1TcH!mg G@M3R 22 sep, 2023 @ 19:37 
Hey I have a question that I wanna ask you, um how exactly is RNG done and can it be checked from vscript?

because I noticed an issue with survivor legs, I don't know if this is something you can fix but i'm hoping you will understand the problem- when you have a skin that changes layers like lets say you have a bikini skin in third person but in first person it's a different clothing of a layer, it doesn't match with the first person legs model
with the third person model
there are skins that have layers but they just don't match with third and first person
I tried talking to Shadowsyn but he says "not sure how RNG different model parts work tbh, i don't know how it's done or whether it can even be checked for by the script"
Flatbread | #FixTF2 18 dec, 2022 @ 14:07 
Since Team Fortress 2 recently got support for VScript (pulled from L4D2), would it be possible to implement this into TF2 as well?
Ralsei 8 nov, 2022 @ 15:00 
eh for those michael bay likers of l4d2, This Addon can conflict with the Bridge Destruction Add-on which mysteriously disables the auto-spawning of bridges by the way
WellDare 31 aug, 2022 @ 13:43 
When i die this mod makes the time longer
SolexRaeve v3 18 aug, 2022 @ 7:32 
what character select command L4D2?
Fsky大魔王 7 jan, 2022 @ 1:54 
东西很好,但是团灭重启时必定会卡住差不多半分钟才正常,看了下评论日期好像是临死一搏版本开始的问题,唔,大佬你已经放弃修复了吗
Harry Osporn Nobel Prize 4 dec, 2021 @ 5:55 
hello, can you update this mod cause its causing crash when using with other vscript mod
Borb 29 jul, 2021 @ 17:57 
Gilbert, The Creator 3 jul, 2021 @ 21:38 
Can you fix this? everytime when you die and restart it takes a while to load again or it just straight up crashes i had the 3rd person shotgun sfx fix and it crashes