Page 1 of 1

Question about level editing

Posted: Fri Jun 22, 2007 3:20 am
by Ryan
I have completly forgotten how to cut a door out of two cubes that are butted up against eachother. I remember seeing a tut around here on how todo that, anybod remember where that is, or could simply tell me how to do it?

Posted: Fri Jun 22, 2007 4:27 am
by Spyrewolf
dude if your refering to the cut brush tute, steer clear!!!,

cut brushes eat frames for breakfast!

create all the brushes individually, this is the most sound way of doing it, if your like me and hate spending time placing all the brushes try find worldcraft, (hammer editor) for carving you have much more controll with those and they don't lagg your game out. this works t he same way as the cut brush but works alot better.

Posted: Fri Jun 22, 2007 4:43 am
by Ryan
This is what i mean

Image

I want to cut this section out so i can go from one room to the other.

Posted: Fri Jun 22, 2007 5:55 am
by Jaguar_jwg
Yes, and that's what Spyrewolf means too. He is saying, Rather than placing two rooms side by side, and then cutting an opening that leads from one to the other. Create the walls of each room individually. So rather than using a hollow cube, for a room, use a solid block to build the walls of each side of the room (like building a room with concrete slabs). When you get to the side with the door, you create a solid brush on each side of the 'doorway', and one on the top, which would complete an opening or doorway. Then just build on the other walls to connect the next room. I hope I haven't confused you.
Here is something you might consider. I used the sphere brush to build a lamp. I ran the game and checked the framerate. I then built the lamp in my modeller and used it as an actor (StaticMesh) in place of the sphere brush. The framerate was better. I tested it with a some square buildings I built as actors (about 25), and from what I see, using actors seem to have a better framerate. I plan to build a level in a modeller and see how it works. Your character can stiil walk through the building, collide with walls, jump through windows, and go through doors. All you have to do is set the ColCheckLevel of the StaticMesh to 2. I think you should give it a try.

Posted: Fri Jun 22, 2007 6:25 am
by Ryan
You hav'nt confused me at all. i understand perfectly now what i should do. Thanks!

Also, Where can i find what everything in the static mesh entity means? And one last question, i have a new wepon act that i put in the game for my chracter, but the gun is in between the actors legs and nowhere near the hands. it is'nt even in view in 1st person mode. How would i realine the wepon actor so i can see it in 1st person mode?

Cheers!

Posted: Fri Jun 22, 2007 6:36 pm
by Ryan
anybody...... hehe

Posted: Fri Jun 22, 2007 8:18 pm
by darksmaster923
you didnt add a correct skeleton for the weapons.
For the Third person weapn = give the weapon the same skeleton as the player character and assigned the vertices where u want the gun to be
For the First person weapon = you can make a completely new skeleton and anims but you HAVE to change the weapon.ini accordingly.

Posted: Sat Jun 23, 2007 8:24 am
by Jaguar_jwg
You can find information on all the entities, including StaticMesh in the RF_Manual_v0.75A.pdf file. The m3drf.pdf is also helpful. Also this site has some examples: http://www.cse.cuhk.edu.hk/~csc7280/lecture/lecture.htm, and there are a few more helpful ones somewhere, but I can't remember where.

Posted: Wed Jun 27, 2007 5:57 am
by Jaguar_jwg
I tested using an actor to create my level, and there is a disadvantage. The lighting isn't good. My building is dark, and although I use a light, it's not much help. Using fill color doesn't give a good effect. So maybe my idea wasn't such a good idea after all.