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, 15499 messages, last message: 12/08/2021 21:22, 8825811 views, last view: 12/09/2021 01:14

for questions, announcements etc.

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

#2045: Re: New model format AND Editor

by mortfurd on 11/20/2003 23:51, refers to #2042

What I'm gaining is the ability to create my own models, which I could not find a way to do under Linux with the MD2 files. Yes, I could have gone on and done MD2 once I got the kinks worked out - but I don't miss MD2.

I'm not losing a lot, since most MD2 models that I've seen deal in mayhem, blood, and death.

I'm working on some things that would be more in line for small children, and another thingamabobby that is definitely not for little kids - but where blood and ugly monsters also don't belong.

In both cases, I need structures finer than MD2 can provide. I also do some odd things with my models that would result in normal sized structures being treated as small structures with MD2.

One of the the things that I've done is to make a framed picture that hangs on the wall. The offset to the bottom of the picture is acheived by relocating it in Blender - the picture is six times its own size above the origin. With MD2, this would lose me a lot of precision in the actual model.

Since I'm using floats in my format, I don't have to worry about precision until things get REALLY big.

Other than that, I gain not having to worry about id lowering the boom. Not that I think there's a big chance of that happening, but still.

Also, since Blender and Python are available on many platforms (Windows, OSX, Linux,) you can make your models anywhere you need to - just like cube runs anywhere you want to.

Also, just to clarify - The Blender Exporter is done, and I have a massively hacked version of cube that uses it.

The massively hacked part comes because I've expanded the scripting language by a lot of stuff that I needed. Mostly just small functions that make life easier, but also some deeper reaching stuff. My version can change models for each entity on the fly and specify the frame range to use. It can also do a sequence that starts at a specified frame, runs to a specified frame, and then returns to a preciously specifed range. You can also change the animation speed for every figure individually. There is a timer callback that executes code in your script while the timer is active, and there are functions to set, start, and stop the timer. I also added a set of functions to overwrite the standard HUD stuff. I can change HUD icons on the fly, and put whatever data I want up beside them.

Next up on the block is an improved collison detection and generating bounding boxes for the figures. I need these things because I intend to do animated doors using my models. Since the doors are so large, they don't do too well with the standard mapmodel collision detection - and they tend to disappear if you turn at almost a right angle to them because cube assumes that if you can't see the origin of the mdoel then you can't see it at all.

To do these things, I will modify my rendering routine to check how close a specified point is to all the points in the model. This will be tied in with the unproject collison detection - when something is right up in my face, then (and only then) will the renderer be requested to do a proximity check for the point returned by the unproject detect.

The renderer will also be modified to return a bounding box to the entity when it renders the model. I will then use this in the culling routine to tell when to continue rendering an object (when it is still visible.)

All of this would be harder (and slower) to do with MD2. My files have the coordinates as floats already, so all I need is a shitpot full of comparisons to do the detection. With MD2, I would have to convert from scaled bytes to floats to do it - which is not really a hard job, but it would add more multiplications and type conversions to the process and slow it down.

Yeah. Anyway, I wouldn't be trying all of this if cube weren't so easy to work on

reply to this message

#2046: Re: no drivers

by spentron-postcrash2 on 11/21/2003 04:40, refers to #2044

