[Release] Laser/TripMine Entity v2.3

DarkMaster

Administrator
Staff member
Joined
Apr 8, 2008
Messages
2,465
Reaction score
11,169
Laser/TripMine Entity v2.3


Descliption:
  • Each player can set LaserMine on the wall.

Release Note:
  • Releaseed(Time in JP) Version comment
    ------------------------------------------------
    2006/03/21 1.0 FirstRelease
    2006/04/05 1.2Beta Request by the_aking
    2006/05/17 1.2Beta2 Any bug fixed of 1.2Beta
    2006/05/19 1.2Beta2-1 chat bug fix
    2006/06/09 1.2Beta3 Any change code and bug fix
    2008/02/28 1.5 add maximum set in team.
    2008/03/07 1.6 Any change code and bug fix.
    2008/03/19 1.7 add amx_lasermine_ff,_cbt,_delay. and chat message invisible.
    2008/03/22 1.8 add amx_lasermine_think and cmdline description.
    2008/04/09 1.9a add amx_lasermine_line. rollback old cvars style.
    2008/06/22 2.0RC converted engine to fakemeta
    2008/07/12 2.0 fixed any bugs.
    2008/07/17 2.1 integrated Bio with 2.1
    2008/07/18 2.2 add +dellaser
    2008/07/18 2.3 add ltm_buymode. and startammo revision.

Installation:Please make re-compile for environment.
line 2,3
Code:
//#define BIOHAZARD_SUPPORT //support biohazard mod.
//#define UL_MONEY_SUPPORT //support unlimited money.

cvars.cfg set in configdir.

Usage:
  • Client command
    / +setlaser (Bio version is +USE key)
    - ex) bind v +setlaser
    - can set lasermine on the wall

    / +dellaser
    - ex) bind j +dellaser
    - can return lasermine in ammo.

    / buy_lasermine
    - ex) bind "F2" "buy_lasermine"
    - buying lasermine

    / say "/buy lasermine" or "/lm"
    - buying lasermine

    / say "/lasermine"
    - show help

Cvars:
  • amx_ltm //1 is on , 0 is off
  • amx_ltm_mode //0 is lasermine, 1 is Tripmine mode
  • amx_ltm_ammo //The setup of ammo (default 2)
  • amx_ltm_fragmoney //A setup for the reward (default 300)
  • amx_ltm_cost //The settlement of the cost (default 2500)
  • amx_ltm_health //The settlement of the degree of durability (default 500)
  • amx_ltm_dmg //The setup of the damage (default 10000)
  • amx_ltm_teammax //The setup of maxset in team.
  • amx_ltm_radius //The setup of radius.
  • amx_ltm_rdmg //The setup of max radius damage.
  • amx_ltm_ff //setup friendly fire.
  • amx_ltm_cbt //can buy and deploy team set.
  • amx_ltm_buymode //saycmd buying. 0 is off, 1 is on
  • amx_ltm_delay //can buying roundstart +sec. (default 15sec)
  • amx_ltm_think //laser think setting.(default and min 0.01: ex-1.0 unlaggnging. but lasers blank)
  • amx_ltm_line //0 is invisible laserline. 1 is visible laserline.
  • amx_ltm_acs // 0 is all, 1 is admin only
  • amx_ltm_glow // 1 is glowing team color for mine. default 0
  • amx_ltm_cmdmode //command mode. (0 is +USE key, 1 is bind, 2 is each)
    Bio version : amx_ltm -> bio_ltm

Required:
  • for BIOHAZARD
    Fakemeta,Cstrike,BIOHAZARD REQUIRED
  • Ver2.*
    Fakemeta,Cstrike REQUIRED
  • old ver1.9
    Engine,Cstrike,FunModule REQUIRED

