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, 12360032 views, last view: 10/07/2024 21:38

for questions, announcements etc.

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

#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

#10194: Re: Texturing question

by MovingTarget on 03/04/2008 17:36, refers to #10193

Thanks, that was much clearer.

reply to this message

#10195: Re: Dvorak Keyboard Layout

by SheeEttin on 03/04/2008 21:15, refers to #10190

The backslashes appear when people do the math problem wrong... Lemme test.
\'\'\'...
5 times 5 = 40...
Nope, that particular bug still happens.
All of ", ', and \ get escaped (which means that successive incorrect entries get more backslashes).

reply to this message

#10196: Re: Dvorak Keyboard Layout

by yetanotherdemosthenescomputer on 03/04/2008 21:42, refers to #10195

2^N - 1, to be exact. Three bad tries leaves you with seven backslashes before each quote. I always pick them out whenever I do the puzzle wrong.

reply to this message

#10197: New Menu

by Titanic12ship on 03/05/2008 01:54

I made a menu for Sauerbraten that has all of the skies on it. If you click on the sky you want, it will load that sky. Does anyone think this is good work? Or is it just the same old worthless stuff I always make for Sauerbraten. I decided to try menu editing because no one likes my maps. Please give your thoughts on it.

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 multiplied by 7 is?


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