07 Apr 11, 12:39AM
Water at lowest subdivision with no movement can't be that hard to render...
Ideas
|
07 Apr 11, 12:39AM
Water at lowest subdivision with no movement can't be that hard to render...
07 Apr 11, 12:44AM
The point is that you couldn't use them as cubes. They would all be at the same level if you used the water functions. I'm guessing you haven't done much mapping :P Go into a noob map and type /waterlevel 100 (in edit mode single player).
07 Apr 11, 12:44AM
Oh StRaTo, tell me about it.
07 Apr 11, 12:47AM
I'm not talking about using water as cubes, I'm talking about writing some code that lets you use the same part of the engine that renders the water to make translucent cubes.
Of course, I'm probably the wrong person to say what's not hard to render, lol.
07 Apr 11, 12:58AM
There is a transparent texture, you just can't see it
07 Apr 11, 01:35AM
There's no need to copy any part of the water.cpp code.
When polygons are rendered they are generated via various methods. One such method is by using triangles. You make a call to glBegin(GL_TRIANGLES). This is followed by glColor3x(r, g, b) in the case of opaque polygons. Then vertices are generated by making three calls to glVertex3x(), one for each vertex. The three vertices form one opaque triangle. Making a transparent polygon is very simple. There are different methods for doing so but the following is the method I use most commonly[And the method AC uses IIRC]: [SELECT ALL] Code: glEnable (GL_BLEND); ^ Those two lines are used to "enable" transparency. Then when I want to render a transparent triangle, instead of calling glColor3x(r, g, b), I call glColor4x(r, g, b, alpha). AC's engine has support for calls to glColor4x(). In fact, calls are made glColor4f() in the source for such things as HUD features. The difficulty behind transparent cubes is it is not as simple as changing glColor3x() to glColor4x() whenever you want to. You have to think about the order in which the geometry is rendered. Think about this: water is reflective in AC. If you render the water before the cubes it is supposed to reflect, the water will not reflect anything. You must render the cubes before the water. A similar nuance arises when rendering transparency with the above method; you must render the polygons behind the transparent surface first because the transparent polygons use source alpha to calculate the proper color for each pixel. The reason I mentioned transparent clips are the most likely solution is because clip entities are rendered after the cubes AFAIK. If the clip is transparent it shouldn't cause any problems; the cubes in the map were rendered earlier.
07 Apr 11, 03:21AM
I saw the the transparent texture once.
It got scared and ran away....
08 Apr 11, 08:46AM
AC forum is a troll lair and the comunity is fictional. There is no point in sharing anything with it, joining it is an error.
08 Apr 11, 08:51AM
08 Apr 11, 01:07PM
I know MP3's not going to happen, but FLAC support would be nice.
08 Apr 11, 03:39PM
Avoiding any of the specific maps you didnt like
example : -A*gema* -A*twintowers*
You could make scripts for those.
In single-player, the default scripts can be edited to redirect when attempting to load the "offending" mode. In multi-player, something as simple as [SELECT ALL] Code: addcheck_msa [if (|| (= (curmode) 5) (strstr (curmap) gema)) [disconnect] []]
09 Apr 11, 01:20AM
V-Man, -A is the server switch to block that map/mode from being played on your server.
I think Bugboy was wanting wildcard support. F1
09 Apr 11, 01:27AM
(This post was last modified: 09 Apr 11, 01:28AM by OpenSource.)
(08 Apr 11, 01:07PM)StRaTo Wrote: I know MP3's not going to happen, but FLAC support would be nice.IMHO FLAC is will make the download to big. I do agree that FLAC wound be good, but it would also make the game a lot bigger. Edit: If you arent talking about us (client side) adding FLAC sound our self. That would make it a big F1.
09 Apr 11, 01:32AM
I think he's talking about adding FLAC audio support for both sounds/music, tbh I could only see it becoming useful (due to the rather large sizes) for those wanting to add custom music in-game via script.
I could see it happening assuming implementing it would not add a large amount to the package/dependencies.
.ogg and .wave is fine and FLAC in 2x bigger than a .wave.
The audio package is around 15.9Mb , with .FLAC it will be around 25-30Mb and the AC size will become around 65Mb...
09 Apr 11, 01:42AM
Yes the game it self will get to big with FLAC sounds, but the support so we (players/clients) can add it our self would be good.
You got okey sound system you hear the difference.
09 Apr 11, 01:49AM
Autoscreenshot should not take screenshots when demos are finished.
09 Apr 11, 03:20AM
weapons drop shells, cube2 has a mod called red eclipse, where weapons release shells.
maybe, possibel is something similar in assault cube, and this option could be toggled in the game options. red eclipse are open source, maybe, could someone take a look at the code of the game and see if it is possible to add something similar to assault cube. thanks
09 Apr 11, 09:09AM
(This post was last modified: 09 Apr 11, 10:35AM by eftertanke.)
Autoscreenshots have also been taking screens at odd times for me, not just at the end of demos.
A few examples. EDIT: It would be nice to be able to turn on HUD gun display when spectating. You could do some cool video editing effects for example. Though it's not essential to the gameplay. It also would be nice in general to have separate HUD settings for spectating.
I wasn't talking about converting all the sounds to FLAC, I was talking about adding support for FLAC files so that we can use our own music and stuff in the game. FLAC's an open-source codec (It stands for "Free Lossless Audio Codec, funnily enough), so it shouldn't be that hard to add support.
@.ExodusS*: Where are you getting these figures from? I thought a FLAC was half the size of the same file in uncompressed .wav format. @wolfbr: Dropping shells would be pretty pointless, considering that none of the weapon animations contain shell ejection.
10 Apr 11, 02:06AM
10 Apr 11, 02:19AM
10 Apr 11, 02:54AM
10 Apr 11, 03:03AM
no, i talk about "true" drop shells(like the most fps), not only weapons animations(like 007-64 or classic wolfestein/doom's shotgun). you can see it in red eclipse.
see it> http://www.youtube.com/watch?v=mjHVb3z72tM 0:13 secs , 0:28 secs, 0:32 secs see the shells : D.. yes, ragdolls and blood are good to : ) please, matrix wallwalk for AC, lol.
10 Apr 11, 08:06PM
No, I don't think you get what I mean... Why should there be shells falling to the ground if there's none flying out of the gun? I know some of a_slow_old_man's mods have shell ejection animations, but they're not part of the official release, so it would be silly to add things to the game based around them.
I'd like to see the spectator camera be able to be controlled indepently of /gamespeed, /paused, etc, for example so you can move your camera around a frozen or slowed down scene at a constant speed.
EDIT: FFUUUU i posted this already two pages ago. Also, F1 to showing the gun during spectate. It would make the creation of montages and other AC videos a lot easier!
^ again? lol. But both would definitely help with montages.
edit: currently I have to bind keys to change gamespeed so i can get in the right position lol... |
« Next Oldest | Next Newest »
|