Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: Doodles_Inc on June 26, 2017, 05:25:37 pm
Title: Shadows of Evil cable car
Post by: Doodles_Inc on June 26, 2017, 05:25:37 pm
Is it already possible to remake? How complex would be the script? (Like, how much knowledge in C scripting I would need to have) I don't really think that anyone would do a script of the SoE cableway and share ir with everyone, but, I would like to know if it's possible already to do it.
Title: Re: Shadows of Evil cable car
Post by: Archaicvirus on July 03, 2017, 03:51:48 pm
It is possible, definitely. First you would use wraith to export the models, then place the train in radiant as a script_model. After that put in some clip brushes so the train has collision, make sure the clips are all script_brushmodels. As far as moving the train, you could set up a network of "path" nodes, which are script_origins, line them up evenly spaced apart, and make sure to rotate them when going around curves. That way you can rotate the train to the angles of the script_origins so it always faces the right way. The scripting would go something like: (pseudo)
This is off the top of my head, but this general method does work. Me and another mapper had this system pretty polished until my ssd failed, so I don't have any of the scripts or else I'd give them to you. Keep in mind you have to set up logic for the doors opening/closing, and for different paths the train will take. Again this script isn't complete by any means. This should get you started though.
Title: Re: Shadows of Evil cable car
Post by: Archaicvirus on November 29, 2017, 08:36:00 pm
Awesome man, I hope you got this working, would love to see it in action!
Title: Re: Shadows of Evil cable car
Post by: Doodles_Inc on December 16, 2017, 05:55:39 pm