General Thread |
by Aardappel
on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 12547047 views, last view: 11/05/2024 04:44 |
|
for questions, announcements etc.
|
|
Board Index
|
|
#10370: Build Errors with VC++ 2005 |
by ylapirrynag
on 04/09/2008 03:32
|
|
------ Build started: Project: sauerbraten, Configuration: Debug Win32 ------
Compiling...
pch.cpp
c:\program files\sauerbraten\src\shared\pch.h(27) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Program Files\Sauerbraten\src\vcpp\Debug\BuildLog.htm"
sauerbraten - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I did exactly as the the wiki guide said but I got this error (I am currently investigating it).
reply to this message
|
|
#10371: Re: Build Errors with VC++ 2005 |
by MovingTarget
on 04/09/2008 04:25, refers to #10370
|
|
Switch to release build, first. If you get the same error, right click on 'sauerbraten', hit Properties, C/C++->General, and under "Additional Include Directories", add in the directory for the Platform SDK (that I'm assuming you have installed).
reply to this message
|
|
#10372: Re: .DS_Store files |
by mayhem
on 04/09/2008 04:34, refers to #10369
|
|
Just thought i'd mention this nifty tool for creating clean archives on a Mac.
CleanArchiver 2.4a4
http://www.macupdate.com/info.php/id/17207
reply to this message
|
|
#10373: Sauerbraten and Virtual Reality |
by Prophet
on 04/09/2008 19:40
|
|
I came across Assault Cube (Cube mod) and Sauerbraten, and found them fantastic. I am currently working with VR and since the Sauerbraten code is open, I asked myself if it would be possible to use Sauerbraten as a VR application. Specifically, I would like to know if it is possible to adapt it to run as an application in VRJuggler or OpenSG. VRJuggler is a well-known VR platform. A basic requirement of this platform is that all OpenGL calls must be called inside a \"draw function\", so that all OpenGL processing is done \"in batch\". My ultimate goal would be to run Sauerbraten in a CAVE environment, via VRJuggler or OpenSG. Any ideas?
reply to this message
|
|
#10374: TEXT PROBLEM |
by Yohomie
on 04/10/2008 01:11
|
|
Q: I tried binding something to the letter 't' (forgetting that t was the chat button). Now I can't chat! What's even worse, the bind isn't working either!
What I used: \bind t say HeLlO!
HELP!!!!
reply to this message
|
|
#10375: Sorry |
by Yohomie
on 04/10/2008 01:12
|
|
On AssaultCube! LOl my last post was about assaultcube. Sorry I didn't clarify that.
reply to this message
|
|
#10376: Re: Sorry |
by yetanotherdemosthenescomputer
on 04/10/2008 03:28, refers to #10375
|
|
http://assault.cubers.net/forum/
reply to this message
|
|
#10377: Linux Noob...Help Please |
by JoeK
on 04/10/2008 12:24
|
|
I can't seem to get Sauerbraten to run in Linu (Freespire). It runs fine in my XP systems.
here is what I get when I try:
Using home directory: /root/.sauerbraten
init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
Renderer: Mesa DRI Intel(R) 945G 20061017 x86/MMX/SSE2 (Tungsten Graphics, Inc)
Driver: 1.3 Mesa 6.5.2
WARNING: No occlusion query support! (large maps may be SLOW)
WARNING: Disabling shaders for extra performance. (use "/shaders 1" to enable shaders if desired)
WARNING: No framebuffer object support. (reflective water may be slow)
WARNING: Non-power-of-two textures not supported!
could not load texture data/notexture.png
could not find core textures
Any help would be appreciated.
Thanks
reply to this message
|
|
#10378: Re: Linux Noob...Help Please |
by Hirato Kirata
on 04/10/2008 12:35, refers to #10377
|
|
how bout you try cd ../; ./bin_unix/linux_client -r -t instead of ./linux_client -r -t :P
alternatively you can try this line
chmod +x sauerbraten_unix; exec sauerbraten_unix
hope that helps :)
~Hirato Kirata
reply to this message
|
|
#10379: fix crackly sound |
by CC_machine[yeahiclearmycookiesalot]
on 04/10/2008 12:53
|
|
Discovered this yesterday. To fix crackly sound (usually music) on nvidia, intel and some other chipsets:
1. ingame, go into the menu
2. go to options
3. go to the sound tab
4. drag the sound frequency from the default 22100 to 44100 hz
5. restart sauerbraten with the launcher script, or if you launch it manually be sure to use the -r commandline option
6. enjoy nice, crisp sound ^^
reply to this message
|
|
#10380: Re: TEXT PROBLEM |
by MeatROme
on 04/12/2008 11:43, refers to #10374
|
|
remove your config.cfg to eliminate your alias-gone-awry!
see : http://cube.wikispaces.com/FAQ#toc4
BTW: the correct form to bind would've been:
bind T [say Hello!]
reply to this message
|
|
#10381: .. |
by 10hijop10
on 04/12/2008 15:06
|
|
hello, if i make my one map and i whnna have a green light what i have too do than???
reply to this message
|
|
#10382: Message censored by administrator |
by 10hijop10
on 04/12/2008 15:06
|
|
|
#10383: Re: .. |
by tentus_
on 04/12/2008 18:05, refers to #10381
|
|
Quoted from http://sauerbraten.org/docs/editref.html#_light_
"light" radius r g b
If G and B are 0 the R value will be taken as brightness for a white light. A good radius for a small wall light is 64, for a middle sized room 128... for a sun probably more like 1000. Lights with a radius of 0 do not attenuate and may be more appropriate for simulating sunlight or ambient light; however, this comes at the cost of slightly greater map file sizes. See the lighting commands for an indepth list of all lighting related commands.
reply to this message
|
|
#10384: Multiplayer crashing |
by k7991
on 04/13/2008 03:08
|
|
When i try to do anything related to connecting to someone else in the multiplayer menu (for example, Selecting "update from master server"), the game crashes, is there any reason for this? My PC isn't very good but it otherwise runs the game at quite a good framerate.
reply to this message
|
|
#10385: Re: Multiplayer crashing |
by tentus_
on 04/13/2008 05:16, refers to #10384
|
|
Please provide all the details you can on your machine and setup. What version of Sauer, what OS you're using, etc all help us figure out your problem faster.
reply to this message
|
|
#10386: EisenStern Scripting |
by Xannin.
on 04/13/2008 05:57
|
|
I've been trying to make a spell in EisenStern that, once it hits its target, will do damage over a period of time. Essentially its a poison spell.
Here is the action associated with the spell:
r_lastingdamage = [
damage = (r_get_damage)
r_pop
loop i 20 [
r_applydamage (div (* $damage $arg1) 100)
sleep 2000
]
]
The problem I'm having is that the sleep command doesn't appear to execute. What I get is 7 damage, 20 times, all at the same time. Am I using the sleep command correctly? If I am does anyone see what is wrong?
Thanks
reply to this message
|
|
#10387: Re: EisenStern Scripting |
by jbuk2k7s cookie has gone
on 04/13/2008 20:42, refers to #10386
|
|
I'm no expert with cubescript, but maybe swap the 'sleep 2000' and the 'r_applydamage...' lines around?
reply to this message
|
|
#10388: .. |
by apflstrudl
on 04/13/2008 21:07
|
|
sleeps in loops don't work. a sleep command normally works like this:
sleep 2000 [<command>]
you could do this:
r_lastingdamage = [
damage = (r_get_damage)
r_pop
count = 0
damage_apply = [
r_applydamage (div (* $damage $arg1) 100)
count = (+ $count 1)
if (< $count 20) [
sleep 2000 [ r_applydamage ]
]
]
reply to this message
|
|
#10389: Re: .. |
by Xannin.
on 04/15/2008 06:27, refers to #10388
|
|
Thanks for the help, however, I'm ditching the idea because there are way too many problems to work out.
I'm not sure why but when I tried your suggestion nothing happened. No damage was applied and the creature did not turn hostile.
It seems that there is a problem with having r_applydamage (div (* $damage $arg1) 100) inside another statement. I think for some reason it is unable to find $damage or $arg1.
I tried something like this to see if it would work at all:
sleep 750 [ r_applydamage (div (* 7 100) 100) ]
sleep 750 [ r_applydamage (div (* 7 100) 100) ]
sleep 750 [ r_applydamage (div (* 7 100) 100) ]
and so on...
with this, there is a wait and then all the damage is applied at the same time.
The biggest problem, thought, is that if the creature attacks you before it takes the damage, I think it puts you on top of the "stack" and you take all the damage. So any time something attacked me before it took damage, I took the 140 damage.
Thanks anyway, I think I'm just going to try to keep it simple.
reply to this message
|
|
|
Board Index
|
|