Author Topic: No crouch playertype.  (Read 6976 times)

How the hell does my idea not work?

You don't break crouching AFTER crouching. You simply make it impossible for them to crouch by removing the keybinded-shortcut. Thus, the keybind doesn't work, thus no crouching.

Using an alternate command for crouching will obviously still work.

heres a idea, nice and plain and simple.

Code: [Select]
function crouch(%this)
{
    if(%this.datablock == "nocrouchplayer")
        return;
    else
    return parent::crouch(%this);
}

How the hell does my idea not work?

You don't break crouching AFTER crouching. You simply make it impossible for them to crouch by removing the keybinded-shortcut. Thus, the keybind doesn't work, thus no crouching.

Using an alternate command for crouching will obviously still work.

keybinds are client sided, the server cannot do anything to affect them.

Code: [Select]
function crouch(%this)
{
    if(%this.datablock == "nocrouchplayer")
        return;
    else
    return parent::crouch(%this);
}
[/quote]
This.

keybinds are client sided, the server cannot do anything to affect them.
keybinds are client sided, the server cannot do anything to affect them.
keybinds are client sided, the server cannot do anything to affect them.
keybinds are client sided, the server cannot do anything to affect them.
keybinds are client sided, the server cannot do anything to affect them.
keybinds are client sided, the server cannot do anything to affect them.

You cannot remove key-binds from the server side you idiots.

Ipq, your code doesn't even make sense. There is no %this parameter in crouch(). crouch() is a client-side function.

keybinds are client sided, the server cannot do anything to affect them.

Damn.

Is there no way around that? :c

You cannot remove key-binds from the server side you idiots.

Why are you such a douche?

i see now. then idk.

Why are you such a douche?
You're giving out ideas like they'd actually work. Nexus actually knows what you're talking about here and you're ignoring him due to wishful thinking. When you speak on presumptions like this you waste people's time.

You're giving out ideas like they'd actually work. Nexus actually knows what you're talking about here and you're ignoring him due to wishful thinking. When you speak on presumptions like this you waste people's time.

Ignoring him? What the hell? He wasn't in this thread until after I posted my idea.

I have hopes yes, but I'm also not hard-headed or a cold bastard. If you tell me I'm wrong, I'm okay with that, if you call me names in the process, then you're asking for a fight.

Also, I only gave out one idea, not more than one. I wasn't "giving out ideas", I gave out a single idea based off of the current knowledge I gathered from the thread. If I had of known that my idea wouldn't work, then I obviously wouldn't have suggested it. I'm trying to help, and your arrogant tone isn't very inciteful.

You're right. I'm sorry. Nexus is a new arrival and even posted the same thing you said earlier. My bad.

Still, the point remains. I made a post somewhere up on the first page about how I think I'd do this and to be honest it does not seem worth the effort.

You could always just let them crouch. I do not see what the issue is.

If all else fails, and do not do this except as a last resort, you can probably enforce not crouching by adding some nasty piece of code to the armor::ontrigger which will make the player think twice before they hit the floor.

or maybe you can have it so that makes them stand

heres a idea, nice and plain and simple.

Code: [Select]
function crouch(%this)
{
    if(%this.datablock == "nocrouchplayer")
        return;
    else
    return parent::crouch(%this);
}

Doesn't work.

How the hell does my idea not work?

You don't break crouching AFTER crouching. You simply make it impossible for them to crouch by removing the keybinded-shortcut. Thus, the keybind doesn't work, thus no crouching.

Using an alternate command for crouching will obviously still work.

Your idea doesn't work because it's loving client sided.

You could always just let them crouch. I do not see what the issue is.

I want crouch disabled for a top down perspective playertype with fixed aim. The ability to crouch just makes the minigame much more infuriating to others.

If you crouch then the others can't hit you unless they crouch, some don't even have the time/reaction-time to crouch before they die.

Come to my server whenever it's up. I'll set up a minigame and I will show you how annoying this problem can be.
« Last Edit: May 16, 2011, 07:54:39 AM by Lørd Tøny »

Your idea doesn't work because it's loving client sided.

Yeah, I know. Read the damn posts.

I want crouch disabled for a top down perspective playertype with fixed aim. The ability to crouch just makes the minigame much more infuriating to others.

If you crouch then the others can't hit you unless they crouch, some don't even have the time/reaction-time to crouch before they die.

Come to my server whenever it's up. I'll set up a minigame and I will show you how annoying this problem can be.
* Iban slams his head into his desk, cracking his skull open and spewing brain matter all over Lørd Tøny's face.

Just change the crouched collision box to the exact same size as the standing box and crouching will work but bullets will still hit them as they normally would.

Just change the crouched collision box to the exact same size as the standing box and crouching will work but bullets will still hit them as they normally would.

I wouldn't know how to exactly do that.