Help - Search - Members - Calendar
Full Version: Crouching/Jumping?
The Pfhorums > The Pfhorums > Legends
Pages: 1, 2
DRAKE.
Now I know someone is going to tell me to go play UT but i think i have a point here. Has anyone ever made a jumping or crouching script? If they have, I would appreciate them to post it.
Samus
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.
Samus
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
CODE

<marathon>
<liquids>
<!-- Removes liquid submerged sounds-->
<liquid index="4">
<sound type="6" which="-1"/>
</liquid>
</liquids>

<faders>
<!-- Removes tint -->
<liquid index="3" fader="0" opacity="0">
</liquid>
</faders>
<!-- Removes O2 drain -->
<player guided="true" oxygen_deplete="0" oxygen_replenish="0"/>
</marathon>
Godot
Go play UT.
assassingao
Don't even think of UT Irons, even Damage Inc. that use marathon engine have jumping and crouching.
Zott
If only we had gotten the source code. 2.png :( [WHY WHY don't they respond!? Perhaps its time to send physical letters...]
Godot
Gao, Aleph One is NOT THE GODDAMN SAME as Damage, Inc.
shongshong
*@#$%!* begins to crable papers up in hand and foam at the mouth
assassingao
QUOTE
Gao, Aleph One is NOT THE GODDAMN SAME as Damage, Inc.


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

Whateva', everyone need a few more things.
Grayswandir
As long as it isn't added in as a default thing...go ahead and make a script.
Samus
QUOTE(Godot @ Oct 2 2006, 11:39 AM) *

Go play UT.

Now I know why so many people leave these forums in disgust, Your putting down his creation before he has even started it.
shongshong
QUOTE(Samus @ Oct 2 2006, 02:21 AM) *

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

I agree... this wave of negativity lately realy is quite disturbing... or in american terms "a turn-off"
Godot
QUOTE(assassingao @ Oct 2 2006, 02:43 AM) *

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.


QUOTE(Samus @ Oct 2 2006, 03:21 AM) *

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.
assassingao
HOLY SHIT.


What a long response.

But anyway, thanks for your post in here, now I actually get what you meant when it's can't be done...
Godot
Thank you, and you're welcome!
RyokoTK
QUOTE(Samus @ Oct 1 2006, 09:21 PM) *

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.
shongshong
QUOTE(RyokoTK @ Oct 2 2006, 03:32 AM) *

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.


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

what about MML? isnt that modernizing? (probibaly mostly graphicaly)
RyokoTK
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.
Zott
Ugg you guys are kind of mean, its not as though you would HAVE to play with it (ala headshot script) only that IT POSSIBLE.

Which apparently it isn't. While I agree with your response you don't have to be so negative about it. 2.png

Besides, people might convert over some Damage Incorporated maps where jumping WAS permitted and developed for, so don't automatically jump the gun and pish posh it as a modern invention. 4.png

(Still would love that Damage Incorporated Source Code. *Dreams*)
RyokoTK
I'd just appreciate it if people would read topics in the past. DI comes up at least once every other month, and the topic lasts forever.
Godot
QUOTE(shongshong @ Oct 2 2006, 04:37 AM) *

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.
shongshong
thus modernizing it for other platforms! wooh!
W'rkncacnter
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.
Godot
W'rkncacnter, what are you doing in CS? Major in Philosophy! :P
Samus
QUOTE(Godot @ Oct 2 2006, 04:19 PM) *

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...

*yes I know now... :)
Grayswandir
Because you're new I won't get on your case too much...
http://www.pfhorums.com/index.php?automodu...9&showentry=105
Godot = Irons

QUOTE(RyokoTK @ Oct 1 2006, 10:06 PM) *

I'd just appreciate it if people would read topics in the past. DI comes up at least once every other month, and the topic lasts forever.

If you want, PM or message me some of the stuff you notice people keep asking, and I'll add it to the FAQ.
Samus
QUOTE(Grayswandir @ Oct 2 2006, 06:29 PM) *

Because you're new I won't get on your case too much...
http://www.pfhorums.com/index.php?automodu...9&showentry=105
Godot = Irons
If you want, PM or message me some of the stuff you notice people keep asking, and I'll add it to the FAQ.

LOL!, my bad. Sorry bout that then. I used to be on a while ago but I had a break during the period when Irons "left" , i read the posts about him leaving but i didn't know he returned. You had me fooled. God i look like a retard. Any way. I did the script myself and found out it is pretty cool, providing you ignore the crappy stuff such as no ambient sounds etc... I recorded it on snaps pro X but it is a lil laggy (hey im on a G3)

Ok, the upload tool is broken so Ill post link to my site dwnld 1mb: http://www.freeibforums.com/forums/index.p...type=post&id=35
ignore the "I haven't F**ken Registered Snaps Pro X covering it" trust me. Also it looks best at the end in lara croft view, you cant tell whats happening in 1st...:D
Yay I proved you wrong it works (not at what I would have liked but YAY)

Drake if you want the script just ask?
assassingao
The best thing about Online marathon gaming is, Nobody leaves the games unless absolutely neccesary.

You'll think of that someday when you played Warcraft III (DOTA) on Thaicybergames.com.


"First blood" the victim leaves.
"GODLIKE!"a player of the opposing sides leaves.

Let's keep it that way with no-nonsense/modernizing-marathon scripting.
DRAKE.
My apologies for the late response. I will go visit the link now.

Also I would appreciate the script. The jumping looks awesome.
Treellama
For God's sake, how is it negative to, when people say "I want to change everything about this game that makes it special and fun so that it's just like all the other boring first person shooters out there" say to them "Why don't you just go play one of those other boring shooters out there then because they already do all that crap?"

We welcome seeing *new* stuff, but head shots and sniper rifles and jumping have been done so many times and we're so sick of them. They don't work right in Marathon, they're not fun, they never will be, just trust us instead of wasting all the time discovering it for yourself.
DRAKE.
Well you have convinced me of the uselessness of headshots and sniper rifles, but jumping just seems like it would be an actual improvement.
Mordekai
Ok, so you want to turn Marathon into some new game, like UT. Why? Why not just play UT? If you feel the need to make so you can jump, etc, don't give it to the public, for aforementioned reasons. The number of hosts that don't know what they're doing is pretty large. They would host any map, any script, anything. Especially if you use MML don't release it. It's asking for large numbers of people going OOS. It's quite pointless to create these things unless you want them for single player. I know that when I go on meta, I don't want to play some crazy game where you jump around, etc. It may be fun for one time, but not for more than that.
RyokoTK
Why is this topic more popular than the TGI one?
Treellama
Marathon: Aleph One isn't alone in the problem of bad hosts. I remember back in UT days being nearly unable to find a server that didn't have instagib, low G, only one map in rotation, or some combination of the above. Blech.
DRAKE.
Well i dont plan to host online games with it. I happen to have a netmap with aliens on it so i can use it there and not force other people to play with jumping on it.
the Bungie god
QUOTE(RyokoTK @ Oct 2 2006, 01:41 PM) *

Why is this topic more popular than the TGI one?


because jupming and crouching is so awsome
P-System
Why is there all these halo fans wanting marathon to be just like other FPS? If you want to entertain yourself just get the SMG with four shots and a long recovery time and press F7 to zoom, like what Gray said before…
shongshong
I dont know why... but ALL fps games feature jumping and crouching...

GO PLAY HL2 SH#$ HEAD!

(personaly, i think jumping and croutching is more nescesary than headshot sniping etc script)
P-System
A jumping worked well in DI but I never really found a use to crouch in DI or any FPS for that matter only if its needed... So a jumping may work but like what Irons said it gets complicated…
shongshong
yah, actualy... In theory, Crouching would bring up many complex issues that would put the developers 193% way out of their way to do somthing that isnt realy worthwhile... (ecsept for taking cover). Issues like... new sprite and shape keys to install for crouched positioned, new "hitspots" etc...

but jumping might be easyer... but might look like crap at the same time...
I do agree that jumping is also somewhat useless also
RyokoTK
What about ruining maps because people can access areas that aren't intended to be accessed?
P-System
That would be a problem too… With the maps out there right now Jumping may add to angry or confused players. Crouching may work in something like house of pain or king of pain so players wont see their enemies heads go by…
Bobwithkeycard
just follow Hamish's tips on how to introduce new textures into your set and slap no-jumping allowed signs on the respective areas
RyokoTK
Yes, I'll just retcon The Gray Incident so I don't have to deal with stupid fucking jumping scripts.
Bobwithkeycard
now that's what I call support. Glad you've changed your standards compared to what was in your readme
Samus
QUOTE(Bobwithkeycard @ Oct 3 2006, 01:06 PM) *

just follow Hamish's tips on how to introduce new textures into your set and slap no-jumping allowed signs on the respective areas


With my way to jump, It only works if you submerge the map in water 1WU (any higher makes it unrealistic and if capslock is on you stay centerd in the air) higher the ground. So if you want an unjumpable place dont fill it with water. Also you would have to remake a map if you want to jump in it, so making from scratch would be better...
RyokoTK
QUOTE(Bobwithkeycard @ Oct 2 2006, 07:21 PM) *

now that's what I call support. Glad you've changed your standards compared to what was in your readme


Thanks, asshole, but it's kind of hard to continue working on a scenario without the proper tools.
Godot
QUOTE(Bobwithkeycard @ Oct 3 2006, 01:06 AM) *

just follow Hamish's tips on how to introduce new textures into your set and slap no-jumping allowed signs on the respective areas


One of many things wrong here: everyone else who was playing would need the new shapes.
Samus
LOL! look what happened to this topic, it started off with someone asking a "stupid" question and now it has turned into a violent bloodbath. Every word said here is rebutted with insults :D Maybe we should change the topic title to stress relief and any one can come here and fire away any bad things they have to say!
shongshong
I dont know... lol
I kinda like this developer punching blood bath game thing we got here... its a creative way of thinking issues through! 8.png
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.