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, 12352174 views, last view: 10/06/2024 17:21

for questions, announcements etc.

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

#9925: broken mod

by slick on 01/17/2008 03:59

aight so when i had summer edition of sauerbraten, a guy on quadrapolis named marvin2k submitted some m2k futuristic weapons. they worked great, and i liked em. but when i switched to assassin edition, and got the mod again, the new gun animations included with the mod quit working. any1 know wat i modify in the md3 files to get the mod's custom animations to work again? thx

reply to this message

#9926: Re: copyright laws editing cube textures

by poroc on 01/17/2008 05:07, refers to #9920


one of my friends eused my computer #9957 in my name.
I have a new friend.

I could've told him to open and read.

I understands what he means though, most of those pads are marked as 'CFG' configuration files.

Not entirely reccomended for opening.

I little daunting to even try too open not too mention possibly corrupting the file and or game.

reply to this message

#9927: autoexec execution?

by demosthenes on 01/17/2008 08:53

Would it be a problem to execute autoexec.cfg in the middle of an SP map?

The reason I ask is that I want to force a rebind of mouse1 and mouse2 in order to have a portal-placing puzzle, but then I need to restore (not just re-bind again) those back to what they were. The easiest I can think of is to execute config.cfg and then autoexec.cfg, which should restore settings to the player's defaults.

So, would doing so cause problems for anyone?

reply to this message

#9928: Re: autoexec execution?

by steve_e on 01/17/2008 09:11, refers to #9927

I've tried this to restore 'defaults' - you will receive an error saying that you can not do a binding, so does not restore the config.cfg binding(s).

If you had the new binding in autoexec.cfg then you wouldn't want to call that again after calling config.cfg anyway.

It does reset other game settings though, so can be useful for some cleaning up just before exit.

reply to this message

#9929: Re: autoexec execution?

by demosthenes on 01/17/2008 09:32, refers to #9928

Well, my idea was to have the keybinds in a GUI that would pop up at a certain point in the level explaining a little about the portal puzzle, something like "click here to start" would bind the keys.

Then I would have a GUI popup at the end that said "click here to continue" which (I hope) would execute config and autoexec.

reply to this message

#9930: Re: autoexec execution?

by steve_e on 01/17/2008 10:14, refers to #9929

So, the key binding is dependent on the variable being set via menu button?

The bindings would have to happen at start-up in any case, and not in game, so whether they were active upon setting a boolean via menu the binding would still be associated and written to the config.cfg at shutdown.

I tried a little test to see whether that would happen: I set a key binding in autoexec, opened sauer and when I closed sauer I ran a script that went:
exec config.cfg
quit

...no error messages as you don't get to see them, but the binding set in autoexec was written to config.cfg despite config.cfg being called before exiting (and hopefully restoring intial settings).

This is why it would be good to test for a keypress rather than binding keys for SP (and other?) games.

reply to this message

#9931: Re: autoexec execution?

by demosthenes on 01/17/2008 11:03, refers to #9930

No, the binds would be set by gui button. Like,

guibutton "Okay, play the portal puzzle" [bind mouse1 [portal1]]

If it works for the portaltest map (which it probably does if they playtested it), then it should work like that. The real question is, will the rebinding of things work via gui button?

reply to this message

#9932: Re: autoexec execution?

by steve_e on 01/17/2008 11:59, refers to #9931

Hmmmm, just looked at the portal .cfgs...

Well, how's that - you can do a bind of a mouse button in game... but not keys... hmmm...

So anyhow, then YES, assigning a clean up script to a menu button to reload config.cfg will return the mouse bindings to what they were... I just tried with my own menu which has a 'quit' button that calls the config.cfg before exiting and the mouse binds from the portaltest.cfg were not written to the config.cfg on exit.

Wow, so I can play with mouse bindings then, just not key bindings in game - that makes things a little more interesting. Cheers.

reply to this message

#9933: ..

by SanHolo on 01/17/2008 13:58

