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, 12528727 views, last view: 11/02/2024 08:18

for questions, announcements etc.

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

#11448: Contributing code

by kripken on 11/18/2008 06:54

I wrote some code for Sauerbraten that I'd like to contribute to the project. Where should I do that?

The code lets you use particle effects as attachments to model bones, so you can have, say, a smoking gun, a flaming sword, etc. (Basically it defines a 'particle model' as a subclass of animmodel.)

reply to this message

#11449: Re: Where's my map?

by Chuckles on 11/19/2008 13:56, refers to #11440

Still cannot find my maps. I have tried your latest suggestion of :

"X:\Users\YOUR NAME\AppData\Local\VirtualStore\Program Files\Sauerbraten"

and that did not work. An IT friend of mine suggested that the application was saving my created maps on an online server somewhere, so I disconnected from the internet and could still open my created maps.

They are definitely on my hard drive somewhere. Any other suggestions from anyone?

Thanx!

reply to this message

#11450: Re: Where's my map?

by hgkdfopo on 11/19/2008 15:36, refers to #11449

try the vista search function.

yourmapname.ogz + search = oh, my map!

reply to this message

#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

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 3 =


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