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, 11452567 views, last view: 05/19/2024 11:16

for questions, announcements etc.

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

#7668: Message censored by administrator

by MitaWife on 03/08/2007 14:26

#7669: Connect a Client to a Specific IP

by firebane on 03/08/2007 18:42

Hi,

I am running a private server on Ip 192.168.0.100 for example. When I browse the server list, I don't find the server. Is there any way to tell the client to directly connect to that IP?

reply to this message

#7670: Re: Connect a Client to a Specific IP

by absinth on 03/08/2007 18:49, refers to #7669

"/connect 192.168.0.100"

"/lanconnect" should also work

btw it would be preferable to just read the documentation instead of asking here.

reply to this message

#7671: Message censored by administrator

by apple580 on 03/09/2007 01:08

#7672: Message censored by administrator

by apple580 on 03/09/2007 01:15

#7673: ..

by Caffeine on 03/09/2007 01:36

Ugh, what's with the spam? :(

reply to this message

#7674: Message censored by administrator

by apple580 on 03/09/2007 04:10

#7675: Could not play: fanatic/*.ogg

by sarayev on 03/09/2007 14:59

Hi,

I\'m running sauerbraten on linux, and when I start it, I get this message.

First, I thought about a problem of permission, but it wasn\'t... can you help me ?

thanks

reply to this message

#7676: turn keys

by chmmr213 on 03/09/2007 20:34

OK to start out.. excellent engine IMHO.

I was able to make the arrow keys rotate the player up to down and left to right just using the built in pl->yaw and pl->pitch. You know, make the binded commands like pitchup and pitchdown. Also new char like t_turn and t_pitch and new bools so the code ended up looking like this..

dir(pitchup,t_pitch,-1,k_dwn,k_uup);
dir(pitchdown,t_pitch,1,k_uup,k_dwn);
dir(yawleft,t_turn,1,k_lft, k_rght);
dir(yawright,t_turn,-1,k_rght,k_lft);

Then later on force the movement to happen in another function like modifyvelocity or what have you;

pl->yaw += pl->t_turn;
pl->pitch += pl->t_pitch;
fixcamerarangeang();

To compensate so the camera follows tighter I fudged what you did with fixcamerarange and actually made it to be sure to follow the yaw and pitch the player is at.

Now this is all fine and dandy and makes me realize that you dont have it because you dont want it in your game which is something one must respect.

As far as what I just bumbled together up there it works fine for a first person shooter because the views and angles are locked at max and mins before the formula would have the opposite effect desired. IE when the -1 or positive 1 would flip it when yawing at a certain pitch degrees... gimbal lock I believe...........I am coding a space game with your great engine.

You do have something that will rotate_around_z, _x, _y, but sadly when using the pl->, there is no x,y,z indicated as an option from the physent. Anyhow, I think you can quess my next question... Is there a function that is already in here that will give the player entity's x,y and z axis so I may rotate upon it or will I need to create the process to find that x,y,z axis? I am fairly certain that of course the player entity has an x,y,z so that is why I ask this more than likely stupid question.

reply to this message

#7677: Message censored by administrator

by Рassa on 03/09/2007 21:21

#7678: how do you change the resolution???

by insectus on 03/10/2007 01:06

when i change the resolution well... i cant change it.. it says \\\"screenres\\\" not command for this platform.. or something... please help

reply to this message

#7679: how ya...

by insectus on 03/10/2007 01:08

how do ya know if that person is on your team???? im new to cube 2 right now i play action cube so.....

reply to this message

#7680: Re: how do you change the resolution???

by shadow,516 on 03/10/2007 01:08, refers to #7678

you can't do it in-game in windows. Edit the .bat file.

reply to this message

#7681: Re: how ya...

by shadow,516 on 03/10/2007 01:09, refers to #7679

The blue people are on your team

reply to this message

#7682: wat ya mean

by insectus on 03/10/2007 01:09

wat ya mean? shadow?

reply to this message

#7683: the resolution

by insectus on 03/10/2007 01:10

i dont get it how?

reply to this message

#7684: Re: wat ya mean

by shadow,516 on 03/10/2007 01:10, refers to #7682

right click on sauerbraten.bat and click edit.

reply to this message

#7685: i still dont get it

by insectus on 03/10/2007 01:10

where is that?

reply to this message

#7686: Re: i still dont get it

by shadow,516 on 03/10/2007 01:11, refers to #7685

sauerbraten.bat is the thing you use to start sauer

reply to this message

#7687: click edit then..

by insectus on 03/10/2007 01:12

edit then wat

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

5 plus 2 is?


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54042668 visitors requested 71823989 pages
page created in 0.215 seconds using 9 queries
hosted by Boost Digital