ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Modules still not quite right

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Modules still not quite right

Postby DazaKiwi » Sun Aug 05, 2012 3:19 am

With being able to assign a prefix key for a module in settings, it would work if you are importing someone else's module into your library, however when if you make your own module and try to add it to an existing project you still have a clash of task keys. Because both module and the current project you are working on will have the same prefix keys for task1..task2 etc. This problem would be the same if you imported two different modules from the same user.

The work around is to change the prefix everytime you create a new module, however if you didn't realise this beforehand like me, you will have to manually alter them just like before. So the prefix needs a little more tweaking,
maybe when you go to export a module a prompt will ask you for a unique prefix every time or the first ten characters of the module name is used instead, that way you will never have the same prefix unless you named the exported file name too similar to another. Or username with a random five digit key or something added onto it like dazakiwi57f8ptask1, dazakiwi57f8ptask2 etc

I tried renaming the prefix and re-exporting the module, but its still using the previous prefix i had it at. *sigh*

Also some variables in restrictions in the module are getting randomly swapped with other variable from the main game, this happens with action/execute task too. One of the tasks from the module disappeared completely.
Last edited by DazaKiwi on Sun Aug 05, 2012 3:45 am, edited 2 times in total.
User avatar
DazaKiwi
 
Posts: 233
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand

Re: Modules still not quite right

Postby ElliotM » Sun Aug 05, 2012 3:31 am

Try copy and pasting tasks: They will get the new designated prefix, saving you lots of work. :)

(If you hold control and/or shift while making selections you can grab multiple tasks from a folder for the copy action)
ElliotM
 
Posts: 507
Joined: Tue Apr 17, 2007 8:04 pm
Location: The Midwest in the USA

Re: Modules still not quite right

Postby DazaKiwi » Sun Aug 05, 2012 3:48 am

ElliotM wrote:Try copy and pasting tasks: They will get the new designated prefix, saving you lots of work. :)

(If you hold control and/or shift while making selections you can grab multiple tasks from a folder for the copy action)


Yeah that might have to be the work around for now. Thankfully my module was a basic one. Perhaps its more problematic when you have an existing game and you import a module into the library or the game itself, compared to having the module added to your library before you start a new game from scratch.
User avatar
DazaKiwi
 
Posts: 233
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand

Re: Modules still not quite right

Postby ElliotM » Sun Aug 05, 2012 3:54 am

Will have to see, for sure. Currently working on an NPC commands library when I stumbled across the copy trick for resetting prefixes. As long as I remember what prefix I'm currently using, it should be alright - though I've started turning on the prefix fields in my folders so I can make sure what it is.
ElliotM
 
Posts: 507
Joined: Tue Apr 17, 2007 8:04 pm
Location: The Midwest in the USA


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 1 guest