PDA

View Full Version : Advanced Energy or Enemy: An experimental Wormpot mod


_Kilburn
29 May 2008, 10:01
That's right, I was experimenting some stuff with the Lua scripts, especially about dynamically loading weapon tweaks during a game.

All your worms will start poisoned, and will be poisoned again after each turn. They have to keep collecting health crates (and possibly heal their teammates by giving them a health crate using the ninja rope) in order to survive.

Now, the problem is all mines now look like health crates. There is almost no way to say if a crate is real or fake, because the radar has been disabled. This way, you are collecting health crates at your own risk.

Sudden death will make it much harder, because it triggers permanent double damage. Therefore, if you collect a fake health crate, you have no chance to survive. make your time
It will also give you a weapon that can scatter 8 fake health crates around it.

Summary:
- Game starts with 25 health crates on the map. Only 10 of them are real.
- Worms start poisoned, and will be poisoned again every turn
- Worms have infinite mines (fake crates), ninja ropes and parachutes
- 4 real health crates spawn every turn
- Mine factory generates 10 fake health crates every 3 turns
- You can throw fake health crates
- Sudden death = Double damage + New weapon that can spawn 8 fake health crates at once

Todo:
- Worms die when their health reaches 1
- Turn time decreases faster when collecting crates
- Remove the mine factory and use another way to spawn mines. This way, the game can't be ruined by destroying the factory.

This should not affect online playing unless you play with the Energy or Enemy wormpot mode enabled. I'm not sure about this though, since it alters the stdvs.lua file (script for deathmatch and homelands mode). So don't forget to create a backup of the files Wormpot.lua and stdvs.lua in your data\scripts folder.

There is a built-in ability to spawn UXB (fake) crates. They appear on the radar as real crates, and explode immediately when collected. I didn't want to use them, I made my own ones, they look more fun, and they can be thrown by weapons. :D

Download here (http://w4tweaking.ftp.free.fr/files/upload/lua_adv_eoe.zip)

Unzip in your data\scripts folder, and DON'T FORGET TO CREATE A BACKUP OF THE FILES WORMPOT.LUA AND STDVS.LUA.
Don't complain if your game is screwed because you forgot to keep your original files safe.

Obviously, you have to enable the Energy or Enemy mode on the Wormpot (two shotguns crossed and a health crate). 30 seconds turn time, 5 or 10 minutes round time, mines only and mine factory enabled are optimal parameters.

Now enjoy, and please give feedback, criticism, and suggestions about how I can make this more fun to play (aka how many crates should I spawn every turn, etc...). You can say that I'm an awesome Lua god and all that stuff, but I really don't care at all about what you will say because it's completely useless.

Muzer
29 May 2008, 10:23
There is a built-in ability to spawn UXB (fake) crates. They appear on the radar as real crates, and explode immediately when collected. I didn't want to use them, I made my own ones, they look more fun, and they can be thrown by weapons.
Surely though, using UXBs will get rid of the mine factory problem?

Nice work, anyway, you're an awesome Lua god and all that stuff :p

_Kilburn
29 May 2008, 10:39
:mad:

My custom crates are funnier than UXB crates because you can escape them if you are lucky, and you are all WTF when you see one for the first time. And I've just found a way to spawn mines without using a mine factory, so that's fine. Expect some update soon. :p

Muzer
29 May 2008, 10:53
Oh, that's good then :). Thanks for clearing it up.

dzani
1 Jun 2008, 21:52
Worms 4 started to fall off with tweaks but it looks like its back again all thanks to Kiliburn : P

_Kilburn
1 Jun 2008, 22:36
thx ur nice :D:D:D

Anyway, the mines thing is done, but I'm too lazy (as usual) to upload the stuff right now. Any other idea for improving the gameplay?

CJH
3 Jun 2008, 17:20
thx ur nice :D:D:D

Anyway, the mines thing is done, but I'm too lazy (as usual) to upload the stuff right now. Any other idea for improving the gameplay?


Include a crate spy utility so you can tell which ones are real or not?

Make some crates float around the landscape by themselves, inbetween turns?

Worms with permanent icarus potion? [Harder to land on the correct crate]