New feature: Gates

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
Post Reply
User avatar
Tiuz
Rookie
Rookie
Posts: 30
Joined: 06 Jul 2008, 00:17

New feature: Gates

Post by Tiuz »

Hello Warzone Community,

This mod adds a new functionality to wz: Gates.

- Two new structure are added, vertical and horizontal gates. A gate occupies two blocks, one for a fix component, and one for a kind of stake, that appeares if there are enemy units in range and block the pass of the gate. If there are no enemies, own units can pass the gate.

- If one component is destroyed or removed, the other is removed as well.

- You can research this functionality since walls are available.

- Building limit is set to five, but only one can be build at the same time.

- For WZ 2.1 beta 4

What do you think about it?

Greetings, Tiuz.
User avatar
Black Project
Regular
Regular
Posts: 745
Joined: 04 Apr 2008, 20:53

Re: New feature: Gates

Post by Black Project »

Great work! I just tested it right now, it's efective against units that advance through your defenses, and avoid your tower getting distracted, allowing other enemy units keep shooting without getting shot by yours.

Another good thing is when a enemy unit gets close of it, the gate closes, making it a "Shield". for example, if your truck are behind of the gate, it will probably get shot by misfiring if the enemy units, with the gate feature, when enemys get close, the gate "close the door", and your truck doesn't get by by them, because the gate's "door" is protecting your truck and the shots will hit the "door" first.

Regards :)
Kamaze
Regular
Regular
Posts: 1017
Joined: 30 Jul 2006, 15:23

Re: New feature: Gates

Post by Kamaze »

Black Project wrote:Another good thing is when a enemy unit gets close of it, the gate closes, making it a "Shield". for example, if your truck are behind of the gate, it will probably get shot by misfiring if the enemy units, with the gate feature, when enemys get close, the gate "close the door", and your truck doesn't get by by them, because the gate's "door" is protecting your truck and the shots will hit the "door" first.
Thats basically a side-effect of the re-written projectile system.
We all have the same heaven, but not the same horizon.
ratarf
Trained
Trained
Posts: 154
Joined: 29 Nov 2006, 09:45

Re: New feature: Gates

Post by ratarf »

I'm not going to test it right now, but it's definately great to have gates in warzone. It has been on many people's wishlists for a long time... Good job!
User avatar
wari
Trained
Trained
Posts: 106
Joined: 05 Dec 2007, 18:25
Location: Dublin

Re: New feature: Gates

Post by wari »

Great work Tiuz, I'll give this a go when I reinstall beta 4 tomorrow, cant wait to see what other contributions you'll have in future.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: New feature: Gates

Post by Per »

I must say this is an impressive hack. Well done! Since the entire structure is replaced, there is no problem with path-finding, either, which has been an obstacle for implementing gates for as long as we have been talking about it...

The biggest issue is that it is hard to see which of the two structures is facing the right way when choosing it in the build menu, since they rotate. I see no easy way to fix that.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: New feature: Gates

Post by Buginator »

Tiuz wrote:Hello Warzone Community,

This mod adds a new functionality to wz: Gates.

What do you think about it?

Greetings, Tiuz.
Oh, I see you fixed the crash issue you had before. Nice. :)
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: New feature: Gates

Post by Per »

Actually, the real reason why this version works so well with path-finding is that it defaults to open, and automatically closes when an enemy approaches, rather than the opposite, which has been discussed earlier, which is to default to closed and open when a friendly droid approaches. Both ways have their advantages, but this way is much easier to implement with today's code.
User avatar
Tiuz
Rookie
Rookie
Posts: 30
Joined: 06 Jul 2008, 00:17

Re: New feature: Gates

Post by Tiuz »

Maybe this is a standard with other RTS, but for example the drawbridge of a castle is only pulled up if there are enemies, and not down and up each time a countryman wants to pass. :D
The biggest issue is that it is hard to see which of the two structures is facing the right way when choosing it in the build menu, since they rotate. I see no easy way to fix that.
If view is aligned to north, the labels 'horizontal' and 'vertical' define orientation of the buildings. Passes are the right or the lower block.

Since a mod is surely not the best way to integrate this functionality into wz, many problems are solved with work arrounds.

Thanks for your appreciation,
Tiuz.
User avatar
Zi-Chan
Trained
Trained
Posts: 180
Joined: 12 Aug 2008, 01:06

Re: New feature: Gates

Post by Zi-Chan »

I want this as a regular Feature of Warzone, not as a Mod. :stare:
Drawbridges are a good Idea too - only if you build a Castle though.
I suggest buildable Bridges for Rivers - making it easy for wheeled Units to cross it.

Great work Tiuz ;)

Too bad, only for the 2.1 - i'm still almost only playing the 2.0.10..
:ninja:
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: New feature: Gates

Post by Zarel »

Crashes trunk. :(
User avatar
Tiuz
Rookie
Rookie
Posts: 30
Joined: 06 Jul 2008, 00:17

Re: New feature: Gates

Post by Tiuz »

Crashes trunk.
This mod is only for 2.1 beta 4.
But it should be not too difficult to adapt it for version 2.0.10.

Are some of you interested in a 2.0.10 version?

Tiuz.
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: New feature: Gates

Post by Delphinio »

do you know the old gates mod for 1.10? it had better gates ; ).
User avatar
Tiuz
Rookie
Rookie
Posts: 30
Joined: 06 Jul 2008, 00:17

Re: New feature: Gates

Post by Tiuz »

I don't know any other gate mod for wz, do you mayby have got a link?
Tiuz.
User avatar
Zi-Chan
Trained
Trained
Posts: 180
Joined: 12 Aug 2008, 01:06

Re: New feature: Gates

Post by Zi-Chan »

Tiuz wrote:Are some of you interested in a 2.0.10 version?
At least i am interested ;)
:ninja:
Post Reply