Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 09:25:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [Fun;Shopitem]Tripmines  (Read 1286 times)
Necavi
Full Member
***
Posts: 217


View Profile
« on: September 23, 2010, 11:06:16 AM »

Continuing my new tradition of making shopitems, here you have Tripmines!
Tripmines will allow you to use up to 3 tripmines (configurable with a cvar) when you buy the item.

Please post comments/concerns/ideas.

To use this item, bind a key to sm_tripmine

No guarantee that this particular one works, I haven't tested it yet and won't be able to for at least 10 hours.
« Last Edit: September 23, 2010, 10:17:24 PM by Necavi » Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #1 on: September 23, 2010, 01:47:06 PM »

dont include smx
Logged

DarkEnergy
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #2 on: September 23, 2010, 01:59:49 PM »

removed from both posts.
Logged

Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #3 on: September 28, 2010, 02:09:24 AM »

I wanted to make this item )
Logged

Welcome to my server
Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #4 on: September 28, 2010, 03:43:38 AM »

Oh ) edit description
shopItem[MINES]=War3_CreateShopItem("Trip Mines","mines","Bla bla bla \n To use mine, bind a key to sm_tripmine",10,8000);
Logged

Welcome to my server
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #5 on: September 28, 2010, 12:27:05 PM »

Yeah, I already have that on my new, VASTLY improved beta version, there just seems to be a problem with ownership for one part of it...
Logged

Shark_267
Newbie
*
Posts: 41


Admin Arsenall.net


View Profile WWW
« Reply #6 on: November 24, 2010, 02:08:21 AM »

Have not file plugin.tripmines.txt and models/props_lab/tpplug.mdl Wink
Add please!
Thanks!
« Last Edit: November 24, 2010, 02:19:08 AM by Shark_267 » Logged
Frenzzy
Full Member
***
Posts: 217


337905984 frenzzy@live.ru
View Profile WWW
« Reply #7 on: November 24, 2010, 02:24:56 PM »

Have not file plugin.tripmines.txt and models/props_lab/tpplug.mdl Wink
Add please!
Thanks!

Это стандартная моделька из Half-Life 2 (по-моему это была вилка от розетки).
Находится здесь: ../Steam/steamapps/source models.gcf ===> root/hl2/models/props_lab/tpplug.mdl

----------

My version of the Tripmines shop item for War3Source.
Supported TF2 and CSS game mods. Translations also supported (now available english and russian).

It also supports team-specific tripmines, reactivation after touched by a teammate, fire explosion, active tripmines limit per life, etc...

Tripmines Price: 6 gold or $4500.

The following convars are available to customize the plugin:

war3_tripmines_maximum         (default 6)     Maximum Number of tripmines allowed to be active per client (-1=unlimited)
war3_tripmines_available       (default 3)     Number of tripmines available after purchase (-1=unlimited)
war3_tripmines_activate_time   (default 2.0)   Tripmine activation time
war3_tripmines_reactivate_time (default 0.0)   Tripmine reactivation time, after touched by a teammate (0.0=instant)
war3_tripmines_teamspecific    (default 2)     Allow teammates of planter to pass (0=no|1=yes|2=also allow planter to pass)
war3_tripmines_type            (default 0)     Explosion type of Tripmines (0=normal explosion|1=fire explosion)
war3_tripmines_stay            (default 1)     Tripmines stay if the owner dies (0=no|1=yes|2=destruct)
war3_tripmines_touch           (default 0)     Tripmines explode when touched (0=no|1=yes)
war3_tripmines_radius          (default 256.0) Tripmines Explosion Radius
war3_tripmines_damage          (default 400)   Tripmines Explosion Damage
war3_tripmines_health          (default 10)    Tripmines Health
war3_tripmines_remove          (default 1)     Remove all mines on round end (0=no|1=yes)


The following convars are available in TF2:

war3_tripmines_scout_limit     (default -1)    Number of tripmines available after purchase for Scouts (-1=use generic variable)
war3_tripmines_sniper_limit    (default -1)    Number of tripmines available after purchase for Snipers (-1=use generic variable)
war3_tripmines_soldier_limit   (default -1)    Number of tripmines available after purchase For Soldiers (-1=use generic variable)
war3_tripmines_demoman_limit   (default -1)    Number of tripmines available after purchase for Demomen (-1=use generic variable)
war3_tripmines_medic_limit     (default -1)    Number of tripmines available after purchase for Medics (-1=use generic variable)
war3_tripmines_heavy_limit     (default -1)    Number of tripmines available after purchase for Heavys (-1=use generic variable)
war3_tripmines_pyro_limit      (default -1)    Number of tripmines available after purchase for Pyros (-1=use generic variable)
war3_tripmines_spy_limit       (default -1)    Number of tripmines available after purchase for Spys (-1=use generic variable)
war3_tripmines_engi_limit      (default -1)    Number of tripmines available after purchase for Engineers (-1=use generic variable)


The original version of this plugin is available here (by L. Duke) and here (by Naris).

*TODO:
Add cvar: Who can explosion the tripmine with a shot. (0=nobody|1=planter only|2=teammates only|3=planter and teammates|4=all except planter|5=all)
Maybe someone can help with this...
Logged

O_o
Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #8 on: November 24, 2010, 04:20:52 PM »

Good job, Frenzzy ^__^
Logged

Welcome to my server
Zydu
Jr. Member
**
Posts: 51


View Profile
« Reply #9 on: January 30, 2011, 11:43:20 AM »

A gobiln race with tripmines as kill would be nice to play.  Roll Eyes
Logged
Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #10 on: March 06, 2011, 04:19:17 AM »

Tripmines does not work now...
Mines kill both teams
« Last Edit: March 06, 2011, 04:22:48 AM by Schmarotzer » Logged

Welcome to my server
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!