home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Your problems are solved!!!

by L. Tempris on 08/01/2008 20:24, 52 messages, last message: 08/19/2009 19:08, 17941 views, last view: 05/18/2024 16:24, closed on 08/20/2009 10:07

Heres how this goes. Once we solve a problem then we go to the next one. OK. Here is my idea:

People of Sauerbraten have asked about molding glass. I have figured out how to do so.

If we could make a cube transparent
then we could texture it blue
then mold it and give that texture a reflectiveness

then it would be just like glass but molded!

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: legs

by L. Tempris on 08/01/2008 20:26

On the topic of legs we could put an entity as such under neath the player in first person to were when you look down there are the legs!

reply to this message

#2: Breakable Glass

by L. Tempris on 08/01/2008 20:29

If we want breakable glass the we would need the have something in the .cfg file to stat that.

Maybe a model of glass and set it as a breakable model?

But that would lead to all kinds of glass models...

reply to this message

#3: Dynamic shadows

by L. Tempris on 08/01/2008 20:30

We have all seen games with dynamic shadows before so why cant we do the same?

reply to this message

#4: ..

by Q009 on 08/01/2008 20:35

lol

reply to this message

#5: ..

by SheeEttin on 08/01/2008 20:50

Well, post the patch for the problems you've solved, and as you say, we'll go on to the next one(s).

reply to this message

#6: ummm

by fhjksdconorfhdsjk on 08/01/2008 20:54

This is how they do it in BloodFrontier, it isn't anything new. You can't make the "glass" partly transparent.

reply to this message

#7: kool

by $k!llz on 08/01/2008 23:46

kool Thanks for reading my sauer improvement thread

It would be gnarly, even tubular if there was at least some kind of turret and vehicle or something.

I am trying to make a gravity variable so u could go like /gravity 50 or something.

I am also trying to make motion blur which
is way over my head but i wont stop until it is done.

reply to this message

#8: ..

by Hirato Kirata on 08/02/2008 03:26

glass already is transparent!

molded geometry can already be made to reflect stuff, though transparency is another matter, I mean, what if there's nothing but HoMs and skybox beyond the cube
they can be made to reflect stuff with the envworld and bumpenv*world shaders, and perhaps tweaking pixel param 0 or 3 to alter the RGB values of the reflection.


there already is dynamic shadows too, keep in mind that shadowmaps take precedence as dynshadows are ugly. you can tweak them with /dynshadow [opacity %]

now skillz, vehicles. you should perhaps look at sauermod's kart mode for an idea, I think you'll realise it's way over your head if you can't even make a gravity variable, which is one simple line of code in physics.cpp.

I think you'll also realise that adding variables like gravity, jumpvel and movespeed require quite a lot of work to immunise against cheating, which is usually not a very nice task, and considering the openness of the engine, those who are interested in cheating could remove this protection relatively easily.

~Hirato Kirata

reply to this message

#9: zooming in

by SomeGuy on 08/02/2008 03:57

i've been trying to bind right-click so that when i hold it, it zooms in, and when i let go, it zooms out, i have however found the bind for this:
/bind MOUSE2 [togglezoom; onrelease [togglezom]]
however, when i die while zooming in, it gets reversed! is there a way to stop it form reversing without having to use zoom 0 as the onrelease command, because i find the togglezoom more comfortable and smooth or something like that.

reply to this message

#10: Re: ..

by $k!llz on 08/02/2008 04:23, refers to #8

wif i know how to make gravity variable
VARP(GRAVITY, 0, 200, 1000,)

but i just donr know how you can go /gravity 23 and it changes gravity

reply to this message

#11: turrets

by hfdjksconorfhdsjk on 08/02/2008 04:52

I would love turrets in Sauerbraten, as they don't require as much code as vehicles and they don't have any physics. They would just make it go thirdperson and prevent you from moving. Essentially it is just a gun that puts you into third person.

reply to this message

#12: Re: ..

by Hirato Kirata on 08/02/2008 05:35, refers to #10

I don't suppose you tried to be case sensitive then :P ie, type /GRAVITY 23 ingame :P

reply to this message

#13: Re: ..

by scanf on 08/02/2008 06:16, refers to #12

roflol

reply to this message

#14: Other maters...

by L. Tempris on 08/02/2008 14:49

Is there a way to make cubes transparent and if so how could this be done to only certain cubes.

Do i need to take code from the glass code and put it into something like the .cfg file and put it as to be like the envworld feature and have certain textures see through then one way windows would work too.

reply to this message

#15: Re: ..

by L. Tempris on 08/02/2008 14:53, refers to #8

what if there's nothing but HoMs and skybox beyond the cube
-posted by~Hirato Kirata

reply:

Then again you could choose what cubes you want and don't want to have such features. *_*

reply to this message

#16: Stationary guns:

by L. Tempris on 08/02/2008 14:57

On the topic of that, all thats needed are some animations and something to put the character in that seat or grab the gun.

You could have that timed to have an overheat feature were the gun heats red hot and has to cool before firing can begin again.

Also, check out the glass feature with Sauerbraten. because I have noticed that the grenade launcher can shoot through the glass. NOT Cool!

reply to this message

#17: Re: turrets

by CC_machine#928346198 on 08/02/2008 16:36, refers to #11

i'd also really appreciate an automated turret that shoots at the player and/or monsters, should be easy to code.

reply to this message

#18: Re: turrets

by SheeEttin on 08/02/2008 16:38, refers to #17

Yeah. Just take a Rhino, jack up its rate of fire, and stick it on the turret model, and there you go.

reply to this message

#19: Re: turrets

by tentus_ on 08/02/2008 18:39, refers to #18

Don't get me wrong, I would love to have turrets in Sauerbraten. But let's stop one second and think about what the natural result of turrets will be.

"You've got turrets, it can't be that much more to have vehicles! Gimme gimme gimme!"

... I suspect that the moment turrets exist, the number of requests for vehicles will spike enormously. This is a good example the "better to have no fruit than just a bite of one" situation, one that we've run into with glass and water materials... it'd almost be better not to have glass at all, because people naturally want the ability to sculpt it.

reply to this message

#20: Re: turrets

by scanf on 08/02/2008 19:35, refers to #19

I'm actually working on a vehicle mod. It's a ways off and I'm currently only working on SP mod. I'd need some help from the devs for MP games. I should have a something to show in the next few weeks.

As for the turrets it would be easy to take the vehicle code and create a turret class. Each ent has a model for the vehicle and a movable weapon. i.e. if the vehicle was a tank the turret would rotate freely from the vehicle.

I don't want to focus on turrets right now as I've got a lot of work to do for the vehicles. Having said that I may hack up the class and create a second turret class that would be cleaner and easier to get into the next SB version.

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Thread closed!

This thread has been closed, which is why you can't post any more messages in it.


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54039062 visitors requested 71819701 pages
page created in 0.069 seconds using 9 queries
hosted by Boost Digital