Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc[message #303205]
|
Wed, 11 April 2012 01:20
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarchical trap networks, makeshift mines
... among other stuff.
I've added quite a bit of functionality on the system of how explosives are planted, controlled and how they work.
There is now a new item, tripwire. Tripwire can be planted just like regular mines. The important thing is that once someone steps onto tripwire, it will activate other tripwires that are on an adjacent tile (those tiles that share an edge with the tile).
As other tripwires get activated and activate others themselves, a chain reaction takes place. The important twist to that: You can add a tag to bombs and mines that allows planted explosives to be activated this way, too.
By this technique, stepping onto tripwire activates a 'network' of tripwire that detonates explosives along the network (if you made such a network, of course).
Once tripwire was activated, it is revealed. To activate again, it must be planted again.
Tripwire can be defused, however, failing to defuse it will result will activate it.
Planting tripwire gives less experience than planting explosives.
If you have a wirecutter in your hands, you receive a bonus if you defuse an item that gets activated by tripwire. Double bonus if the item is tripwire
The relevant xml tags in Items.xml are as follows:
1 // this allows an item to be activated via tripwire
1 // this defines an item to be tripwire (makes sense only for tripwire, though)
This allows you to truly create networks of traps.
As you can see in this picture, Barry stepped into a tripwire network. Two mines go off. the stuff on the floor is the tripwire revealing itself.
But wait, of course there is more to that. To allow more complex trap networks, you can define a tripwire to be of a tripwire network. You can choose up to 4 networks. A tripwire will activate other tripwires only if they are from the same network. This allows to make your tripwire networks overlapping.
But there is one more thing to that. Networks also have hierarchy levels. The concept is that a tripwire will only be activated if the other tripwire activating it has a higher or equal hierarchy level.
This allows to create a line of tripwire that will blow up in different ways, depending on where you step onto it.
How do you know of where you layed tripwire, and of what network and hierarchy it is?
Use the new display trap network view. Via ALT + Shift + V, you can now toggle between
-
Display trap network: mines are red, tripwire is yellow, tiles with both tripwire and mines are orange - Display network colouring: network A is red, network B is orange, network c is yellow, network D is green
- Display trap network A,B,C or D: only tripwire of this network is displayed. hierarchy 1 is green, 2 is yellow, 3 is orange, 4 is red
- no display of traps (standard mode)
Display of trap network. Stepping onto a red tile will only activate a network of that colour. Stepping onto the overlapping tile will activate both.
A view of trap network B. Stepping onto the red tiles will activate all wires, stepping onto the green one onyl that one
This display works just like the display cover and display sight range systems. You can view a trap network, then switch to display cover and back, your display mode will be remembered.
Of course, only tripwire placed by your team will be displayed, not hostile ones. But here is something related to that:
I've altered the metal detector, it now works as an improved mine detector. If the currently selected merc has a metal detector in his hands (just inventory doesn't suffice anymore), all mines and tripwires up to 4 tiles away are shown via the display nearby traps mode, activated by ALT + Shift + C. However, this doesn't display waht exactly is there... anything foudn is just displayed red, you won't know if it is a mine or a bomb.
Also, the metal detector in general now only works if used in your hands. Only then will it auto-detect mines that are very near.
Nearby trap display
What would a new mine system be without new toys? There is now the possibility to turn ordinary grenades to makeshift mines, and reverse the process (thanks to glorious HAM5).
- Simply take a mine/defensive/smoke/tear gas/mustart gas grenade or emergency flare.
- Attach tripwire to it.
- Voila, you made a tripwire mine out of it. You can plant it like a regular mine, but it can also be activated by surrounding tripwire.
- Click on the icon in the items picture in UDB to remove the tripwire, giving you back the original grenade and a piece of tripwire.
Barry just stepped into a trap network, activating several types of makeshift mines at once.
And of course, the things you've been requesting for years is here now:
The M18 claymore is a new special mine that fires fragments (a new feature of HAM5). I added a new feature of mine that now allows to make it directional. This means the following:
- Upon planting the claymore, the direction your merc faces when he plants the mine is the claymore's firing direction.
- If it detonates, it will fire fragments in that direction only
- In the Explosives.xml, you can set if it is directional, and the horizontal and vertical arcs for it.
- excerpt of Explosives.xml:
...
70 // number of fragments
0
15 // damage of each fragment
100 // range of fragments (10 = 1 tile)
60 // horizontal firing degree
2 // vertical firing degree
...
- note that I have set the maximum number of fragments that can exist at any moment in game to 1000, it was previously set to 200
Wait, what is that? Two detonators on oen bomb? How can that be?
Answer: One is a new item, a remote defuse. If you plant a bomb with a remote defuse attached, you are now asked to enter a detonation and/or defuse frequency.
If you then activate the remote, you are asked for a detonation frequency or a defuse frequency.
Selecting defuse will make defuse all mines and bombs that react to that defuse frequency. They will no longer bee armed, and can be picked up by anyone.
This allows you to safely defuse traps you planted. Simply set them all on the same defuse frequency. With a single remote command, they are defused, and you won't have to risk lives jsut to collect your traps.
Of course, you have to first attach a remote defuse on your items.
Bobby Rays, Tony and Devin will now have claymores, Tripwire and Remote Defuses in stock.
Also, the pics for the tripwire and the claymore were made by Smeagol. Thanks you a lot!
For your entertainment:
Barry and Red set up an ambush... the red tile is a remotely controlled claymore.
Barry activates the claymore. 4 enemies are hit, 2 lethally. If you look closely, you can still spot some of the fragments flying.
Edit: This post was altered, because I wanted th first post to describe everything I did here.
[Updated on: Wed, 18 April 2012 01:37] by Moderator Report message to a moderator
|
|
|
|
|
|
New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Flugente on Wed, 11 April 2012 01:20
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Fozzie on Wed, 11 April 2012 10:39
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Fri, 13 April 2012 02:15
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 14 April 2012 13:38
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 14 April 2012 13:49
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Hanakin on Sat, 14 April 2012 16:54
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 14 April 2012 17:03
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 14 April 2012 17:53
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 14 April 2012 20:12
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Fozzie on Sun, 15 April 2012 10:53
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sun, 15 April 2012 13:09
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Akilae on Sun, 15 April 2012 16:34
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Akilae on Sun, 15 April 2012 16:59
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Hanakin on Sun, 15 April 2012 22:11
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Tue, 17 April 2012 04:02
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: K0ukku on Tue, 17 April 2012 22:27
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Wed, 18 April 2012 01:39
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: goc_man on Mon, 23 July 2012 23:02
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Slax on Wed, 01 August 2012 20:26
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Thu, 02 August 2012 16:30
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Thu, 02 August 2012 22:01
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Fri, 03 August 2012 06:03
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Fri, 03 August 2012 21:03
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Sat, 04 August 2012 09:49
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Sat, 04 August 2012 12:25
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 04 August 2012 13:34
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Sat, 04 August 2012 15:33
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 04 August 2012 20:01
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: leyon on Sat, 04 August 2012 20:12
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 04 August 2012 21:17
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 25 August 2012 02:38
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sun, 02 September 2012 22:47
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: JMich on Sun, 02 September 2012 23:40
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sun, 02 September 2012 23:59
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Slax on Wed, 05 September 2012 01:37
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 15 September 2012 04:39
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Tue, 30 October 2012 00:06
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: smeagol on Tue, 30 October 2012 14:09
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Thu, 01 November 2012 16:14
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: krux on Mon, 26 November 2012 00:08
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: krux on Tue, 27 November 2012 12:36
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Tue, 27 November 2012 20:28
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: krux on Wed, 28 November 2012 00:49
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: krux on Tue, 04 December 2012 12:07
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Tue, 04 December 2012 21:40
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sat, 05 January 2013 16:54
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sun, 29 September 2013 20:54
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Deleted. on Sun, 29 September 2013 22:14
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Deleted. on Mon, 30 September 2013 19:59
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Mon, 30 September 2013 20:04
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Deleted. on Mon, 30 September 2013 20:18
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Mon, 30 September 2013 20:20
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Sun, 24 November 2013 18:24
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Deleted. on Sun, 24 November 2013 18:38
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Deleted. on Sun, 24 November 2013 19:35
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Flugente on Sun, 24 November 2013 20:40
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Deleted. on Sun, 24 November 2013 20:59
|
|
|
Re: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
By: Flugente on Sun, 24 November 2013 23:01
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Mon, 27 January 2014 21:12
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Flugente on Tue, 28 January 2014 21:03
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Kitty on Sun, 01 December 2019 17:12
|
|
|
Re: New feature: tripwire-triggered mines (claymore)
By: Deleted. on Sun, 01 December 2019 21:05
|
Goto Forum:
Current Time: Mon Dec 02 14:01:26 GMT+2 2024
Total time taken to generate the page: 0.03479 seconds
|