Not that im aware of but I did a jumping script, crouching could be done by changing the running or walking physics and images so he crouches and his view is lower but then you cant walk or run depeding on what you change. Jumping hasn'g been done properly yet but my way works fine. Change the falling speed in liquids so it is as fast as normal falling speeds in the physics make all weapons can shoot underwater and above and bullets can pass through, create a script that removes water tint, sound and oxygen drain etc, and makes the water texture 100% transparent (invisible) & that is it I think. Then create a level with no liquids and texture it up, place weapons. Create lots of liquids with no speed about 1WU higher then what you are placeing it on then cover that polygon. Then when you play, I know you are being cheap and using the Caps-Lock key as your run key but DONT, change it to something else like a letter key. When you walk in water normally you float up to the top. But since the physics are altered you will fall normally, and the liquid hight is only 1WU so you can only "jump" about that high. If you use the capslock key you will never touch the ground, just levetating . It is a little buggy though but if you do want to jump its worth a try. Also aliens won't work properly (most of them) unless you alter their physics and shots fired but I don't think they use projectiles underwater.

This is the start of the script, tell me what liquid you need or I can make it so it work or I will make it so it works with all level sets (lava, water texture sets, etc...) copy and paste it into a non rich text format, when finished save as .mml instead of .txt and put it into a folder called "Scripts" in the home folder of The aleph one app, I am assuming you use macs because I think there are differences in the code for Windows... This isn't the complete script though, it is just my flying one. You will have to alter it to remove All the sounds and you will have to find out the boolean numbers for the liquids splashes, etc...If you use lava or Pfhor sets, you will have to make it so you dont get hurt. Here is a link to the mml archives for some help on it:http://source.bungie.org/content/engine_extentions/mml/MML.html. If you get lost I can help you but I think it is good to start learning the mml because it is useful for making some cool changes such as ingame music, fullscreenmap showing ammo, monsters and projectiles. It is useful for crazy stuff like this aswell

assassingao wrote:Yeah riiight, and I thought that both used the same engine, even though aleph one is made for MARATHON.

Damage, Inc. is a modified version of the Marathon engine. The modifications were to the source code, and the engine is different enough that we can't produce the special behavior of Damage, Inc. Can you load Half-Life using the Quake engine? No, but Half-Life is a variant of Quake. Same thing in our case.

Samus wrote:Now I know why so many people leave these forums in disgust, Your putting down his creation before he has even started it.

Samus, I am an experienced scripter. I've tried this myself, many times. I know what I'm talking about, which is why you posted my headshot script in another thread, even though you neither gave me credit nor asked for my permission. Here is the detailed explanation that I didn't want to post:

Jumping is possible, but the means to implement it are too primitive. Your liquids idea wasn't bad, but you have to consider a few things. First of all, you'd need to make a new version of every map you wanted to play it on. Second, it would only work locally, not in net games, since it's a MML script, and MML is NOT transmitted from a host to its clients, and it definitely wouldn't work if he just joined a game. He would go out-of sync. Playing this way is too cumbersome; few will play games with him if everyone in the game has to use a new map and add a new script to their Scripts directory.

A Lua script enabling true jumping, without a buggy liquids hack, is not possible. It's too clumsy. I have tried it. There's no way to assign functions to keys using Lua, so you'd have to use the only thing that can even remotely detect when a player triggers it: projectile detonation. There are plenty of problems with this. First of all, you have to map every gun you wanted t be able to use while jumping so that it fired a special projectile whose detonation would call the jumping part of the script into action. In addition, you'd have to make the special projectile fall down and explode as quickly as possible, which isn't always fast enough. When it is, fast enough, e.g. making the projectile spawn 1/1024 of a world unit off the ground so that it detonates in the next tick, if often messes up and doesn't explode at all, because the bobbing motion of the player causes the shot to spawn in the void, under the floor of the polygon, where it does nothing. So, detection of when to jump is in a very poor state. I won't even get into the problems with accelerate_player and set_player_external_velocity, both of which have their own problems. Even if you chose to use an exploding projectile to jump, and negate all subsequent damage, there would still be similar problems, plus the explosion might send you in an unexpected direction, or it might cause other nearby players to bounce somewhere they shouldn't.

Crouching is also impossible. I've tinkered with a crouching physics model, and it failed. The engine has certain hard-coded behaviors that conflict with the modified physics, so you end up adjusting to the crouch height permanently, then when you try crouching again, you only go lower.

You've really pissed me off with your ignorance. When I say it can't be done, I mean it.

Samus wrote:Now I know why so many people leave these forums in disgust, Your putting down his creation before he has even started it.

That's because his idea sucks; it's not a feature that has a place in Marathon. Maps would have to be altered in order to adhere to this vast augmentation of mobility. "Modernizing" Marathon is a terrible idea. If you want a game with jumping and sniper rifles, then GO PLAY UNREAL TOURNAMENT.

RyokoTK wrote:That's because his idea sucks; it's not a feature that has a place in Marathon. Maps would have to be altered in order to adhere to this vast augmentation of mobility. "Modernizing" Marathon is a terrible idea. If you want a game with jumping and sniper rifles, then GO PLAY UNREAL TOURNAMENT.

Yeah, kind of, but I'm generally averse to MML. It did make editing some parts of TGI a lot easier, but I don't ever intend on implementing jumping or anything that would change how the game really works. Even Rubicon X's extensive MML changes only made it foggy as crap.

shongshong wrote:yahh... like what I said earlyer about the negativity thing... lol

what about MML? isnt that modernizing? (probibaly mostly graphicaly)

MML just takes the place of the many resource fork hacks in Marathon. Custom HUD layouts, custom title screens, etc. are no longer possible only through extensive and tricky resforking, and as a great side-effect, it allows the engine to operate across non-HFS (Apple) platforms.

Here's the problem with lua: It doesn't matter if the script is incomplete, absolutely horrible or just plain doesn't work, someone is going to host it. As a general rule (speaking from experience) most people that can host are completely retarded. (Appologies to the two of you that are actually competent. You know who you are.) The point is, people will host a new script simply because it exists. What really makes this a problem is that the host will rarely tell you they're hosting something weird. Now, 95% of the people that play marathon on mariusnet want a regular game with normal physics. Hosting some weird script like headshot or jumping without telling anyone is a great way to piss off a bunch of people. But people seem to do it anyway. So when you argue that you don't HAVE to play a game like headshot or jumping/crouching, chances are you will at some point, even if you don't want to.

Basically what I'm saying is, if you're going to make a script, put a lot of thought into whether it's good before posting it online. It's fine if you want to mess around with lua and make something crazy, but don't annoy other people who just want a fun game of marathon by making it available to everyone.

Last edited by Wrkncacnter on Oct 2nd '06, 07:34, edited 1 time in total.

Godot wrote:which is why you posted my headshot script in another thread, even though you neither gave me credit nor asked for my permission.

Irons* was the one who gave me script any way, Irons* always puts his name on the top of all scripts he makes, as for that one ,it didn't have a name, so I assumed he didn't make it. If it doesn't have any one's name on it, how am I going to be able to know who created it.

Drake asked if it was possible to jump/crouch, so I gave him my anwser and showed him the way to do it. You don't have to play or use it, no one is forcing you to...