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, 12556201 views, last view: 11/06/2024 08:24

for questions, announcements etc.

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

#10174: Re: Dvorak Keyboard Layout

by MeatROme on 03/02/2008 13:54, refers to #10171

As graham pointed out the "bind" command can help you setup your own personal keybinding;
the data/keymap.cfg file can also be supplemented by keycodes currently not yet understood by the engine.
You might want to compare http://cube.wikispaces.com/configuration for your first steps :)

Oh .. and since IllviUa is probably not the only one sharing in your predicament ... how about publishing your work as a suggested Script/Mod on quadropolis ?!? :)

reply to this message

#10175: Re: Dvorak Keyboard Layout

by samslembas on 03/02/2008 17:27, refers to #10174

Ah, thanks for the help. I was trying to use "bind , forward" rather than "bind comma forward". As for publishing my work, it is going to take me quite a while to get used to this stuff enough to not only have a good keymapping made, but actually know *how* to publish it ;) I cannot locate this /data/ directory that was mentioned a few times. I am on a Linux system, and there seems to be a .sauerbraten directory in my home folder, but all that is in there is config.cfg init.cfg packages servers.cfg. I suspect that there is no data directory on Linux, and that this is the replacement, but that still leaves me wondering where the keymap.cfg file is.Is it optional and needs to be created, or am I in the wrong place?

reply to this message

#10176: Re: Dvorak Keyboard Layout

by jbuk2k7s cookie has gone on 03/02/2008 18:19, refers to #10175

Put all of your custom binds into 'autoexec.cfg' which should be created inside the root Sauerbraten (not the .sauerbraten) directory. Then people can just copy and paste the binings into their own autoexecs, or just put your one in the Sauer folder.

reply to this message

#10177: Assassin, Summer, Spring?

by tcc on 03/02/2008 19:03

Where is the difference between those 3 versions? I cant find any information about it.

reply to this message

#10178: Texturing question

by MovingTarget on 03/02/2008 19:03

I have a question about texturing.
Say I'm making a map (unlikely, huh?), and say I'm doing it after the style of Quake 3.

Since I don't want to use the original textures included in the game (although I can't resist using sonic1 for music!), I download a very large pack of Quake 3-like textures. This pack contains well over 200 textures (and I may download more). Now, I use a script to automatically index the textures and make a package.cfg for my map's configuration file to execute (I'm not too keen on typing texture 0 "movingtarget/q3/blah.jpg" 200 times).

The problem is, when I'm done texturing, I'm not going to have used all those textures, and including them all in the package will drive it up to somewhere around 30MB, maybe more. But if I delete the entries for the textures that I don't use, most of the texturing will be ruined, and I'll have to redo it all over again (not an easy task).

Any ideas on how I could get around this?

reply to this message

#10179: Re: Dvorak Keyboard Layout

by ezombie on 03/02/2008 21:57, refers to #10176

Wouldn't it be cleaner to make a *dvorak.cfg* file with the bindings, then exec it from your autoexec.cfg?

Makes sharing/installing much easier, no?

reply to this message

#10180: Forum Update?

by ezombie on 03/02/2008 21:58

OMFG!!!

Quotes work now! Huzzah!

reply to this message

#10181: Re: Forum Update?

by jbuk2k7s cookie has gone on 03/02/2008 22:09, refers to #10180

Because you used asterisks. It's 's that don't work. Maybe if i /' it might work.

reply to this message

#10182: Re: Forum Update?

by jbuk2k7s cookie has gone on 03/02/2008 22:10, refers to #10181

OMG they do work! (Sorry for useless spam)

reply to this message

#10183: Re: Dvorak Keyboard Layout

by MeatROme on 03/02/2008 22:18, refers to #10175

the ~/.sauerbraten is the ideal place for your personal configuration!
I also place all custom maps in there;
but you should go to the installation folder to find the ./data/ directory ... it sounds a bit like you installed it via your package-manager (which almost always results in this question (and non-current version problems)) ... try "locate keymap.cfg|grep sauerbraten" ;-)

reply to this message

#10184: Re: Texturing question

by MovingTarget on 03/03/2008 02:22, refers to #10179

Oh well, I just hoped there would be a more 'elegant' way to do it. I always have hated files that look like that (50+ repeating 'texture 0 "dummy.jpg"').

reply to this message

#10185: Re: Texturing question

by demosthenes on 03/03/2008 02:32, refers to #10184

The replace command wouldn't work?

reply to this message

#10186: Re: Texturing question

by a`baby`rabbit on 03/03/2008 03:34, refers to #10184

so use sauerscript, something like:

loop i 50 [ texture 0 "dummy.jpg" ]

reply to this message

#10187: Re: Texturing question

by MovingTarget on 03/03/2008 04:26, refers to #10186

Heh, I guess that would make it much cleaner, thanks! Didn't think of that.

reply to this message

#10188: Re: Texturing question

by MovingTarget on 03/03/2008 17:06, refers to #10185

Could you please enlighten me as to the usage of the 'replace' command? The description in the docs is not really clear.

reply to this message

#10189: Re: Dvorak Keyboard Layout

by SheeEttin on 03/03/2008 21:13, refers to #10175

You can find the names for all the keys in data/keymap.cfg.

Oh, and what's this about quotes working? Are you talking about the "reply to this message" link?
I wasn't aware they weren't working...

reply to this message

#10190: Re: Dvorak Keyboard Layout

by MovingTarget on 03/03/2008 21:30, refers to #10189

LOL! You just demonstrated that yes, indeed, they work. They were talking about there being backslashes in front of quotation marks, which got quite annoying. It seems to have been fixed.

reply to this message

#10191: Re: Texturing question

by yetanotherdemosthenescomputer on 03/04/2008 00:54, refers to #10188

Replace is used like this:

Find a piece of texturing that you'd like to replace. Select it, then change it to the new texture. Open the console and enter the command "/replace". If done correctly, the piece of texture you changed should completely disappear from the map, replaced by the texture you replaced it with.

Does that make sense?

reply to this message

#10192: Re: Texturing question

by MovingTarget on 03/04/2008 04:01, refers to #10191

Cool! That WOULD make it much easier. Thanks for the clear explanation (except for 'replaced by the texture you replaced it with' :D).

reply to this message

#10193: Re: Texturing question

by yetanotherdemosthenescomputer on 03/04/2008 09:31, refers to #10192

Ugh, yeah, that wasn't very clear.

You change the first texture to the second texture in one spot. Then the command changes the rest of the instances of the first texture to the second texture.

That should clarify any remaining doubt. :)

I've used it recently when changing a couple of maps to use custom texture configurations.

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

8 multiplied by 7 is?


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