Credits:
  • ArkShine : Laser/Tripmine for weaponmod
  • Vexd,Buzz_KIll : Vexd_TripMine
  • Cheap_Suit : Radius_Damage
  • GameGuard : /lm, amx_ltm_ff,cbt,delay ideas.
  • s3r : unlagging tests.
  • DevconeS : Weaponmod
Changelog:
Code:
VERSION2.3
add ltm_buymode //say cmd buying. 0 is off, 1 is on.
fixed. ltm_startammo.
fixed. explode message codes.

VERSION2.2
add +dellaser

VERSION2.1
I integrated Bio with 2.1
add ltm_cmdmode.
supported unlimited money.
fixed. mine size.

VERSION2.0
fixed. score bug.
fixed. ltm_dmg.

VERSION2.0 Release Candidate
title changed. "Laser/TripMine Entity"
converted engine to fakemeta.
all cvars changed. amx_lasermine -> amx_ltm.
can apply Cvar immediately.
Limiter cancellation of Cvar.

VERSION1.9 Alpha
add amx_lasermine_line. 0 is invisible laserline. 1 is visible laserline.
rollback old cvars style.

VERSION1.8
add amx_lasermine_think (default 0.01: unlagging value > 0.1)
add all cmdline description.

VERSION1.7
add amx_lasermine_ff //set friendly fire. 1 or 0
add amx_lasermine_cbt //set can buy and deploy team. "T" or "CT" or "ALL"
add amx_lasermine_delay //set can buy roundstart +sec. default "15" = 15secs.
and now test unlag.
 
VERSION1.6
All cvarcmds accesslevel is ADMIN_LEVEL_H.
add amx_lasermine_mode //0 is lasermine,1 is tripmine mode.
add amx_lasermine_radius //set detonate radius.
add amx_lasermine_rdmg //set detonate max damage.
add buy_lasermine //bind key buy_lasermine.
fix teammax bug.
The frag is set with Kill by the blast. 
sorry for poor English...
 
VERSION1.5
say /buy lasermine //cut underbar
add amx_lasermine_teammax cmd //maximum set in team
 
VERSION1.2Beta2
say /buy_lasermine //buying lasermine
say lasermine //show motd
showammo text "LaserMines: %i" -> "LaserMines Ammo: %i/%i"
---------------------------------------------------------------

BIOHAZARD VERSION 1.2
I integrated Bio with 2.1
add ltm_cmdmode.
supported unlimited money.
fixed. mine size.

BIOHAZARD VERSION 1.1
fixed. +grab bug.
default value change. rdmg and radius.
add radius damage kickback, and revision.

BIOHAZARD VERSION 1.0
add bio_ltm_ldmgmode // 0 - damage / frame, 1 - once damage, 2 - damage / seconds.
add bio_ltm_ldmgseconds //ldmgmode 2 only , default 1 (sec)
add bio_ltm_color //0 is team color, 1 is green
add bio_ltm_bright //laser line brightness. default 255.

BIOHAZARD VERSION 0.9
add bio_ltm_acs //1= admin only
add bio_ltm_glow //1 = glowing mine.
fixed. laser hit system.
fixed. breakable mine.

BIOHAZARD VERSION 0.8
fixed. PrecacheSound Error.

BIOHAZARD VERSION 0.7
fixed. laser Hit system.
fixed. can't deploy mine.

BIOHAZARD VERSION 0.6
fixed. ltm_dmg bug.
code synchronized v2.0

BIOHAZARD VERSION 0.5
fixed +use used hungup.

BIOHAZARD VERSION 0.4
hungup(Zlib error) fixed.

BIOHAZARD VERSION 0.2
change deploy cmd. "+setlaser" -> "+USE" key.
add "bio_ltm_startammo" default 1. start set ammo. 0 is off.

BIOHAZARD VERSION 0.1
ver2.0RC recoding for Bio, release.
all cvars changed. bio_ltm_xxx.
de_dust0000.JPG
 
  • Like
Reactions: NooBSaYBo7
Благодаря :]