Hello eclipse, Just wanted to update you guys on AE’s scripting features. I’ve been thinking of what features I want it to be scriptable etc and been looking at how I can make the scripting work. The scripting feature didn’t come out on the base 2.0 because it wasn’t finished and gave you a lot of random errors. I’ve been looking at it again now and I have some ideas.
Make separate text files for each subs and add checks on the scriptable subs
What I want to be scriptable:
- Commands - I may make commands server sided and make it scriptable so you can make your own commands for example:
case "/My command" Call PlayerMsg(Index, "This is a scripted command",color) ' then do blah ' Case else
This should bring more freedom to making new commands and you won’t need to edit the source for it.
- Next up should be scriptable events and item types
Making the current hardcoded custom scripts for the event system into scriptable should help you make custom events and with item type set to event you can make custom items.
Case 1 ' This adds a simple checkpoint ' player(index).Char(TempPlayer(index).CurChar).BootMap = GetPlayerMap(index) player(index).Char(TempPlayer(index).CurChar).BootX = GetPlayerX(index) player(index).Char(TempPlayer(index).CurChar).BootY = GetPlayerY(index) Case else
- On join, On death, OnEquip (You can make it so if you equip a specific item, it should do something), MapUpdateLogic, OnLevelUp (you can also change level up formula), Npc Spell, NpcAttack, Npc Shoot, Player Attack, PlayerSpell, Player Shoot and more!
Making these subs will one day eliminate the use of vb6 and allow you to just use your notepad to edit the game Also the scripts use Vb6 so maybe you can learn a few things