SiS has drivers, but since they're basically Rendition clones (I think, or is that one Intel 740 clone?), GLQuake willl barely run on it and still doesn't show your weapon (there's also a Verite Quake engine for Rendition). Any 3D capabilities of the card is probably no match for software rendering on that CPU.

I've seen worse with Cube on a nicer machine, actually, no substitute for full OpenGL!

reply to this message

#2047: Cube Cossword Puzzle!

by «Þª†HéG®ëª†» on 11/25/2003 00:29

Hey guys! i have a little crossword fun






http://www.armoredpenguin.com/wordsearch/Data/2003.11/28020.1.html

reply to this message

#2048: Re: Cube Cossword Puzzle!

by pushplay on 11/25/2003 07:37, refers to #2047

That's weird.

reply to this message

#2049: Freakin think wont install

by N/A on 11/26/2003 01:28

I extracted it to a file and try to run the cube.bat like it says, but it uses Open Office! THATS A FREAKIN TEXT EDITOR!!
Email me with relplies.

reply to this message

#2050: Re: Freakin think wont install

by pushplay on 11/26/2003 08:51, refers to #2049

That's pretty impressive, it shoudn't happen. Try right clicking on it and seeing if there's an open command and see what it does.

If that's no good you could either learn to use the command prompt and run the bat from there. Otherwise you need to use regedit and should do a search on the internet for how it's supposed to be set up. If you're not comfortable with regedit you should probably not touch it because you could use it to put windows in a non-booting state.

reply to this message

#2051: ..

by mortfurd on 11/26/2003 19:50

Snork. That is funny.

Open Office is set as the default program to handle .bat files - probably because someone once used it to edit a .bat and told Windows to remember that association.

You can change that in the explorer - but don't me how. As a Linux user, I don't have a copy of Windows handy to check - I just know you can do it that way because I used to have to use Windows.

reply to this message

#2052: Re: Freakin think wont install

by spentron-postcrash2 on 11/26/2003 20:32, refers to #2050

In windows explorer, Tools-Folder Options-File Types tab. Probably don't need any association of bat's with anything (I don't), just remove the association with Open Office. Could have been an anti-virus move, stops execution.

reply to this message

#2053: Re: Freakin think wont install

by D.plomat on 11/30/2003 01:49, refers to #2049

Wow, OpenOffice as default editor for BAT's, never seen this before ;)

Also, you can download a powertoy on microsoft site that's called "command prompt here", "shell from here" or something similar, so you can just right-click on your Cube directory and then type cube.bat

reply to this message

#2054: Re: ..

by N/A on 12/01/2003 03:37, refers to #2051

I use Linux

reply to this message

#2055: ..

by N/A on 12/01/2003 03:38

Though... It just does. I never ran a .bat with Open Office

reply to this message

#2056: Re: ..

by pushplay on 12/01/2003 03:51, refers to #2055

You... use... linux...

You don't run bat files in linux, you run the scipt cleverly labeled cube_unix. Also do what it says in bin_unix/readme.txt.

reply to this message

#2057: how do you start

by granty on 12/02/2003 02:21

so how do you start plaing

reply to this message

#2058: ..

by mortfurd on 12/02/2003 11:00

Ya know, I would have figured that anybody who can figure out how to register with this forum and post to it would be capable of reading the docs that come with the game - and be able to devine that a Windows user would execute the cube.bat file, and that Linux/unix users would use the cube_unix script.

I could be wrong, though.

Yes, I'm a caustic little bastard at times. Attribute that to me, and not the general tone of these forums though.

reply to this message

#2059: ..

by «Þª†HéG®ëª†» on 12/02/2003 22:21

Not everyone is good on computers, and they might just want to play cube so thats why we are here mortfurd. Dont get mad at people because you are better on computers, be helpful and tell them what they need to know so they can figure out hw to slowly become better on the pc or atleast play cube.

reply to this message

#2060: A beta...

by Aardappel|home|holland on 12/02/2003 23:10

Hi all,

I have a cube beta that I would like tested by a select few people. To qualify, you need to be on win32, hang out in #cube, and it would help if I know who you are. If the beta is ok, a real release should follow shortly after.

If you want to help, speak to me on #cube and I will give you the link. Be sure to read and follow the beta readme included in the archive.

Thanks :)

reply to this message

#2061: Re: A beta...

by Aardappel|home|holland on 12/02/2003 23:15, refers to #2060

Oh and, if you run a voodoo3 under linux, or you have one of those drivers that makes rockest blow up in your face (esp if its win32, recent driver, recent card, and you can be on #cube), let me know especially.

reply to this message

#2062: Re: A beta...

by Verbal-sefrsdghdfsh on 12/03/2003 03:35, refers to #2061

Linux?

reply to this message

#2063: Re: A beta...

by D.plomat on 12/03/2003 13:17, refers to #2060

I've a winXP on a laptop with a Radeon IGP 320M (Mobility U1). I have no C compiler on this platform, but if it's a binary release i'll test it with pleasure :)

reply to this message

#2064: Re: A beta...

by Bamse- on 12/03/2003 14:21

I will try to get a hold of u Aard. I would more than like to help out witht the testing!

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 plus 2 =


content by Aardappel & eihrul © 2001-2021
website by SleepwalkR © 2001-2021
42365667 visitors requested 58070642 pages
page created in 0.068 seconds using 9 queries
hosted by Boost Digital