Zatsupachi
9 years ago
I wonder what causes the original SWGen Cruise Missile(was it? or was it the SWGen Nuke?) To Launch horizontally from the ground to its target.

Mainly, because I wanna see how I can work with it to make it launch at angle of 45 degrees.
I tried tinkering with NeutronMissileUpdate, but it always laucnhes at angle of 90 degrees.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
Sponsor
acidbrain
9 years ago
You have to change the pivot in the missile model, the angle of the pivot determines the angle of take off, if i remember well there was also a rocket which launched upside down due to a wrong pivot.
Panem et kirkinses
Zatsupachi
9 years ago
hmmm...
Okay... Is there away for it to move forward a bit?

Otherwise, I'm redoing the missile code to make it like SCUD Storm(?)


UserPostedImage

"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
acidbrain
9 years ago
Let's take the china nuke launcher as an example here, if you check the building there is a helper named ROCKPOS01(A3 model), the z-axis is at a 90 degree angle, i suspect that if you rotate the pivot z-axis to a 45 degree angle the rocket will launch at a 45 degree angle, i think you dont have to change the rocket itself only the building or vehicle that launches the missile...

The red arrow is the axis you have to change to 45 degrees.
90 degrees
UserPostedImage

45 degrees
UserPostedImage

Im not sure if it works, it would be logic if it works like this though...

Greetz
Panem et kirkinses
oliver
  • oliver
  • 50.25% (Neutral)
  • Major
9 years ago
If you want the missile to be launched from an angle, you should check the scorpion missile
3D/2D Artist
acidbrain
9 years ago

If you want the missile to be launched from an angle, you should check the scorpion missile

Originally Posted by: oliver 



If im not mistaking Zatsupachi wants to use a superweapon instead of a regular missile from a vehicle, the logic is a bit different
Panem et kirkinses
Zatsupachi
9 years ago
From the image I posted, that IS the result of tilting the pivot point's angle.

EDIT:
If I recall correctly I put down an entry on the tips and tricks thread about launching missile in an angled pivot point. It apparently doesn't work with the same way with NeutronMissileUpdate however.

http://www.moddb.com/mods/death-label/images/dang-it-ignitionfx#imagebox 

Here, having angled pivot points works- since the lightning are missiles using MissileAIUpdate.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
Zatsupachi
9 years ago
Eh.screw it. I'll go with SCUD Storm code.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
acidbrain
9 years ago

Eh.screw it. I'll go with SCUD Storm code.

Originally Posted by: Zatsupachi 


Giving up is for sissies inside the box...

Why dont you use tomahawktank or sambattery logic and emulate a sw, make a countdowntimer in wb and add the fire weapon button to the commandset when the timer is expired, when player fires the missile the commandbutton is removed, weapon reload time of 4 minutes or so.

Here is the sambattery looks pretty much like what you want...
UserPostedImage

Or maybe im full of sjiet, happens more
Greetz
Panem et kirkinses
Zatsupachi
9 years ago
TomahawkMissile uses MissileAIUpdate.
And so does ScudStormMissile.

The Idea was that it will keep heading at 45 degree angle until it goes offview, then it goes to the target.

Inspecting ScudStormMissile, it has MissileAIUpdate meaning I can apply angled pivot launching.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!