AlienXAXS Posted November 3, 2014 Share 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 Link to comment Share on other sites More sharing options...
Goku Posted November 4, 2014 Share Posted November 4, 2014 This would be good, used to add turrets on the old ren. Quote Link to comment Share on other sites More sharing options...
RypeL Posted November 4, 2014 Share 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 Link to comment Share on other sites More sharing options...
AlienXAXS Posted November 5, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
boomcharity Posted March 25, 2015 Share Posted March 25, 2015 Post this to educate a diverse lot. Ask you to take the good posts like this again. Quote Link to comment Share on other sites More sharing options...
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.