AlienXAXS Posted November 3, 2014 Posted November 3, 2014 Hey RenX Devs & Coders alike. Just wondering what the possibility is of spawning in the turrets that are on the walls on the map whiteout, I have little experience in Mutator coding but i have some ideas which could be interesting. If possible, where can I find their object names? Also, as for the AI Turrets, is it possible to spawn in the little guard towers which are AI Controlled? I do not wish to have someone write the whole thing for me, i wish to learn, so a starting point would be grand. Quote
Goku Posted November 4, 2014 Posted November 4, 2014 This would be good, used to add turrets on the old ren. Quote
RypeL Posted November 4, 2014 Posted November 4, 2014 Turret classes are all classes that extend from Rx_Defence or Rx_Defence_Emplacement (Emplacements are the mannable ones on Whiteout). If you want players to spawn in them i would try using the ModifyPlayer() function that gets called in Mutators when a player respawned by GameInfo.RestartPlayer(). Then i would look into how DriverEnter() works in Rx_Vehicle. The Turrets basically are vehicles aswell (just stationary ones). "Also, as for the AI Turrets, is it possible to spawn in the little guard towers which are AI Controlled?" So yes, that would be possible. You would need to kick the AI out first and destroy it (DriverLeave()), then you could enter players as described above (calling DriverEnter() with your pawn on the turrets from within ModifyPlayer()). Quote
AlienXAXS Posted November 5, 2014 Author Posted November 5, 2014 Hey RypeL, By spawning in, i meant as in creating them, not as spawning players inside them hehe. But, your information is very useful. thank you. Quote
boomcharity Posted March 25, 2015 Posted March 25, 2015 Post this to educate a diverse lot. Ask you to take the good posts like this again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.