Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influx beams not downloading #96

Open
8guawong opened this issue Sep 20, 2019 · 0 comments
Open

influx beams not downloading #96

8guawong opened this issue Sep 20, 2019 · 0 comments
Labels

Comments

@8guawong
Copy link

On CSGO Windows using

SourceMod Version Information:
   SourceMod Version: 1.10.0.6439
   SourcePawn Engine: 1.10.0.6439, jit-x86 (build 1.10.0.6439)
   SourcePawn API: v1 = 5, v2 = 12
   Compiled on: Sep  2 2019 15:36:03
   Built from: https://github.com/alliedmodders/sourcemod/commit/d93f6984
   Build ID: 6439:d93f6984
   http://www.sourcemod.net/

Metamod:Source Version Information
   Metamod:Source version 1.11.0-dev+1128
   Plugin interface version: 16:14
   SourceHook version: 5:5
   Loaded As: Valve Server Plugin
   Compiled on: Sep  2 2019 11:26:58
   Built from: https://github.com/alliedmodders/metamod-source/commit/98d0c0f
   Build ID: 1128:98d0c0f
   http://www.metamodsource.net/

influx_beams.cfg

// Beam options:
//
// material		- .vmt file of the beam.
// download		- Adds given files to download table.
// displaytype	- "fullbeams", "beams" and "none"
// width		- Width of the beams.
// framerate	- Framerate, only really needed if animated(?)
// speed		- How fast the beams scroll. Steps of 10 seem to work the best.
// offset		- How much the beams are inset from their real bounds. By default half of width (players can always see them even if the zones touch walls).
// offset_z		- Same thing as above but for ground and ceiling. By default half of width (players can always see them even if the zones touch ground/ceiling).
// color		- Beam colors. (eg. "255 0 255 255")
"Beams"
{
	"start"
	{
		"width"		"6"
		"speed"		"10"
		// Only uncomment if you can use a fast-dl or have enabled sv_allowdownload
		"material"		"materials/influx/beam_start.vmt"
		"download"		"materials/influx/beam_start.vmt;materials/influx/beam_start.vtf"
		"color"			"0 255 0 255"
		"offset"		"-16"
	}
	"end"
	{
		"width"		"6"
		"speed"		"20"
		// Only uncomment if you can use a fast-dl or have enabled sv_allowdownload
		"material"		"materials/influx/beam_end.vmt"
		"download"		"materials/influx/beam_end.vmt;materials/influx/beam_end.vtf"
		"color"			"255 0 0 255"
		"offset"		"-16"
	}
	"freestyle"
	{
		"color"			"0 255 255 255"
	}
	"block"
	{
		"color"			"255 128 0 255"
	}
	"teleport"
	{
		"color"			"255 255 0 255"
	}
	"checkpoint"
	{
		"color"			"255 0 255 255"
	}
	"stage"
	{
		"color"			"128 255 0 255"
	}
	"autobhop"
	{
		"color"			"255 0 162 255"
	}
	"validator"
	{
		"color"			"190 255 190 255"
	}
}

i noticed the materials for the start and end is not working
fastdl is setup correctly
http://fastdl.fragnet.net/66.206.9.243_27015/materials/influx/
sv_downloadurl is set to "http://fastdl.fragnet.net/66.206.9.243_27015/"

i solved it by adding ReadDefaultSettingsFile to OnMapStart

not sure if its because AddFileToDownloadsTable in Influx_OnPreRunLoad is too early or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants