Post tutorial RSS Using Scripts

After completing the game, you are able to use Scripts. Sort of in lieu of the cheats available in the original, Scripts allow you to essentially do anything you would like, provided you are knowledgeable with GML.

Posted by on - Basic Other

After completing the game, you are able to use Scripts. Sort of in lieu of the cheats available in the original, Scripts allow you to essentially do anything you would like, provided you are knowledgeable with GML.

Using the 'scripts.ini' file in the 'resource' file, you can set up your strings of code to use in game. You can create a new block by starting with "[1]". Then, on a new line, you must enter "string=", then proceed with your code. For this example, we will use:

[1]string=var obj; with(oColor){instance_destroy}; obj = instance_create(0,0,oColor); obj.color = c_blue

This will destroy any existing objects we are trying to create, and then replace it and assign its color variable. This makes our world looks like this:

Using these Scripts, we can manipulate the world in any way we want. We can modify our health, AP, ammo, enemy HP, room speed, and we can even destroy walls, and remove speed limiters. Something to note is that we must enable Scripts from the main menu, and we cannot use them in Ascendancy. Blocks must be from 1-9.

Comments
Guest
Guest - - 706,379 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.