GubiD's Large Events - VX

GubiD's Large Events


Description:This script allows you to generate events (by use of comments) that acquire more than one tile for their movements and triggers. This allows you to place a single door tile that works on multiple tiles and the like.

Demo:
VX Demo 1.0

Script:
Script Only

Instructions:
Instructions Spoiler
  1. ###############################################
  2. #   INSTRUCTIONS
  3. ###############################################
  4. #  Create event using comment with the following text:
  5. #  LARGE EVENT ##
  6. #  ## is the size in which this event should be.  2 is recommended, but it
  7. #  is expandable to any number technically.
  8. #  
  9. #  LARGE TYPE ##
  10. #  ## is the type in which this event should be.  Default type is 0.
  11. #  Use the type diagrams below to decide which TYPE is best for your event
  12. #
  13. #  X is actual X,Y placement of event. 0 are extra cells that belong to the event
  14. #  due to enlargement.  Size will determine how far this should go.
  15. #
  16. #size 2  |  3
  17. #
  18. #  0 for normal large
  19. #   X0  | X00
  20. #   00  | 000      ETC
  21. #       | 000
  22.  
  23. #  1 for reverse large
  24. #   00  | 000
  25. #   X0  | 000      ETC
  26. #       | X00
  27.  
  28. #  2 for flood based large ( cases 1 and 2 size shown below )
  29. #    0  |   0
  30. #   0X0 |   000
  31. #    0  |  00X00    ETC
  32. #       |   000
  33. #       |   0
  34. #
  35. #---------------------------------------------
  36. #
  37. # Player Large Commands
  38. #   Since the player is not an event and you cannot 'comment' them to make them
  39. #   larger, I have provided this method of which you can increase their size and
  40. #   large TYPE.  
  41. #
  42. #   .char_size = #
  43. #   .char_type = #
  44. #   Where # is the size or type(defined above) that you want the player to
  45. #   emulate.  
  46. #---------------------------------------------
Expand to see the code.


Known Issues
- Vehicle movement does not work. They all must move like the player normally does already.
Quote:
I made a misspelling near the end of the script that forces all vehicle movement to be affected. The short answer is there is an easy solution.

Open the script editor and search "@behicle"
Update the spelling to be "@vehicle"

Vehicle movement should now work. :)


How to Give Credit:
Please give credit to GubiD at some point of your game. Be that Title, special character or simply ending credits.

Credits:
supergodjesus for testing
To my youtubers for suggesting this

License:
This is offered without warranty of any type, nor is it implied. Usage of this script is at your own risk. Bugs may or may not be resolved. This work can be edited and redistributed freely.
Excellent! I haven't found a bug yet! - It is nice to see that people are still programming. :)
That flood technique for finding acquired positions was used in my tbs. It has been through the ringer! I dont suspect this should conflict with other scripts either since it is alias'd all the way through. Anyway, let me know if you do run into anything.
I will let you know if I find something! :D Your scripts have always been amazing, Gubid.
Very Nice ;P
Thanks! I hope you are enjoying it. :)
New Bug Reported yesterday

- Vehicle movement does not work. They all must move like the player normally does already.
Quote:
I made a misspelling near the end of the script that forces all vehicle movement to be affected. The short answer is there is an easy solution.

Open the script editor and search "@behicle"
Update the spelling to be "@vehicle"

Vehicle movement should now work. :)
bump

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=76067