Technobabble
Posted: 16 Aug 2010 14:31
This thread is primarily for wizards/wannabe wizards and people with some programming skills (others are welcome too, but don't hate if you can't understand what the discussions are about).
So, some things that came to my mind after I put some more effort into exploring and testing various things on Genesis:
1. Some form of global code standards should be enforced.
2. Easier cross-domain coding (ie. implementing stuff in one domain that can be affected by/can affect stuff from other domain).
Let's get more specific here:
Ad. 1.
I'm not entirely sure how the entire system works, so it would be nice if an arch or someone could clarify this, but would it be possible to add more things into the /std/ directory, that could be inherited by objects?
I mean, looking how inconsistent things are, based on the huge variety of creators (and their skills) behind them, wouldn't it be a good idea to get more of the 'standard' things?
Example:
Standard definitions for undead, that would include things like - can't be blinded or poisoned, can't eat, can't be plexed (doesn't breathe), underwater breathing (as previous), being properly recognized as undead for the purposes of special effects from spells/items etc. etc.
This could be further extended by standard skeleton or wraith types, to handle the proper "corpse" creation upon death (turning into a pile of bones or vaporizing entirely).
Then, every time someone would like to code an undead, he would simply inherit one or two files and wouldn't have to bother with writing all the code himself. This would make all undead consistent across the realms and save a considerable amount of coding-time.
Ad. 2.
I won't go into specifics here, let's just say that an old friend of mine, who was a wizard (not any more for the past couple of years) complained a lot because while some domain lieges allowed him to create hooks for domain-specific stuff, others wouldn't and he was unable to implement things he wanted to.
Example:
Let's say someone would like to create a new area, where worshipper's fire elemental would set the dry grass there on fire when summoned and burned out all the herbs in vicinity. This coder wouldn't be able to do so, without the liege of Calia giving him access to the WotE files.
I know that domain-restriction is very important, but wouldn't it be possible to create some kind of 'global database' with most common things people would like to use (usually guild-related) that would be visible/usable by all but without revealing any specific information or giving access to restricted files?
What do you guys think?
So, some things that came to my mind after I put some more effort into exploring and testing various things on Genesis:
1. Some form of global code standards should be enforced.
2. Easier cross-domain coding (ie. implementing stuff in one domain that can be affected by/can affect stuff from other domain).
Let's get more specific here:
Ad. 1.
I'm not entirely sure how the entire system works, so it would be nice if an arch or someone could clarify this, but would it be possible to add more things into the /std/ directory, that could be inherited by objects?
I mean, looking how inconsistent things are, based on the huge variety of creators (and their skills) behind them, wouldn't it be a good idea to get more of the 'standard' things?
Example:
Standard definitions for undead, that would include things like - can't be blinded or poisoned, can't eat, can't be plexed (doesn't breathe), underwater breathing (as previous), being properly recognized as undead for the purposes of special effects from spells/items etc. etc.
This could be further extended by standard skeleton or wraith types, to handle the proper "corpse" creation upon death (turning into a pile of bones or vaporizing entirely).
Then, every time someone would like to code an undead, he would simply inherit one or two files and wouldn't have to bother with writing all the code himself. This would make all undead consistent across the realms and save a considerable amount of coding-time.
Ad. 2.
I won't go into specifics here, let's just say that an old friend of mine, who was a wizard (not any more for the past couple of years) complained a lot because while some domain lieges allowed him to create hooks for domain-specific stuff, others wouldn't and he was unable to implement things he wanted to.
Example:
Let's say someone would like to create a new area, where worshipper's fire elemental would set the dry grass there on fire when summoned and burned out all the herbs in vicinity. This coder wouldn't be able to do so, without the liege of Calia giving him access to the WotE files.
I know that domain-restriction is very important, but wouldn't it be possible to create some kind of 'global database' with most common things people would like to use (usually guild-related) that would be visible/usable by all but without revealing any specific information or giving access to restricted files?
What do you guys think?