Re: func_ entities?
Posted by radnad72 on
Sat Nov 20th 2004 at 9:32pm
14 posts
1 snarkmarks
Registered:
Nov 20th 2004
Well after reading that tutorial on source physics, i can get all sorts of random things in my little cube like crates etc., but i can't seem to find the entities such as func_physbox to create brushes affected by physics and func_breakable for brushes that can be damaged etc.
These sound the most interesting parts as they add the most flexibility as opposed to just pre-made items to break/move. Anybody know why i can't see them in the entity list? Help would be most appreciated. :biggrin:
Thanks
Re: func_ entities?
Posted by Neural Scan on
Sat Nov 20th 2004 at 11:34pm
Posted
2004-11-20 11:34pm
150 posts
85 snarkmarks
Registered:
Jun 28th 2003
Occupation: Student
Location: England.
The problem is you're looking for a func_physbox point entity. Func_ entities are applied to brushes.
So first of all, create your brush, like a crate or metal bar or something. Then right click it and select 'Tie to Entity'. This will bring up an entity dialog thing, and you can choose which entity you want from a drop-down menu. So select func_physbox or whatever and set up the values :smile:
Hope this helps. Remember, create the brush and then tie to entity.
Re: func_ entities?
Posted by CuC on
Sun Nov 21st 2004 at 2:09am
11 posts
1 snarkmarks
Registered:
Nov 14th 2004
Location: UK
If you're looking for the oildrums (for example) create an entity with the icon that looks like an i and change the entity to prop_physics.
After the entity cube appears on the map, go into it's properties and select World Model. Browse, and find the folder called props_c17, in there should be a file called oildrum001.jpg. Select that and the cube on the map will change to an oildrum.
That should be all you need to do.
Compile the map and play it. Shoot the barrel and it will fall over and roll or whatever you have done to it
Re: func_ entities?
Posted by radnad72 on
Sun Nov 21st 2004 at 10:20pm
Posted
2004-11-21 10:20pm
14 posts
1 snarkmarks
Registered:
Nov 20th 2004
Wow thanks alot Neural Scan. I could see that i would have to design the shape first but i couldn't find anyway to convert a brush to an entity. It all suddenly makes sense, thanks alot!
CuC, i knew how to make the oildrum already just by following the guide, but i am having a bit of trouble getting other items into my map. I have got glass bottles and cement blocks but most things i try just don't show up when i load the map. I think it's cause those items don't work as a prop_physics but i'm not sure. Thanks anyway!
Re: func_ entities?
Posted by CuC on
Sun Nov 21st 2004 at 11:09pm
Posted
2004-11-21 11:09pm
11 posts
1 snarkmarks
Registered:
Nov 14th 2004
Location: UK
If they don't load using prop_physics, try prop_static although that will not enable the model to move :sad:
Re: func_ entities?
Posted by RabidMonkey777 on
Sun Nov 21st 2004 at 11:12pm
Posted
2004-11-21 11:12pm
207 posts
603 snarkmarks
Registered:
Jul 9th 2004
Location: Denver, Colorado, USA
The only cause of them not loading with prop_physics is when the model contains no physics data for the game to use - You can't place a gigantic tree with a prop_physics, for example.
Most of the 'Junk' models like glass bottles and cement blocks have physics data - So they should work with the prop_physics entity. Make sure they aren't stuck in a world brush or something.
Re: func_ entities?
Posted by ReNo on
Sun Nov 21st 2004 at 11:28pm
Posted
2004-11-21 11:28pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Make sure you haven't touched the resizable circles that can be dragged
out from the centre of the prop_ entities, as these have been known to
stop the objects being rendered for some reason. I don't know what they
are for at the moment, hopefully the documentation will shed some light
when I get round to reading more.
Re: func_ entities?
Posted by CPS on
Mon Nov 22nd 2004 at 12:35am
Posted
2004-11-22 12:35am
CPS
member
60 posts
6 snarkmarks
Registered:
Nov 21st 2004
Location: USA
I assumed that those circles were something like center of gravity, but I have not fooled around with them.
Re: func_ entities?
Posted by ReNo on
Mon Nov 22nd 2004 at 12:59am
Posted
2004-11-22 12:59am
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
I marked Neural Scan's answer as correct, due to the fact the thread starter himself acknowledged it solved his problem.
Re: func_ entities?
Posted by Campaignjunkie on
Mon Nov 22nd 2004 at 1:11am
1309 posts
329 snarkmarks
Registered:
Feb 12th 2002
Occupation: Student
Location: West Coast, USA
The "circle / spheres" affect the "Fademindist" property of the prop_
entity (it tells you in the bottom status bar). That radius determines
how close you have to be to see the prop. You can just go to the
Properties dialog and change it back to zero if you accidentally
enlarge it. I've done that a few times too, heh, and wondered why my
barrels weren't rendering.
Re: func_ entities?
Posted by Nanodeath on
Mon Nov 22nd 2004 at 2:55am
356 posts
66 snarkmarks
Registered:
Nov 11th 2004
Occupation: Student - Bioengineering
Location: Seattle, WA, USA
Thanks Campaignjunkie...despite that being relatively obvious (right on the screen when you edit it), I'd never noticed that! Very handy, I appreciate it.