Posted by: Jundiyy - Sunday, September 17, 2017 7:29:08 PM
Draw = W3DModelDraw ModuleTag_02
OkToChangeModelColor = Yes
ProjectileBoneFeedbackEnabledSlots = PRIMARY SECONDARY ; WeaponLaunchBone will be shown/hidden, not just used for firing offset
DefaultConditionState
Model = UVScudLchr
HideSubObject = CHASSIS HOUSECOLOR01
Turret = TURRET
TurretPitch = TURRETEL
ShowSubObject = TURRETUP02
HideSubObject = TURRET TURRETUP01
;WeaponLaunchBone = PRIMARY WeaponA
;WeaponLaunchBone = SECONDARY WeaponA
End
Posted by: Zatsupachi - Monday, September 18, 2017 7:08:09 PM
You've only placed the model of a SCUD Missile on an airfield, it doesn't have any functionality until you code something for it.
Also, everything in the model is draw from the "center" of the model. What I meant of it is the triordinates 0,0,0 of the model. Hence why the SCUD is drawn in the "center". Adding a second w3dmodeldraw just makes it so that it draws 2 models, and their both drawn from their "centers".
If you displace the position of the model(with a modelling software) relative to the Airfield's "center" you can place it in the correct spot.
I'd rather attach it to a bone. And having a second object to it that is a portable structure.
Basically attach the second part via Avenger Turret/Overlord Attachment.
This means you'll have to use any of the Overlord Vehicle Draws instead of the normal W3DModelDraws:
W3DOverlordTankDraw
W3DOverlordTruckDraw
W3DOverlordAircraftDraw
Posted by: Jundiyy - Monday, September 18, 2017 7:33:29 PM
Thanks for your reply, I'm fairly new to modding so I won't understand too much lol, maybe 10-12 days max.
I wasn't planning on making use of it to be honest, my plans were to get an airfield for GLA but I couldn't see any in the civilian section and I didn't want an exact identical one to another faction. So I thought if I can place a Scud or 2 that would help, but you are saying the only way to move the scud is by using another program, we can't code X Y Z?
Is what you are saying the same as adding a Tomahawk Missile? I have managed to do that, it is much easier, Scud Launcher seems a bit more trickier, whilst we are here talking about scuds, I tried to hid the nuke launchers nuke and add a scud missile but I think I went wrong somewhere, the nuke shoots the scuds but still has it's nuke, the scud can be seen just laying flat in the nuke. I don't think I copied the full code of the scud?
I tried playing around with the turret in the engineering but no difference, I'm missing something and I'm sure it's right in my face.
Will send codes in morning.