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, 12556658 views, last view: 11/06/2024 12:16

for questions, announcements etc.

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

#11848: Location of an entity

by satkod on 03/17/2009 17:43

Hi All,

Is there a way to get the 2D or 3D coordinates of the location of a given entity in a map?

I am thinking on this for a long time. Thanks in advance.

reply to this message

#11849: Re: Location of an entity

by Hirato Kirata on 03/18/2009 00:40, refers to #11848

not without some code hacks...

for the 3D location try adding this into world.cpp, somewhere below the entget function

ICOMMAND(entcoords, "", (), entfocus(efocus, s_sprintfd(s)("%f %f %f", e.o.x, e.o.y, e.o.z); result(s)));

then just hover your cursor over an entity and type /echo (entcoords) to get it's coordinates printed on screen

for the 2D position, just ignore the last number

reply to this message

#11850: ..

by rafale on 03/18/2009 15:58

Hello..

everytime I try to run Sauermod it says

"cannot find data files (you are running from the wrong folder, try .bat file in the main folder)"

why?...

thanks in advance

reply to this message

#11851: Re: ..

by tentus_ on 03/19/2009 05:06, refers to #11850

You're trying to run the exe file. You're supposed to run the bat file (it ends with .bat, it's supposed to be in the main folder... I'm not sure that there's a clearer way to phrase this). Just to troubleshoot, where on your hard drive is the exe located?

reply to this message

#11852: Display acts very strange

by Vhall on 03/20/2009 00:01

Good evening,

Well, Good is kinda confusing I guess, since I seem to have a little problem with Sauerbraten. I started using Sauerbraten today, but the following problem occurs after startup;

http://img6.imageshack.us/img6/7987/weirdproblem.jpg

(little warning about ads)

As you can see, the screen is totally messed up. I am running Sauerbraten on the following system;

- Windows XP x64
- Ati X1900XT (with the latest drivers, OpenGL too)
- Dualcore Intel processor

So the first thing I checked, were my drivers, but they all seem to be up to date. Secondly I checked if other 3d programs showed the same problem, but they didnt, checked it with Blender and Maya, these seem to work fine.
Last but not least I looked for a possible cause on wiki and searched with google, but nothing relevant came up.
So now I am wondering if there is anyone around here, who has seen or experienced the same problem and knows of a solution...

Thanks for reading this and possibly taking the time to reply!

Vhall




reply to this message

#11853: Re: Display acts very strange

by Hirato Kirata on 03/20/2009 08:14, refers to #11852

This is a bug most likely with your Video card, but very likely the drivers as well regarding OpenGL

you can manually try toggling some of the workarounds to get rid of it (no guarantees) by pressing T and typing /ati

then just press TAB to cycle through the valid choices (obviously, 1 to activate, 0 to deactivate

and can you tell use what stdout says? ie the console right after starting up

reply to this message

#11854: Re: Display acts very strange

by Quin on 03/20/2009 09:50, refers to #11852

Open ATI Catalyst control center. In Advanced 3D settings, turn off Catalyst AI. Problem solvered.

reply to this message

#11855: ..

by Vhall on 03/20/2009 11:22

Thanks for the replies guys!
Quin you were right, I turned of Catalyst AI and everything works like a charm now...

Now I am curious though, what does AI do to screw up the display so much?

Cheers,

reply to this message

#11856: Next version!

by Nixot on 03/20/2009 22:03

The next version of Sauerbraten seems it's gonna be on a par with Doom3! When's it going to be released?

reply to this message

#11857: Re: ..

by Quin on 03/20/2009 23:04, refers to #11855

Catalyst AI is trying to "optimise" Sauerbraten, but its "intelligence" doesn't know how to do that, so it makes guesses - very bad ones at that. I first noticed it when hw mipmapping was being introduced.

reply to this message

#11858: Master server client in php

by Octree Admin on 03/21/2009 01:13

This is kinda lame but i made a php script that lists the servers running:
http://whitehat.servehttp.com/octree/?q=smsc

reply to this message

#11859: Minimap, eisenstern item menu, and intro movie question

by Ayenxz on 03/21/2009 10:34

Hi Everyone..

Straight to the questions..

1. How can I build minimap (like one in Assaultcube) but in Cube 2, with fog of war funtion perhaps?

2. Im kinda interested in 3D menu on item like one in eisenstern, but I want to build it in Sauerbraten map environment,can anyone help me?

3. How can I create intro movie that play after the game has loaded..kinda like story mode...and can trigger function trigger event based action?..like trap or something...


Thanks in advance...and I fully appreciates if anyone can provide details..

reply to this message

#11860: Re: ..

by Vhall on 03/21/2009 14:47, refers to #11857

Makes sense now Quin, well, I keep it turned of now, and rely on my own AI...
Thanks for the explanation!

reply to this message

#11861: Why is the download so slow?

by SuperGeek on 03/22/2009 04:50

Seriously though, last time I tried it was about 10 hours long. And it still didn't work. I'm not entirely convinced that the file was just corrupted, and I don't want to have to download it again. Has anyone else had problems running the CTF edition on Linux?

reply to this message

#11862: Re: Why is the download so slow?

by SheeEttin on 03/22/2009 06:08, refers to #11861

Unless you're on dialup, it shouldn't take that long. I suggested (and still do suggest) trying a different mirror.

I have had no problems running Cube 2 on Linux (well, excluding those that were my own fault).

reply to this message

#11863: Elevator. Complete scripting newbie.

by Zeevaarders on 03/22/2009 13:53

I want an elevator in my game. just a simple one.
I saw this on the editing reference:
"elevator" [Y] N T S
What should I input here?
When I did /newent elevator [Y] N 0 0
the 0's were automatically set to a default.
What should I input in the letters and the Y? I really need help here guys.

reply to this message

#11864: Re: Why is the download so slow?

by tentus_ on 03/22/2009 15:10, refers to #11861

You could try using SVN. That would solve the issue of corruption, and allow you to stop halfway if it's going that slow.

reply to this message

#11865: hi

by ZANK on 03/22/2009 19:45

how can I make a map smaller than size 10?

reply to this message

#11866: Re: hi

by SheeEttin on 03/23/2009 04:32, refers to #11865

Why would you want to?
Most small maps just go with the smallest size and then remove the excess geometry.

reply to this message

#11867: Issues running with Intel GM965/GL960 controller

by briansrapier on 03/23/2009 19:41

Greetings. I've been running Sauerbraten for a bit under Ubuntu 8.10, but recently switched (not by my choice) from a Dell XPS M1710 to a HP Compaq 6510b with an Intel GM965/GL960 integrated graphics controller.

Graphics generally seem to be pretty good. I have been using Compiz with the "normal visual effects" (i.e., no cube) and everything works well. However, Sauerbraten and Assaultcube crawl. I run in windowed (640x480) mode with the high end graphics turned off in the game and it still only runs at (best) 18fps.

I've been trying different settings to try and get it running halfway decently, but have come up with nothing so far that works. Yet, even when the game is up and running, the rest of the system seems to hum along just fine without any lag. I'm curious if perhaps the sound might be at fault rather than the graphics.

I'd appreciate some input.

Thanks.

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


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