Thread: [Plugin] Simple trail

Results 1 to 25 of 51

Threaded View

  1. #1
    Game tester  
    Programmer
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    195

    [Plugin] Simple trail

    Simple trail plugin for angelscript

    Cvars
    • hidechat 0/1 - Hide player chat when executing trail command
    • silence 0/1 - Silent plugin - only print to user instead of everybody
    • trailsize 1-255 - trail size
    • trailduration 0.1-25.5 - trail duration in seconds
    • trailalpha 1-255 trail alpha
    • trailsprite (spritename eg. voice, xbeam3) default sprite name

    (to change cvars either write this in console or write it in your server.cfg: as_command strail.hidechat 0/1 or as_command strail.silence 0/1 or any other cvar)

    Usage:
    • say trail off - turns trail off
    • say trail (color or colored sprite) <optional: sprite name> - turns trail on
    • say trail menu - show trail menu (select both sprite and/or color)



    Default color list:
    • red
    • orange
    • yellow
    • lime
    • green
    • turquoise
    • cyan
    • blue
    • purple
    • pink
    • white


    Default sprite list:
    • fatline
    • thinline
    • voice
    • smokey
    • lightning
    • interlace


    Adding custom colors:
    Open up /scripts/plugins/Zode/colors.txt and add your colors there.

    Adding custom sprites:
    Open up /scripts/plugins/Zode/trailsprites.txt and add your sprites there.
    you don't need to add custom sprites to the map's .res file, they should be automatically downloaded to the client.


    Installation:
    Remove any previous installation of SimpleTrail
    Download & extract SimpleTrail.zip to /Sven co-op/svencoop_addons/scripts/plugins/
    edit your default_plugins.txt and add (or modify if you have previous installation) this in:
    Code:
    "plugin"
    {
            "name" "SimpleTrail"
            "script" "Zode/SimpleTrail"
            "concommandns" "strail"
    }
    Type as_reloadplugins in your server console & change level to precache sprites.

    Enjoy!

    Download: -removed, see attachments-
    edit: fixed up plugin, it now works properly under linux

    heres 4 custom sprites because why not: -removed, see attachments-
    extract to svencoop_addons and add this to plugins/Zode/trailsprites.txt
    Code:
    sprites/zode/trails/squarewave.spr squarewave 0
    sprites/zode/trails/arrows.spr arrows 0
    sprites/zode/trails/point.spr point 0
    sprites/zode/trails/svenlogo.spr svenlogo 0
    customtrails1.rar
    SimpleTrail-16-12.zip
    Last edited by Zode; 16-12-2016 at 01:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •