WorldBuilder
14 years ago
I have a unit which has some missiles, when those missiles fire they stay on the unit tho.
What I mean is when the weapon fires the missile flies away from the unit towards its target, but the missile does not disapear its still on the unit. So basically it creates a 2nd missile which flies towards a unit but those missiles on top of the unit stay as they are. How do I make those disapear when the unit fires the missile until they reload?
Sponsor
Annihilationzh
14 years ago
AFAIK, most of this is done mostly by the model. There doesn't appear to be any code governing it specifically.

Is the missile firing from the correct place? If not, that's the reason.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
WorldBuilder
14 years ago
It does fire from the right place, its exactly how it should fire except that the missile on the vehicle stays there which basically creates 2 missiles, one that stays in its initial position and the other which flies towards the target, like this:


UserPostedImage
Annihilationzh
14 years ago
I know the problem. I understood your first post. What I'm saying is that the INI code doesn't control this; it's the model.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
WorldBuilder
14 years ago

I know the problem. I understood your first post. What I'm saying is that the INI code doesn't control this; it's the model.

Annihilationzh wrote:



I thought so, but the thing is I took the model from another mod ( im making a personal mod for miself ) and it works fine there, thats quite weird isn't it?
Annihilationzh
14 years ago
You'll need to copy the art code from their mod then. I'm guessing a bone is misspelled or something similar.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
WorldBuilder
14 years ago
This is ridicilous I still can't identify the problem, I checked the code and don't see what might be wrong or misspelled, yet it works in the other mod and doesn't work in mine..
NOP
  • NOP
  • 100% (Exalted)
  • Major
14 years ago
I've had problems like this... I think it sounds like a problem with the model itself...
Even though I copied a tank model, I still had to add tread movements to the model using renx...
Maybe you need to do something scimilar?
WorldBuilder
14 years ago
I don't have any experience with making models and such so that wouldn't really be possible, perhaps I could find the same unit from some other mod but I don't think there are many models of this unit tho 😶
NOP
  • NOP
  • 100% (Exalted)
  • Major
14 years ago
Doing 3d moddeling doesnt have to be hard, you should give it a try...
There are lots of good tutorials out there... Besides, what I'm thinking you need to do only requires clicking and typing... No great artistic abilities are required...

What unit are you doing?
WorldBuilder
14 years ago
sa-11 gadfly, the one from shockwave.
Annihilationzh
14 years ago
If your art code and the model are exactly the same as the shockwave ones then there is no reason it shouldn't work.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
WorldBuilder
14 years ago
Well they aren't exactly the same the shockwave one has to deploy in order to fire I made mine so that it doesn't have to deploy, but I still don't see why that would pose any problems since it shouldn't be any difference in firing if it has to deploy to this state or already be in this state, since its in the same state, but I guess something is wrong indeed.
NOP
  • NOP
  • 100% (Exalted)
  • Major
14 years ago
I was looking at the scorpion missile... It has the same fireing mechanism you are talking about.
But I dont get how it works... What part of your code is supposed to hide the missile when its fired?
WorldBuilder
14 years ago

I was looking at the scorpion missile... It has the same fireing mechanism you are talking about.
But I dont get how it works... What part of your code is supposed to hide the missile when its fired?

NOP wrote:



If I knew I could fix it I guess but im not sure which part is responsible for this.