Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
1 Active | 94 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
Author Topic: CoD4 solid script_model spawned
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 12:22 am
Well I'm still going with it:

hil400_crate = some wierd dodgy collision

There are lots of crate models though - Getting each one in radiant so I know what it looks like then putting it in script if it's similar.

edited on Mar. 17, 2010 08:28 pm by techno2sl

The hill 400 crate if I remember rightly was used to block a bunker entrance in the SP level right?

It has a very wierd collision on it which is bumpy [lol]
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 12:54 am
OK Numerous models later and so far only the hill400_crate works, but it appears to spawn a solid cylinder at it's centre and not collision representative of the crate.

So what's going on in the videos? Why didn't you mention that only this crate works? Why in the video does the crate appear to have more collision than mine have?

I feel so out of the loop.

edited on Mar. 17, 2010 09:13 pm by techno2sl

Locking this until probably 10am GMT tomorrow. (18th)

As I need sleep and this could get heated over night. If another mod comes online they may choose to unlock it, we just don't want a flame war kicking off without the fire brigade around.
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 09:56 am
I did some testing of my own... it's legit to a certain degree. Basically, the model must have LOD collision... Some stock models have it, some do not. The xmodel exporter shows which ones do and don't. The collision is spawned at the origin of the model, and is only a few units wide... it does not reflect the actual shape of the model... its more just a sphere or something.

Anyway I made a vid testing some models in mp_broadcast.

First is a custom model, the 'predator forcefield' from my mod... which has LOD collision. Second is a Mig29, which is a stock model, having LOD collision. Third is a toilet, which is also a stock model, NOT having LOD collision.

The ones with LOD collision DO spawn a bit of collision at the origin, but that's it.

http://www.xfire.com/video/25029c/
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 10:07 am
DemonSeed writes...
Quote:
Interesting that neither Brax nor MattY have shown us this on a stock map with a stock model.

Also pluXy spawned solid model, now i have tried turret with stock map and it was working.

Also 90% of cod4 models doesn't have high collision lod, that means you need to recompile model to make setcontents() working. Thats why most models are clipped on stock cod4 maps.
Demon we aren't talking about 2007 year, and there is now decompiler for models.

DemonSeed writes...
Quote:
I'll repeat - this whole thread started off with Brax claiming you could dynamically spawn a model - ANY model - and make it solid.
When i said "you could dynamically spawn a model - ANY model - and make it solid" ? You wasn't reading my post.
BraX writes...
Quote:
1. Make sure your custom model got HIGH COLLISION LOD.
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 10:24 am
BraX writes...
Quote:

Also pluXy spawned solid model, now i have tried turret with stock map and it was working.

Also 90% of cod4 models doesn't have high collision lod, that means you need to recompile model to make setcontents() working. Thats why most models are clipped on stock cod4 maps.
Demon we aren't talking about 2007 year, and there is now decompiler for models.


Should have told us the model name Brax, probably would have shortened this topic to about 3 pages.

It's bizarre that any stock models would have high coll lod apart from maybe a giant crane. Such small crates I would have thought would be problematic. For instance lots of levels in CODWAW hit the max model limits and it has to calculate which one not to draw which uses up valuable CPU power but if you added just one of these crates to any maxed out area it would affect ALL maxed out portal zones.
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 10:57 am
I dont believe this is to do with drawing lod.... its the 'bullet collision lod' option in asset manager... but then again.. i dont know why that would have any effect on the model having physical collision..

Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 11:50 am
_INSANE_ writes...
Quote:
I dont believe this is to do with drawing lod....
I was talking about high collision lod and thats diference.
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 12:31 pm
Exactly... i'm not against you.. im saying, yes, the function does spawn collision.. but just a little.. if you spawn a bigger model, that collision will still stay the same size... just a few units. There will be what seems like collision on smaller models, and some people may be able to get by on that, but not with larger models. I've already tested that, and with that said i'm done talking about this. [wink]
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 02:11 pm
Hmm, so by the looks of it, BraX is using the tiny little sphere at the origin of the model as dynamic player collision, I guess this won't work well with large models then.
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Mar. 18, 2010 03:57 pm
.KiLL3R. writes...
Quote:
Hmm, so by the looks of it, BraX is using the tiny little sphere at the origin of the model as dynamic player collision, I guess this won't work well with large models then.


Ye, it its a collision box 24x24x16 i think, its good for small models, ex. turret.
Share |
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»