Sasuke_Uchiha

Untitled

Mar 15th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. New Scripting Plan:
  2.  
  3. Maps -> Database (Script Files) -> Skins,Teams,Coordinates,Weather,Time,Checkpoints,Pickups and Objects \
  4. \
  5. \
  6. Loading/Restarting -> GameMode -> Loading Database (Script Files) -> Restarts Each Time -------------------|
  7. /
  8. /
  9. Everything else FilterScript -> Loads The Maps ----------------------------------------------------------
  10. /
  11. |
  12. |
  13. |
  14. |
  15. |
  16. The Cycle Control
  17. The IRC System
  18. The Mission System
  19. User Account System/Per Mission Data
  20. Textdraws
  21.  
  22. <------->
  23.  
  24. Advantages of this way;
  25. 1) Multiple scripters can work on the script; without worries.
  26. 2) The Mission adding could be done from a web, i.e very easy someone without script knowlodge can do it. Make it scripter only. (Will explain you the reason)
  27.  
  28. Dis-advantage:
  29. 1)This can limit us what we can do to a script.
  30. 2)Maps from database can't have some speical info's that we can only store in/or Per map script / message.
  31.  
  32. <----->
  33.  
  34.  
  35. And The Best one i could think of took me whole night to do it;
  36.  
  37. FilterScript -> Maps -> Skins,Teams,Coordinates,Weather,Time,Checkpoints,Pickups and Objects \
  38. \
  39. Everything else GameMode -> Loads The Maps ---------------------------------------------------/
  40. /
  41. |
  42. |
  43. |
  44. |
  45. |
  46. The Cycle Control
  47. The IRC System
  48. The Mission System
  49. User Account System/Per Mission Data
  50. Textdraws
  51.  
  52.  
  53. Advantages:
  54. 1) No Server restart. After really long searching on forums and asking, got to know this is not a problem better say more stable thing. As sending class selection is client side.
  55. 2) Maps can be added by the scripters very easily but this way they can change cycle and make it how they want it to be.
  56. 3) No limits with the script.
  57. 4) Better control of cycle, easy changing an more that no one else can add missions expect the scripting team. CAN explain why too.
  58.  
  59. Dis-advantage:
  60. 1) We might have to use 'y_classes.inc' for it.
  61.  
  62. As server won't restart the old player class won't be deleted, and player will see it each time he selects class. By y_classes we can disable it delete it enable it all we want.
  63.  
  64.  
  65. Note: Saying system in both should be MySQL.
Add Comment
Please, Sign In to add comment