Problem with collsion

Ask questions, discuss ideas, get answers
Post Reply
dheathcote
Posts: 2
Joined: Fri Dec 11, 2009 12:33 am

Problem with collsion

Post by dheathcote »

I have the following code

Code: Select all

ObjectTemplate.create ObjectSpawner FighterSpawner
ObjectTemplate.setObjectTemplate 2 Stationary_browning
ObjectTemplate.setObjectTemplate 1 Stationary_browning
ObjectTemplate.MinSpawnDelay 50
ObjectTemplate.MaxSpawnDelay 100
ObjectTemplate.SpawnDelayAtStart 30
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 0
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.CreatNotInGrid 0
ObjectTemplate.setTeam 1
ObjectTemplate.active KnifeAxis
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.velocity 100

ObjectTemplate.Active KnifeProjectile
ObjectTemplate.addTemplate FighterSpawner
ObjectTemplate.SetPosition 0/0/5

ObjectTemplate.Active stationary_browning
ObjectTemplate.addTemplate eu_church_M1 
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.SetRotation 0.00/0.00/0.00
When i use the knife it successfully spawns the browning with the church attached, but when i try to interact with the church i go straight through it, how would i solve this problem.

Additional information
I tryed using a mediclocker and it could collide with it.
I tryed a house and i could walk through the walls but not the stuff inside
I tryed with a bunker and the ladder was the only bit i could interact with
The map is Omaha Beach
Gamemode TDM
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Problem with collsion

Post by freddy »

the church is a static object and has no network value, if you add it ingame after the game already started the server doesnt know its there and you cant interact with it
User avatar
No-Half-Measures
Posts: 11
Joined: Fri Dec 11, 2009 12:34 am
Location: UK
Contact:

Re: Problem with collsion

Post by No-Half-Measures »

freddy wrote:the church is a static object and has no network value, if you add it ingame after the game already started the server doesnt know its there and you cant interact with it
So if he adds the object into the map in the staticobject.con it would work due to it has loaded the object into the game so its network value has been built.

EDIT:

Ok i tested it out i added a object to it thats allready on the map load, it didn't work =/ but like you said the objects (part of the bundle) inside it are collidable.... surely if it doesnt do the house collision it wouldn't do the obeject inside collidable so whats going on?
Image
Image
dheathcote
Posts: 2
Joined: Fri Dec 11, 2009 12:33 am

Re: Problem with collsion

Post by dheathcote »

yer i got the same as nhm
User avatar
Dennis|8749236
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth
Contact:

Re: Problem with collsion

Post by Dennis|8749236 »

i got another collsion problem on my V1 Missiles, but the reason is the standardmesh...
What is the meaning of Life?? (Don't think about it!)
Post Reply