Jump to content

What is the best way?


Recommended Posts

Posted (edited)

Write a flowchart to understand the flow of the script, and then build the basic script and finetune as you go.

This ^

They say you should spend 50% of development time planning your program out, think of this as the building blocks of your script. You don't want to build a house with a shitty foundation tongue.png

The best way of planning it out, do what you are gonna do manually, and write down everything you do.

If you went down a set of stairs, you'll need that.

if you walked somewhere, you'll need that.

write everything down! 

Edited by chad0ck
Posted

This ^

They say you should spend 50% of development time planning your program out, think of this as the building blocks of your script. You don't want to build a house with a shitty foundation tongue.png

The best way of planning it out, do what you are gonna do manually, and write down everything you do.

If you went down a set of stairs, you'll need that.

if you walked somewhere, you'll need that.

write everything down! 

 

I don't think spending half of your dev time planning is a bad idea.

Here's my (personal) process:

  • Think of script idea and all the complex details and write them down
  • Boil it down to the super basics and flowchart it (eg a NPC killer would be things like "walk to nearest bank -> prepare inventory -> (loop) has item? (y/n) -> walk to mob -> kill mobs until out of food/no more items -> repeat")
  • Write the basics
  • Start adding complex details (try and keep an OOP structure to ensure it's easy to add more stuff to)
  • Refine your script and finetune it until it is ready for release

An example for your complex details, an NPC killer may have these points:

  • If in wilderness, search for a looting bag in your bank to use
  • Must be able to start anywhere and work anywhere
  • Support changing combat styles on demand
  • Dynamic safespots for range/mage
  • The script must check if the mob is at full hp for loot
  • Like 1
Posted

 

I don't think spending half of your dev time planning is a bad idea.

Here's my (personal) process:

  • Think of script idea and all the complex details and write them down
  • Boil it down to the super basics and flowchart it (eg a NPC killer would be things like "walk to nearest bank -> prepare inventory -> (loop) has item? (y/n) -> walk to mob -> kill mobs until out of food/no more items -> repeat")
  • Write the basics
  • Start adding complex details (try and keep an OOP structure to ensure it's easy to add more stuff to)
  • Refine your script and finetune it until it is ready for release

An example for your complex details, an NPC killer may have these points:

  • If in wilderness, search for a looting bag in your bank to use
  • Must be able to start anywhere and work anywhere
  • Support changing combat styles on demand
  • Dynamic safespots for range/mage
  • The script must check if the mob is at full hp for loot

 

 

 

Follow this, and you'll have a good time. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...