Why the Homing code from DCX will crash everything down?
- Dennis|8749236
- Posts: 239
- Joined: Sun Nov 29, 2009 6:02 am
- Location: Earth
- Contact:
Why the Homing code from DCX will crash everything down?
I moved the DCX code into a new mod, and i add it to a rocket, the rocket is a AA Weapon, and, after i fired it, when it get close to a vehicle, it will smash on that object(it is a moving object) and make it explode..
how do i solve this problem?
how do i solve this problem?
Last edited by Dennis|8749236 on Fri Mar 25, 2011 1:41 pm, edited 1 time in total.
What is the meaning of Life?? (Don't think about it!)
Re: Why the Homing code from DCX will crash everything down?
Uh ... you are firing a rocket at a vehicle and you don't want the rocket to explode?
What are you asking?
What are you asking?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Why the Homing code from DCX will crash everything down?
You mean ObjectTemplate.explodeNearEnemyDistance? Look at the Flak38_Projectile.
- Dennis|8749236
- Posts: 239
- Joined: Sun Nov 29, 2009 6:02 am
- Location: Earth
- Contact:
Re: Why the Homing code from DCX will crash everything down?
If i fired it on a mobile vehicle, i will die after i fired it..
when the rocket get close to another moving vehicle, it will smash that vehicle first (just like u smash a plane into ground) and then explode...
it will not count into my score..
when the rocket get close to another moving vehicle, it will smash that vehicle first (just like u smash a plane into ground) and then explode...
it will not count into my score..
What is the meaning of Life?? (Don't think about it!)
Re: Why the Homing code from DCX will crash everything down?
The only help I can give you: Look at the Wasserfall rocket in SWoWWII.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Dennis|8749236
- Posts: 239
- Joined: Sun Nov 29, 2009 6:02 am
- Location: Earth
- Contact:
Re: Why the Homing code from DCX will crash everything down?
That rocket is not a PCO..
What is the meaning of Life?? (Don't think about it!)
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Why the Homing code from DCX will crash everything down?
Uhm....yes it is a PCO....Have you even looked at the code for it? (PCO = PlayerControlObject)



I have cameras in your head!
- Dennis|8749236
- Posts: 239
- Joined: Sun Nov 29, 2009 6:02 am
- Location: Earth
- Contact:
Re: Why the Homing code from DCX will crash everything down?
i mean my rocket is not a PCO..
Wasserfall is..
Wasserfall is..
What is the meaning of Life?? (Don't think about it!)
Re: Why the Homing code from DCX will crash everything down?
Two things I want to say:
1 - Homing missiles do not work in BF1942.
2 - Your rocket needs to be a PCO, if I understand the situation correctly.
1 - Homing missiles do not work in BF1942.
2 - Your rocket needs to be a PCO, if I understand the situation correctly.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Dennis|8749236
- Posts: 239
- Joined: Sun Nov 29, 2009 6:02 am
- Location: Earth
- Contact:
Re: Why the Homing code from DCX will crash everything down?
hmm..
i solved this problem now..
i forgot to define the material ID..
i solved this problem now..
i forgot to define the material ID..
What is the meaning of Life?? (Don't think about it!)