Is it possible to run Sauerbraten on multiple Monitors (not mirrored of course)? If so, how can it be done on Mac OS X?

reply to this message

#9934: Re: ..

by Quin on 01/17/2008 14:34, refers to #9933

I assume you just use "-wVIRTWIDTH -hVIRTHEIGHT", realise that if you are using a single video card with multi display capability that the second monitor can sometimes (but not always) be unaccelerated.

reply to this message

#9935: Re: autoexec execution?

by tentus_ on 01/17/2008 16:48, refers to #9931

I'm a bit confused. Have you tired out the portaltest maps? The way I rebound the keys was a finishing showgui that had a button to rebind everything that was bound by previous buttons back to the default. I chose to do this because it minimizes the probability of undoing other configurations: lots of people rebind half their keyboard to fit their liking, and I have no right to try and force the original defaults back on them.

I'm not really sure what you guys are saying about not rebinding keys... type /bind E [echo "edit"] and it'll do exactly what you expect. (type /bind e [edittoggle] to undo this binding, btw.) Keyboards are just as bindable as mouse buttons. The only things you can't change are what the commands themselves do: there's no way to make "attack" mean "exec some_script".

reply to this message

#9936: Re: autoexec execution?

by demosthenes on 01/17/2008 22:31, refers to #9935

I have tried playing the portaltest maps, though I didn't use the binds (because I customized them and bound them differently). That is where I got the idea to rebind mouse keys from inside the map - I am planning on using a modified version of the binds to create a portal puzzle in the SP map I'm working on.

However, I wanted to rebind the mouse keys to precisely what they were beforehand, and I figured that executing config and autoexec would set them back to what they were, but I didn't know if that could cause problems for people. I figured that executing config.cfg would catch anything they bound in-game and autoexec.cfg would restore anything else.

reply to this message

#9937: Re: autoexec execution?

by steve_e on 01/18/2008 01:50, refers to #9936

You may be able to bind a key using the console, but put the binding in a map's .cfg and the message returned is:
'cannot override bind "E"'

however, a mouse bind in a map's .cfg does not return that message and the binding is performed.

reply to this message

#9938: Re: HELP!!

by Passa on 01/18/2008 02:57, refers to #9916

Wow, hadn't seen that before (I desperately searched for a way to get my Wireless Xbox 360 controller adaptor working). Shame it's still 'experimental' though and has a rather complex install process :/

reply to this message

#9939: Re: autoexec execution?

by tentus_ on 01/18/2008 05:29, refers to #9937

Oh, I see the problem. Put it behind a guibutton, something along these lines:

guibutton "ok" "bind e [whatever]"

I didn't realize you were just jumping straight in on mapload. That would cause problems, Sauer doesn't like that. Odd that it lets you do so with the mouse buttons.

reply to this message

#9940: Re: ..

by SanHolo on 01/18/2008 11:33, refers to #9934

Doesn't work, no matter what values I enter, it defaults to full resolution on my main monitor.

reply to this message

#9941: Re: ..

by Quin on 01/18/2008 13:53, refers to #9940

Try this:

set SDL_VIDEO_WINDOW_POS=0,0
sauerbraten -t -wWIDTH -hHEIGHT

reply to this message

#9942: Regarding making working ladders and bouncers

by Pato2747 on 01/18/2008 23:55

How do I make in editing mode bouncers and ladders? Help\'s appreciated.

reply to this message

#9943: Enemy Territory + Cube 2 = wOOt?

by ezombie on 01/19/2008 00:15

Some of us weirdos have been kicking around the thought of making a community edition of Enemy Territory (the FIRST one). I suggested the Cube 2 engine might be a good base...

This would be a straight port of ETPro gameplay to a standalone open source game, using new 'HD' assets. Nothing too fancy, just better graphics and netcode are what we would be looking for.

reply to this message

#9944: Re: Enemy Territory + Cube 2 = wOOt?

by JadeMatrix on 01/19/2008 00:16, refers to #9943

Sweet.

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 times 1 is?


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