Skip to content
[foo] bar edited this page Jul 17, 2013 · 15 revisions

Redneck Trails 2 is a rewrite of the original "looney trails" eventscript replacement for the Redneck Campgrounds and Graveyard. The 6o4 eh test server is running the latest dev copy of rn-trails2.

ChangeLog

  1. 0.14: First beta version of RN-Trails 2
  2. Moved to in memory entity config. Settings for effects now configurable through .cfg.
  3. New configuration file: addons/sourcemod/configs/rn-trails2.cfg
  4. Adding new effects.
  5. Should apply entity effects to map items (healthkids, ammo, weapons, etc), newly created entities and most entities in general.
  6. Has bugs. This is a preview version.

Files

  1. rn-trails.sp: github rn-trails.sp
  2. rn-trails2.cfg: github rn-trails.cfg

Configuration

Every entity you want to tag with a special effect is configured in rn-trails2.cfg:

	{
		"crossbow_bolt"
		{
			"trail_effect"  "beam"
			"trail_beam_color" "65 105 225 128"
	//              "trail_beam_color" "128 128 128 128"
			"light" "11"            // light style, 0 disables
			"light_distance" "50"
			"light_color" "227 45 8 128"
			"light_time" "5.0"
			"light_inner_cone" "0"
			"light_cone" "0"
			"light_brightness" "6"
			"light_spotlight_radius" "15.0"
			"light_pitch" "0"

	//              "sound_file" "ambient/fireworks/fireworks_shatter01.mp3"
			"sound_file" "z-sixofour/chicken.mp3"   // put it on chicken fucker to scare people off of the dev server
			"ondeath_effect" "fireworks"  // 0.14: unimplemented place holder
		}

		"grenade_ar2"
		{

			"trail_effect" "beam"
			"trail_beam_color" "224 27 27 0"
		}

		"npc_grenade_frag"
		{
			"trail_effect" "smoke"
			"smoke_scale" "100"
			"smoke_framerate" "1.0"
			"sound_file" "vo/npc/male01/hacks01.wav"  // anyone good enough to cook grenades MUST be using hacks right??
		}

		"npc_tripmine"
		{
			"trail_effect" "tesla"
			"tesla_radius" "210"
			"tesla_beamcount_min" "5"
			"tesla_beamcount_max" "15"
			"tesla_thick_min" "3"
			"tesla_thick_max" "15"
			"tesla_lifetime_min" "1"
			"tesla_lifetime_max" "120"
			"tesla_interval_min" "1"
			"tesla_interval_max" "10"

			"sparks_scale" "1000"
			"sparks_framerate" "1.00"
			"sound_file" "z-sixofour/doh.wav"
		}

		"rpg_missile"
		{
			"trail_effect" "ribbon"
			"sound_file" "z-sixofour/haha2.wav"
		}

		"item_battery"
		{
			"light" "11"
			"light_color" "45 133 226 128"
			"light_brightness" "2"
			"light_spotlight_radius" "15.0"
			"light_distance" "20"
		}

		"item_healthkit"
		{
			"light" "11"
			"light_color" "255 255 255 128"
			"light_brightness" "2"
			"light_spotlight_radius" "15.0"
			"light_distance" "11"
		}

		"weapon_crowbar"
		{
			"light" "1"
			"light_color" "194 0 0 128"
			"light_distance" "15"
			"light_spotlight_radius" "15.0"
			"light_brightness" "2"
		}

		"weapon_rpg"
		{
			"light" "1"
			"light_color" "194 0 0 128"
			"light_distance" "15"
			"light_spotlight_radius" "15.0"
			"light_brightness" "2"
		}
		"weapon_ar2"
		{
			"light" "11"
			"light_color" "0 194 38 128"
			"light_brightness" "2"
			"light_spotlight_radius" "15.0"
			"light_distance" "11"
		}
		"spraycan"  // this doesn't work atm
		{
			"light" "11"
			"light_color" "255 255 255 128"
			"light_brightness" "2"
			"light_spotlight_radius" "15.0"
			"light_distance" "11"
		}

		"prop_combine_ball"
		{
			"trail_effect" "beam"
			"trail_beam_color" "224 194 27 128"
			"trail_beam_iwidth" "150.0"
			"trail_beam_ewidth" "150.0"
			"trail_beam_time" "0.5"

			"light" "1"
			"light_color" "224 194 27 128"
			"light_distance" "50"
			"light_brightness" "5"
			"light_spotlight_radius" "25.0"
		}

	}
	"Options"  // unimplemented place holder
	{
		"foobar"
		{
			"test" "test2"
		}
	}
Clone this wiki locally