home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 12525089 views, last view: 11/02/2024 00:37

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#11171: Re: Crouch function - coding problem

by SheeEttin_ on 08/22/2008 05:07, refers to #11169

My guess is that when you stand up, it\'s not your head that moves up, it\'s your feet that move down (through the floor).
Try giving the player a bump for the difference between crouching and standing.

Be aware that the extent of my C++ experience is a rudimentary \"guess the number\" game, though. :P

reply to this message

#11172: Re: Crouch function - coding problem

by a~baby~rabbit on 08/22/2008 05:20, refers to #11171

Your eye position moves, but the question is: what do you look like to other players - or is your intention a SP mod?

reply to this message

#11173: Re: Crouch function - coding problem

by Chameleon on 08/22/2008 05:42, refers to #11172

My intention is to make a sp mod, and I will make new models with more animations later. For now, I want to implement a different game system, so I don't care if my model seems to be standing as long as you feel like crouching when you play.

reply to this message

#11174: Re: Crouch function - coding problem

by Quin on 08/22/2008 09:31, refers to #11169

http://bloodfrontier.svn.sourceforge.net/viewvc/bloodfrontier/src/fpsgame/physics.h?revision=HEAD

Might help point you in the right direction.

reply to this message

#11175: AC bots in Multiplayer

by Osax on 08/22/2008 09:43

How do you add bots in multiplayer on actioncube, when I try add bot it says I'm not allowed & how do you add it to the ded-server aswel?

reply to this message

#11176: Re: Crouch function - coding problem

by Chameleon on 08/22/2008 14:37, refers to #11174

Thanks, but I've already took a look at BloodFrontier's code, but their codes and game system are completly different from the original one.
But it's OK, I've solved my problem adding a "crouched" bool that gives the player a pulse just after releasing the crouch key:

...
bool jumping, walking, crouching, crouched;
...


...
if(pl->crouching == false)
{
if(pl->crouched)
{
pl->crouched = false;
pl->vel.z += 100.0f;
}
if(pl->walking == false)
{
pl->maxspeed = 60;
}
else
{
pl->maxspeed = 15;
}
pl->eyeheight = STANDHEIGHT;
}
else
{
pl->crouched = true;
if(pl->walking == false)
{
pl->maxspeed = 20;
}
else
{
pl->maxspeed = 10;
}
pl->eyeheight = CROUCHHEIGHT;
}

With that, it's working pretty nicely.
Thanks you all.
Feel free to use my code.

reply to this message

#11177: Screenshots

by Ninja*** on 08/22/2008 14:41

Hi!
My questions are:
1) How to make a screenshot for a map?
2) To what folder the screenshot is going?

reply to this message

#11178: Re: Screenshots

by Q009 on 08/22/2008 15:18, refers to #11177

1)Press F12 to make screenshot
2)Screenshot i sgoing to the main sauerbraten installatio folder

reply to this message

#11179: Re: Screenshots

by tentus_ on 08/22/2008 16:25, refers to #11177

Just a word of advice, when you make a screenshot (using F12 like Q009 suggested), use the commands
/hidehud 1
/hudgun 0
to clear up your screen. (Then use the opposite values to get the hud stuff back).

reply to this message

#11180: Re:Screenshots

by Ninja*** on 08/22/2008 18:15

I cant see the pics! I have Linux (Ubuntu 7,10). And i cant see my new map too. I searched the whole Sauer folder, but i didint find any pick or map that i have created (I searched the packages/base folder too).

reply to this message

#11181: Re: Serverlist

by -Redon- on 08/22/2008 18:17, refers to #11162

o.O the command "maxservpings" doesnt exist and i didnt find any similar commands

reply to this message

#11182: Re: Re:Screenshots

by tman_elite on 08/22/2008 19:35, refers to #11180

On linux, most files such as configs and custom maps will go in a hidden folder in your home directory ".sauerbraten". Hope this helps.

reply to this message

#11183: Re:Screenshots

by Ninja*** on 08/22/2008 19:51

Ty 4 Hlep :P

reply to this message

#11184: Re: Serverlist

by a~baby~rabbit on 08/23/2008 00:39, refers to #11181

ah... sorry, looks like that was a fairly recent addition to the code and isn't in the latest release.

As a workaround, regardless of what the server browser says, you can always just type "/connect <ip>" if you know the ip number of the server. To that end you may want to download CSL (cube server listener - it's mentioned in another forum thread). This is a separate program that tells you the status of all other games - with even more detail than the builtin server browser of sauerbraten.

reply to this message

#11185: Re: Serverlist

by yoopers on 08/23/2008 01:11, refers to #11184

On the subject of the server list, does anyone else ever have problems getting replies from all servers in the list? I update from master, get three pages of servers, but only the first page and one third reply, with the others stuck at "Waiting for response" indefinitely.

It's not a big deal for me, what with CSL and having my favorite servers bound, but it would be nice to understand why it's occurring.

reply to this message

#11186: Message censored by administrator

by {Qs}Homicidal on 08/23/2008 05:12, refers to #11179

#11187: Re: Serverlist

by SheeEttin on 08/23/2008 05:36, refers to #11185

Happens to me too. Probably normal.
Could be servers that have gone down since being registered but haven't been removed yet, or something.

reply to this message

#11188: Re: Serverlist

by -Redon- on 08/23/2008 10:57, refers to #11187

Most of the players i know see nearly every server. If i click on those servers, i can still connect, they just dont respond to the serverlist.
I often had to ask for the ip of a server. Its easier with CSL now, but it would be great to know how to fix this problem though.

reply to this message

#11189: Protocols

by Schatten on 08/23/2008 23:39

Dear gamers, please help mw with the following problem:
My IS seems to have changed my connection's parameters and now instead of seeing a list of servers, I only see a list of IPs with 'newer protocol' next to. Can I solve it or is there NOTHING to do wothout involving the IS?
HELP!
Schatten

reply to this message

#11190: Re: Protocols

by noerrorsfound832488 on 08/24/2008 00:51, refers to #11189

IS = ISP?

"newer protocol" usually means your version of Sauerbraten is out of date. make sure you're running the "CTF edition" and not something older.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

4 plus 4 is?


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
58295841 visitors requested 76247588 pages
page created in 0.176 seconds using 10 queries
hosted by Boost Digital