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, 12524999 views, last view: 11/02/2024 00:27

for questions, announcements etc.

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

#11451: Change keymapping?

by sh0nuff on 11/20/2008 01:10

I hate having the "e" key bound to open edit mode. Whenever Im playing and I accidentally hit it, it resets the whole level, and I am pretty much forced to start from scratch.

I can't seem to figure out how to disable or remap the key....

Thanks.

reply to this message

#11452: ..

by eihrul on 11/20/2008 02:14

bind E "echo something"
bind F1 edittoggle

for example

reply to this message

#11453: Re: ..

by Quin on 11/20/2008 21:57, refers to #11452

Heheh.. F1.

reply to this message

#11454: strange water glitch...?

by fugudude on 11/21/2008 04:21

Ok i was wondering how this is happening and how to fix it... here are three pictures. The top surface of the water doesn't render right or something; it will just become a funny color when I shoot it, jump in it, or look at it with a different angle.

http://s371.photobucket.com/albums/oo156/sl1pvayne/?action=view¤t=screenshot_139192.jpg

http://s371.photobucket.com/albums/oo156/sl1pvayne/?action=view¤t=screenshot_156370.jpg

http://s371.photobucket.com/albums/oo156/sl1pvayne/?action=view¤t=screenshot_166067.jpg

reply to this message

#11455: Re: Change keymapping?

by JadeMatrix on 11/21/2008 06:56, refers to #11451

Or add this to your autoexec.cfg to add a warning. I wrote it a while ago, so I'm not sure if it even works:

bind E edittogg

noshow_editogg = 0

edittogg = [
if (= $noshow_edittogg 0) [
if (> $mode -2) [
pause 1
showgui "Edit Mode"
] [
edittoggle
]
] [
edittoggle
]
]

newgui "Edit Mode" [
guitext "Do you really want to switch to edit mode?"
guitext "(You will lose your progress in the current"
guitext "campaign)"
guitext ""
guibutton "Yes, enter edit mode >>" "pause 0; edittoggle"
guibutton "No, return to campaign <<" "cleargui; sleep 100 [pause 0]"
guitext ""
guicheckbox "Do not show this again" "noshow_edittogg"
guitext "(This will reset when you restart Sauerbraten)"
]

reply to this message

#11456: Re: Change keymapping?

by JadeMatrix on 11/21/2008 06:59, refers to #11455

Oops, third to last line should be:

guicheckbox "Do not show this again" "shoshow_edittogg 1"

reply to this message

#11457: Re: Change keymapping?

by Hirato Kirata on 11/21/2008 08:37, refers to #11455

it's (getmode) not $mode :P

reply to this message

#11458: Re: strange water glitch...?

by Deehy on 11/21/2008 15:42, refers to #11454

I have same thing. You have shader detail set to low... Try /shaderdetail 3 then /shaderdetail 0. It works on my computer.

reply to this message

#11459: Re: Change keymapping?

by JadeMatrix on 11/22/2008 04:44, refers to #11457

Ah, ok. Is it used the same way, or what?

reply to this message

#11460: Re: Change keymapping?

by Hirato Kirata on 11/22/2008 07:33, refers to #11459

just substitute one for the other
ie
if (> (getmode) -2) [
instead of
if (> $mode -2) [

reply to this message

#11461: mouse problem

by celtic_dragon on 11/22/2008 09:17

I downloaded Cube a few days ago. I can play fine at work (WinXP), but at home (WinVista), whenever I do anything with the mouse, it looks toward the ceiling. I've tried both PS/2 and USB mice. I've spent quite a bit of time trying to find some mention of this problem somewhere, but couldn't find anything. I thought I'd try binding keys for turning and looking up/down (mouse-less play is OK by me), but there doesn't appear to be any way to do that.

Athlon X2 4800
NVidia GeForce 6150 SE

though I wouldn't have thought that was really relevant in this case (but just in case).

Anyone know how to fix this or a way around it?

reply to this message

#11462: Re: mouse problem

by tentus_ on 11/22/2008 17:02, refers to #11461

Try playing with the sensitivity:
http://sauerbraten.org/docs/config.html#sensitivity

Also, try simply not moving the mouse while loading. I've seen some mice decide some weird stuff on their own.

reply to this message

#11463: mouse spin

by celtic_dragon on 11/22/2008 23:59

Thanks for your help, Tentus, but adjusting sensitivity or sensitivityscale only makes it spin upwards slower or faster (though I did notice, after I had slowed it down, that I can make it turn or look down in a very belaboured fashion: moving the mouse in the down-left/down-right directions turns the player, and moving the mouse a little to the right of straight down looks down, but I have to be very careful, and it is slow - it seems to be "fighting" with its propensity to move in the up-left direction).

I didn't touch the mouse while it was loading, either.

There is no way to bind or script for turning and looking up/down?

Could it be a driver issue? It's a new computer, just bought it a few weeks ago.

BTW, was attempting Cube Legends. Looks good (what little I've seen, anyway - but why does the title hang around forever? I finally turned it off in autoexec.cfg); I really would like to try it.

reply to this message

#11464: Re: mouse spin

by Quin on 11/23/2008 01:12, refers to #11463

There's no binds for looking, no.

It sounds to me like it isn't grabbing the mouse properly. Try pressing ALT+TAB to make sure Sauerbraten is coming to the front (the batch file confuses the window assignment if the program called from batch takes a while to start) or running in windowed mode (-t command line).

reply to this message

#11465: tried it

by celtic_dragon on 11/23/2008 01:39

I tried ALT-TAB; the only way I could get back was clicking on the cubeengine tab (I can shift the focus to the command prompt screen, but not back to the game itself) - it didn't help. Also tried -t switch, but to no avail.

Thanks for your suggestions, though.

I guess it just wasn't meant to be.

reply to this message

#11466: Re: mouse spin

by tentus_ on 11/23/2008 07:12, refers to #11463

Ah, Cube Legends, good times. The title screen was quite a stupid little hack, but you could get rid of it by firing once. :) Man I was bad at coding back then, I look back at my changes and cringe (really, I look back at most of that project and cringe).

reply to this message

#11467: Re: mouse spin

by Quin on 11/23/2008 10:09, refers to #11466

I just look back and cringe. Must.. keep.. moving.. forward..

Here's an idea; GET RID OF VISTA! Problem solvered.

*curses the infernal os*

reply to this message

#11468: ..

by Botklid on 11/23/2008 15:18

Hello, im interested if i can change the program title. I mean the text which is shown when you quit your game. I really would liked to rename this text \"saubraten engine\" to my own game name. I\'ve got a freeware opensource game but i dont want people to know where i did created my game :p

reply to this message

#11469: Re: ..

by Quin on 11/23/2008 20:09, refers to #11468

Source code license:

Sauerbraten game engine source code, any release.

Copyright (C) 2001-2006 Wouter van Oortmerssen.

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Other than that, what you said is just not cool man. The authors who have worked on Cube over the years have done a great job and deserve the appropriate credit.

reply to this message

#11470: Re: ..

by Acord on 11/24/2008 08:38, refers to #11468

Why not? CUBE 2 is a great engine, and more people should use it. More people = more modifications = more features...

...ya know - besides the fact that you essentially just said that you want to take someone else's work and claim it as your own.

In University, that's called plagiarism and will get you kicked out. In real life, it's called copyright infringement and will get you sued and possibly imprisoned.

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 9 is?


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