master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 Woohoo! I fixed the error! It was one of the func_doors (either the hangar door or the one leading out of Luke's room. Link to comment Share on other sites More sharing options...
lassev Posted April 11, 2003 Share Posted April 11, 2003 Anything left of your map after all that deleting? Well, it's a good thing you did find the culprit. All the time spent looking for some stupid error is always time away from actual mapping. That's a pity. You should probably use areaportaling, even if your FPS keeps tolerable, just because it's a good practice. And also it makes battles more fluent, especially if you have lot of enemies. The most important thing to remember with areaportals is to make sure there's no other way around the areaportaled door, like windows or open corridors, or just plain detail brushes. I haven't myself followed that 1 unit thick rule. I have just made sure the portal is no thicker than the door, and is somewhat thin. They have worked so far, although I do have some portals, that do not work, but I can guess why. Correcting them would mean too much work with the surrounding architecture. Link to comment Share on other sites More sharing options...
master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 When I do find the exact door, I will continue trying to increase fps. The low fps would be because everything is one node, meaning everything is drawn at once. If an entire area is blocked off by structural brushes (and an areaportal or hint), the node is divided in two. Since a room surrounded by walls of structural brushes only with no gaps, which would break up the nodes, can only be penatrated by the teleporter. That is why we have those two shaders. If I separate the nodes between Luke's room and the hangar, I can't see the hangar with r_showtris 1 from Luke's Room, correct? Link to comment Share on other sites More sharing options...
master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 Here's a new question, Why areaportal and not hint? What's the difference? Link to comment Share on other sites More sharing options...
master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 I found the door that has caused me these problems! It was the hangar door and I wouldn't be surprised if it was too thin. Link to comment Share on other sites More sharing options...
lassev Posted April 11, 2003 Share Posted April 11, 2003 If I separate the nodes between Luke's room and the hangar, I can't see the hangar with r_showtris 1 from Luke's Room, correct? True. Why areaportal and not hint? What's the difference? Use areaportals only with doors or other entities like func_statics (this with a script command, as I said earlier). They are used for that, to split nodes with funcs. Don't use areaportals just by themselves in the middle of corridors, or you'll get the areaportal does not touch two areas error message. Use hint brushes all by themselves in corridor cornes. They don't need any funcs or anything to be inside of. Raven used in Kejím_post hint brushes in the middle of straight corridors like some invisible walls. They probably don't have any effect when used like that. So don't use Kejim_post as an example. Link to comment Share on other sites More sharing options...
master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 Sorry I didn't post about it yet, I had to leave for school 10 minutes after my last post. The areaportals are working! Lassev, I don't get it. If the hint brushes in those corridors had no purpose, why use them? Here's a question for my fellow SP mappers. Why haven't I seen any movies used in player-made maps? (except, of course, the DF mod demo. They had to use them for game accuracy) Link to comment Share on other sites More sharing options...
master_thomas Posted April 11, 2003 Author Share Posted April 11, 2003 New questions. This is, as you can see, an extremely long post. Why not just always use hints? They could have ommited an entire shader. If the areaportal/hint brush divides the nodes, meaning things in other nodes aren't drawn, how does the door work? As a guess, this is what the vis process handles, right? Why must my (and many other people's) maps start having all these errors at the end, when it is almost ridiculous to start over again? I understand AKPiggot's g_stringconfig error (frustrating error caused by too many sound lines and entities), but why does the culprit, which has been the same for three weeks wait to start a problem when I'm doing he final fps optimization? How do I get an fps display in SP? What is the console command? I really can't tell if it's improving. What are the exact placement specifications for area portals? (I know it can't be deeper than the door, but what about height and width? It would make sense if it touches the walls of the doorway, but isn't visible in radiant when the door is in the closed position. Is Massassi ever going to post the new levels? (it's down now) It's been awhile Why do companies bother with pop-ups if everyone hates them? I had a 4000 character post, explaining my future plans and some assets I'll need, but a pop-up caused my browser to crash before I could submit it. Now, to post that 4000 character post (brace yourself lol). ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ I will use these dashes to separate major parts. Double layered lines will be major breaks (I must organize this, since it's about four-thousand characters). ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ Story Plans WARNING: Spoilers, though they may change over time. Okay, I'm planning for a non-linear layout. Kyle does not find Jan at Bespin. The cry for help in #2 will be followed by a reborn cackle. After defeating a powerful dark jedi, Kyle returns to Yavin, where the imperials have been completely removed. Kyle feels very angry and frustrated and Luke suggests him to rest, starting level 3. In a dream world (new music and textures needed), you fight reborn and you see non-solid Jan models throughout (is search for Jan is constantly failing and whenever he gets close, hhe can't get her). You see a dark Kyle, who you must fight. If you win, you wake up and find Jan eventually after defeating the dark Jedi's master. If you lose, a cutscene will play and Kyle wakes up (scripted set playerteam enemy). You help the imperials conquer the Jedi Academy. Luke and Jan are nowhere in sight. Eventually, Jan and Luke are captured and the Sith lord tells you to kill them, but you refuse and musst battle him. You kill him, and fight the imperials away. The darkside and lightside levels will be distributed separately (the capture of the Academy is part of the dream level and the aftermath is next. I must trust the player to play the right one (or give him/her the freedom to play both). Reminds me of the descriptions (I've never played it) of JK1(only there are two possibilities, not a gradual decent to the darkside). Even though have non-linear plans, several details make it so it doesn't interfere with (a) sequel(s). 1. The New Republic and the Imperial remnant will remain intact. 2. Kyle will end up on the Republic's side in the end. 3. Jan, Luke, and Kyle will not get killed at all. 4. The Raven's Claw will not get destroyed. ------------------------------------------------------------------------------------ Required Assets Okay, I need many assets. Textures, shaders (fog, skies, liquids, etc.) sounds (mainly voice), models, skins, possibly CGI movies (though I certainly doubt it), menu objects (picture (I'm really not that good at making them), and maybe music. Suppliers will be thanked, mentioned in the credits, the level decriptions, readmes and possibly a cool effect I may do with shadows. Note: If you give voice files, please edit them with goldwave. These assets will be requested as I need them. Just a heads up. ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ Well, what do you think? As you can see, I have many, many, plans for this series. Kengo, and you thought I was ambitious before lol. More questions (I just thought of these now): Lassev, can you tell me two things? One, what is your average fps, and two, what script is missing? Has anyone other than Lassev, downloaded the level? Okay, 4937 characters. My new record! Link to comment Share on other sites More sharing options...
master_thomas Posted April 12, 2003 Author Share Posted April 12, 2003 Massassi is still down:(. I've learned that Areaportals should be as tall and wide as the doors, but not as deep (as I suspected). Link to comment Share on other sites More sharing options...
master_thomas Posted April 13, 2003 Author Share Posted April 13, 2003 Still having problems, probably from leaks (because of these, the nodes are rejoined at different areas via the void and so everything is still one node. I shall now tell you a tale of how this map has shaped me from an arrogant fool, who seriously underestimated the carnage of a simple leak. As I mapped, the new forms of gtkradiant cam out. They had working bsp monitoring, but I payed them now mind. This was my first work after JK2radiant, which automatically displays the pointfile and I thought gtk did too, so when it didn't appear, I thought I had no leaks. I was seriously mistaken. I downloaded the updates of gtk and eventually enabled bsp monitoring. After 20 compiles, ending abruptly with the map debugger stating the map is leaked, I gave up trying to fix them. I was foolish to do so. As I type, now, I am removing the hundreds of leaks, (it's that bad) and am not going to stop until they're all gone. Now I respect the awesome power and destruction of a leak. True story. What do you think? Do not pity me because I deserve this. Do not ridicule me because I am redeem-<excuses self to fix, yet, another leak> -ing myself right now. Link to comment Share on other sites More sharing options...
lassev Posted April 13, 2003 Share Posted April 13, 2003 If the hint brushes in those corridors had no purpose, why use them? Well, in theory they shouldn't have such an effect as intended (not that I would pretend to know what Raven had in mind). On the other hand, this is not my original idea, far from it, I just respread some wisdom I read once here in the forums. But as soon as you read some quality hint brush tutorial, you'll see it yourself. One, what is your average fps, and two, what script is missing? My average? Well, I quess it must be somewhere around 70 to 80. There's only one place in my maps, where FPS is a problem. It's a perfectly areaportaled hangar that has quite a bunch of STs and officers. FPS goes down to ~25 until you start thinning them out. The empty hangar has again around 75 fps. Needless to say, I was cautious when adding extra detail to that hangar (no mirror floors...). I can't remember the script name. It was the script that should launch when you break the elevator. When I broke it, I just got some very peculiar texture in the place where the elev was, but nothing happened and I couldn't go on to the hangar area. The consol just stated that script missing error. "cg_drawFPS 1" will draw the FPS. area portals?... but isn't visible in radiant when the door is in the closed position. Set the entities not to be shown, and you can see the area portal without the door disturbing (ctrl+shift+N, if I remember correctly). Link to comment Share on other sites More sharing options...
master_thomas Posted April 13, 2003 Author Share Posted April 13, 2003 Wahooooooo!!! I got every last leak! ( For full witness of my joy, imagine the climax of the 1812 overture in the background) Yeah, I have fps problems there too. I deleted all the non-func_static xwings and three ties (were they in beta2?). How do I areaportal the breakable? Is it done identically to the door? Also, Lassev, you never answered whether a hint could be used in the place of an areaportal (I know the other way around doesn't work) Anyway, I'm getting something weird. When I use r_showtris 1, the hangar is drawn (bad), but the pillar part of the columns (not the bottom cap) is not drawn. Link to comment Share on other sites More sharing options...
lassev Posted April 13, 2003 Share Posted April 13, 2003 whether a hint could be used in the place of an areaportal (I know the other way around doesn't work) Come on, why would you use hint brush where you can use areaportal? With areaportals you never have problems you couldn't trace to some sensible source. With hint brushes you never have even such a success that you could just copy it to some other place and still get it work. Hint brushes are only used, when there's no solid obstacle (be it an areaportaled door or just a stuctural wall) to separate too areas. However, you must have a non-linear connection between the rooms, preferably a corridor with either two 90 angles bends or one corner if the confronting, partial corridors are long enough, or a T-junction or something like that. How do I areaportal the breakable? Is it done identically to the door? Never tried that, but you might just put in the areaportal and then target the breakable to a scriptrunner with a script containing the adjust_areaportals command (or what ever, I don't remember anymore) plus those commands that are otherwise included in the script you forgot to include to the beta2. Link to comment Share on other sites More sharing options...
master_thomas Posted April 13, 2003 Author Share Posted April 13, 2003 The leaks were the problem (I think). Now, the nodes are divided and the fps is back up to a decent level. I just nead to delete some stormies. About the hint instead of areaportals, lassev, I was just curious. Link to comment Share on other sites More sharing options...
master_thomas Posted April 13, 2003 Author Share Posted April 13, 2003 Okay, new plans for attackonyavin2. Through the windows, I decided you should be able to see some tibanna gas platforms (as seen in Rogue Squadron 2:Rogue Leader). I'm working on them now. Link to comment Share on other sites More sharing options...
master_thomas Posted April 13, 2003 Author Share Posted April 13, 2003 Ummm, lassev? I have divided every room and my fps in the full hangar is still 5 (although it seems to run fine at 15, so I don't know if my fps counter is working properly). It is drawing 40,000 tris as I entered. No good. I'm going for 18,000 (lots of deletions), which is said in Rich's unseen tutorial (yeah, it hasn't been uploaded on the site, so the links don't work, but here it is. Two tutorials from 230 exist so far. Darth Berserker found the URL). Here it is Hit next lesson and there is one on hints, though it doesn't look complete. The rest don't exist yet. Link to comment Share on other sites More sharing options...
Leslie Judge Posted April 13, 2003 Share Posted April 13, 2003 Here is a very good explanation: http://www.nibsworld.com/rtcw/tutorial_detail_and_hint_brushes_part1.shtml The 2nd part is about hint brushes but good to read the 1st too. Link to comment Share on other sites More sharing options...
master_thomas Posted April 14, 2003 Author Share Posted April 14, 2003 I've got good news and bad news. I got the fps good even when all the NPCs are there. Bad news is, the hangar seems too empty now. Any suggestions that will allow me to keep a good fps with good room detail? (it is a large room with 5 Xwings, 1 tie, 2 stormies, 2 rebels, 4 jedi, and 4 reborn.) Link to comment Share on other sites More sharing options...
wedge2211 Posted April 14, 2003 Share Posted April 14, 2003 Unfortunately, you don't have a lot of flexibility optimizing large areas. Maybe JA will do better at that, we can only hope. I ran into this sort of problem on City of the Ancients, which was essentially one big area. Not much you can do but try to split it up as much as you can, and then when you can't, make sure anything in there that isn't a necessary wall is detail, there aren't lots of random effects, and cross your fingers. Link to comment Share on other sites More sharing options...
lassev Posted April 14, 2003 Share Posted April 14, 2003 Have you blocked the previous room from the hangar not to be drawn. It is this connection where you have that func_breakable, I believe? If that hole between the hangar and the previous room with the lift you have to break is not blocked, it will most certainly rob you a good deal of fps. Also, you could make some, let's say 6 or 8-sided columns instead of cylinders, to save a couple of fps and to fill the space. And make sure your little outdoor area behind the big hangar doors is not drawn, when the fighting commences. Yet, in the end, it is undoubtly due to the large amount of saber wielders. I have no doubt they reserve a good deal of computing power with their "advanced" AI. Even simple STs do have their effect as my own map has proved time after time to me (or maybe it is just the drawing of the complicated human models, who knows...). Link to comment Share on other sites More sharing options...
master_thomas Posted April 14, 2003 Author Share Posted April 14, 2003 Yet, in the end, it is undoubtly due to the large amount of saber wielders That will do it. I can take out 2 jedi and 2 reborn and put 4 stormies and 4 rebels (to take up more space) Then, I will delete the tie and an X wing. Models are always a large number of usually unnecessary triangles. The little outside area could be a problem with the tree models and the gtkgensurf-made ridges. Maybe that's not being blocked off, causing a problem (I hope). I'll look for my highest triangle count and use that to judge what I can add, keep, or what I must drop. Link to comment Share on other sites More sharing options...
lassev Posted April 14, 2003 Share Posted April 14, 2003 Some people have noted that static .md3 models do not stress the engine as much as one would think otherwise. However, I cannot really say, if that's true or not. This thread is certainly a good way to gain posts and points. I'm not anymore a pesky Ewok. Still, I have a long way to go to get a glowing name. Perhaps I should also post a few new screenshots. Some day. MOO3 and Freelancer have had a most disturbing effect on my mapping efficiency. But after all, I have only one room to map anymore. Then some cinematics scripting, some sound effects and voila! And voice acting by some gracious person... Link to comment Share on other sites More sharing options...
wedge2211 Posted April 14, 2003 Share Posted April 14, 2003 Have you used r_showtris 1? It will reveal any area that the engine is drawing. Usually, if you have low FPS, you either have an uber-detailed map or the engine is going to its knees drawing unseen areas, like if you had forgotten an areaportal or something. Link to comment Share on other sites More sharing options...
Kengo Posted April 14, 2003 Share Posted April 14, 2003 Originally posted by lassev This thread is certainly a good way to gain posts and points. I'm not anymore a pesky Ewok. Still, I have a long way to go to get a glowing name. Perhaps I should also post a few new screenshots. Some day. MOO3 and Freelancer have had a most disturbing effect on my mapping efficiency. But after all, I have only one room to map anymore. Then some cinematics scripting, some sound effects and voila! And voice acting by some gracious person... Looks like you only need a few more points, you want me to donate the remaining number you need to reach 300? I'd really love to see your finished project as well as this topic's one! I can get ya in contact with a few good voice actors who worked on Ocupation if you want, I'm sure they'd be happy of some more work Link to comment Share on other sites More sharing options...
master_thomas Posted April 14, 2003 Author Share Posted April 14, 2003 Sorry, Kengo, I already donated to Lassev (gotta give thanks to Lassev for helping to teach me how to use areaportals and hint brushes). Lassev, let this attractive glow, uhhhhh, well, be attractive. Pick the color wisely. Wedge, I have been using r_showtris 1 and every room is separate from every other room. The fps is okay now, but I need to add detail because in the process, I deleted many X wings. I'll just put lots of debris on the ground (if 12 triangles per rectangular brush, this should work out nicely). Edit: Ooops, I forgot to mention: Massassi is up again, but still hasn't been updated . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.