Adaptive shields, anyone?
- goat not sheep
- Militia Captain
- Posts: 669
- Joined: Fri May 19, 2006 8:36 pm
- Location: ...
- Contact:
Maybe in the next version, george will provide us with a new code.
>.<
I wouldn't expect an "onHit" or "onDamage" any time in the near future. Think about the number of calls that would be made to that event. The longest element in processes a "tick" is already hit detection.
George could confirm it, but I am willing to wager that anytime the game uses the scripting language instead of hardcoded routines it uses 3-4 times as much overhead.
George could confirm it, but I am willing to wager that anytime the game uses the scripting language instead of hardcoded routines it uses 3-4 times as much overhead.
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Yes--very insightful. Anything in the scripting language is much much slower than native code.Burzmali wrote:...I am willing to wager that anytime the game uses the scripting language instead of hardcoded routines it uses 3-4 times as much overhead.
- goat not sheep
- Militia Captain
- Posts: 669
- Joined: Fri May 19, 2006 8:36 pm
- Location: ...
- Contact:
Maybe there's code that isn't stated in all of the XML?
>.<
It's interesting that when it comes to shields, we have the manually HP adjustable shield, a shield that weakens whenever the armor gets damaged, a shield that requires useable coils to generate a field and we have HP enhancers as well as a few select reflective enhancers for level VII+ shields... but none that can be switchable for resistances.
Although this probably should be posted in the Bugs and Brainstorms thread, it is however, on the same line of this topic of adaptive shields...
George, what about creating a shield that is capable of manually switching between two (maybe three) damage-type resistances via the player? Maybe have a line of shields with each having different switchable resistances? The drawback could be that when switching, not only would it consume more power, but would also collapse the shield completely and would have to regen to full charge with the newly selected resistance type.
Sound feasible?
Although this probably should be posted in the Bugs and Brainstorms thread, it is however, on the same line of this topic of adaptive shields...
George, what about creating a shield that is capable of manually switching between two (maybe three) damage-type resistances via the player? Maybe have a line of shields with each having different switchable resistances? The drawback could be that when switching, not only would it consume more power, but would also collapse the shield completely and would have to regen to full charge with the newly selected resistance type.
Sound feasible?
That's feasible now. All you would have to do is make 3 or 4 shield and but and <Invoke> section together that uninstalls one and installs another.
The "use" itself would call a dockscreen let the Longhzu does.
You would have would present the options as <actions>
Once the player selected, you would uninistall and remove the current shield, and then create and install the new one.
The "use" itself would call a dockscreen let the Longhzu does.
You would have would present the options as <actions>
Once the player selected, you would uninistall and remove the current shield, and then create and install the new one.
Well, that's interesting. Is it possible to use the same name for more than one item--just use different UNID's per each one?
Else, it would be like changing different shields on the fly (each with different names) while I'm talking about a single shield that is switchable to different resistance types (similar to the Jotun deflector, but instead of changing HP's, it would change resistances.)
Am curious about your idea though. Got anything written up for that? I'd like to see it.
Else, it would be like changing different shields on the fly (each with different names) while I'm talking about a single shield that is switchable to different resistance types (similar to the Jotun deflector, but instead of changing HP's, it would change resistances.)
Am curious about your idea though. Got anything written up for that? I'd like to see it.
- goat not sheep
- Militia Captain
- Posts: 669
- Joined: Fri May 19, 2006 8:36 pm
- Location: ...
- Contact:
Yes. I modded the fraud ion cannon, a fraud iocrym cocoon(costs 100 hp...too good to be true!)Yes. It's possible.FAD wrote:Well, that's interesting. Is it possible to use the same name for more than one item--just use different UNID's per each one?
>.<