AMIA ARCHIVE
https://amiaworld.net/phpBB3/

Scripting question
https://amiaworld.net/phpBB3/viewtopic.php?f=2&t=49187
Page 1 of 1

Author:  corypx [ Thu, Jul 15 2010, 1:14 AM ]
Post subject:  Scripting question

I'm sure we all have questions on if something can be coded,we have a build thread why not have one for questions about coding over all or befor a DC request.

being a shifter I know I have tons of question because I need everything in potion form or I cant use it, like a simple raise scroll in combat.

1.so could a potion be made to raise non-hostile players in a area?

2.could a custom spell be made then added to a potion to be used as a custom skill for your forms(rak form geting a Cone of cold potion or something if you RP using the form alot, stuff like that?

Author:  Selvec Darkon [ Thu, Jul 15 2010, 5:27 AM ]
Post subject:  Re: Scripting question

As far as scripting goes, the first one doesn't sound to complicated. Using a lazy form of pseudocode.

Check for hostile.
If hostile is false, cast raise.
Otherwise, no raise.
End.

I mean it almost seems simplier then targeting an individual, which would be involve a bunch of associations and stuff.
This is not considering balancing.

Don't see why not. Custom spells are just spells added to the 2da I believe. You'd just reference that spell instead of the other ones, be it by number or otherwise. The real issue is that the potion will probably disappear straight after use, as the type "potion" has been hardcoded by bioware to do this I think.

Author:  TormakSaber [ Thu, Jul 15 2010, 5:36 AM ]
Post subject:  Re: Scripting question

Equipment (held and worn, not just equipped) is specifically stated to merge into you when you shift. The fact that you c an use potions is a leniency. You do not have scrolls.

Author:  Logicality [ Thu, Jul 15 2010, 7:06 AM ]
Post subject:  Re: Scripting question

I skimmed through the Shifter section of the Classes Modifications, as well as the description at the NWN wiki, and only found mentions of armour, weapons, and "other items" merging with the shifted form. Still, I will assume that your word as a DM makes it so. I might question why "scrolls" are considered equipment when they cannot be, you know, equipped. If the lore is WYSIWYG, that's lame, but whatever.

Anyway, as for the first one: Get nearest player. If nearest player is dead and not hostile, raise. If either of these conditions are not met, potion is expended without effect. Like Selvec said, basically.

Author:  TormakSaber [ Thu, Jul 15 2010, 7:21 AM ]
Post subject:  Re: Scripting question

I am speaking from the PnP view.

Author:  corypx [ Thu, Jul 15 2010, 14:50 PM ]
Post subject:  Re: Scripting question

but if we are speaking from a PnP point of view, would not any form of shifting grant you full HP again.

but from a IC/Amia point of view raisescrolls are built with them in mind, and being able to use them would be nice in combat seeing as everyone else does.
I would pay DCs for the power to raise people in form so I dont have to waste a form or trade a scroll to someone to do it for me.

from a DM point of view whats the chance of geting something scripted that raises people in combat that a shifter can use(from DCs or just somekind of amia over all thing)

Author:  Jyro X [ Thu, Jul 15 2010, 15:28 PM ]
Post subject:  Re: Scripting question

Technically it could be added into the rest menu to check if you have a raise scroll in your inv and then cast the spell (animations and everything) accordingly and destroy the scroll.

But I agree with Tormak's sentiments on the matter.

Author:  corypx [ Thu, Jul 15 2010, 15:45 PM ]
Post subject:  Re: Scripting question

Jyro X wrote:
Technically it could be added into the rest menu to check if you have a raise scroll in your inv and then cast the spell (animations and everything) accordingly and destroy the scroll.

But I agree with Tormak's sentiments on the matter.


also being able to use it in combat is the main thing when people get killed and need to be poped up (sorry cant raise you I have a horde of NPCs attacking me)

tormaks idea of PnP of everything merging with us so we cant have potions/scrolls might be right but is ruined if you IC put down a bag of said items you want to be able to use,shift then pick up the bag again, and lets face it if you were a shifter you would do that.

Author:  Selvec Darkon [ Thu, Jul 15 2010, 17:51 PM ]
Post subject:  Re: Scripting question

I believe that this may be a case of "One group has ruined it for everybody". See, if you could raise all non-hostiles in an area, then I imagine the "Hide in GS and Raise" or "Hide in HIPS and Raise". Technique that is Oh so aggrivating, cheap, nasty and annoying, but routinely used in PvP, would suddenly be the insta win of the day.

While the scripting is possible. I can't ever see it actually being done.

Author:  corypx [ Thu, Jul 15 2010, 19:10 PM ]
Post subject:  Re: Scripting question

Selvec Darkon wrote:
I believe that this may be a case of "One group has ruined it for everybody". See, if you could raise all non-hostiles in an area, then I imagine the "Hide in GS and Raise" or "Hide in HIPS and Raise". Technique that is Oh so aggrivating, cheap, nasty and annoying, but routinely used in PvP, would suddenly be the insta win of the day.

While the scripting is possible. I can't ever see it actually being done.


not if they made the range so small you had to be basicly ontop of them, so its not some massive over powered thing and only one person at a time, but if its range is set nice and small it would only hit one person anyway.

Author:  TormakSaber [ Thu, Jul 15 2010, 22:06 PM ]
Post subject:  Re: Scripting question

corypx wrote:
but if we are speaking from a PnP point of view, would not any form of shifting grant you full HP again.


I have never met a DM, online or IRL, who has ever used that feature, and have never met a person who knows a DM or allows it. It's almos tuniversally lambasted as one of the worst things about polymorphing and in extreme cases is why some DMs disallow it altogether.

not a good argument for your case, I'm afraid.

Author:  corypx [ Thu, Jul 15 2010, 22:32 PM ]
Post subject:  Re: Scripting question

Tormak you could have at least commented on raise dead potions about the chances if it could have been scripted balanced wise, or would be fall under the "Dont roll a shifter if you want to do something everyone else does"

TormakSaber wrote:
corypx wrote:
but if we are speaking from a PnP point of view, would not any form of shifting grant you full HP again.


I have never met a DM, online or IRL, who has ever used that feature, and have never met a person who knows a DM or allows it. It's almos tuniversally lambasted as one of the worst things about polymorphing and in extreme cases is why some DMs disallow it altogether.

not a good argument for your case, I'm afraid.
it was not ment to be a good argumnt it was more of ment to tie your comment of
TormakSaber wrote:
The fact that you can use potions is a leniency. You do not have scrolls.

because as I said if we know something is going to merg as we shapechange we would put it down befor hand so it does not, meaning we would have potions and scrolls making potions not a leniency but just as normal as everyone else having them.

Author:  TormakSaber [ Thu, Jul 15 2010, 22:41 PM ]
Post subject:  Re: Scripting question

If you want to raise people, deshift.

I see no reason to add "raise potions". Nonsensical.

Author:  corypx [ Thu, Jul 15 2010, 22:42 PM ]
Post subject:  Re: Scripting question

TormakSaber wrote:
If you want to raise people, deshift.

I see no reason to add "raise potions". Nonsensical.


even if it was DC request, not something you added for all shifters?

Author:  TormakSaber [ Thu, Jul 15 2010, 22:44 PM ]
Post subject:  Re: Scripting question

Even more if it was DC request.

Author:  Ummma [ Thu, Jul 15 2010, 22:51 PM ]
Post subject:  Re: Scripting question

Cory, face it, shifters are nothing more than window-dressing, and if any more strengths to the forms are ever identified they too will be taken out and shot. God forbid them ever being more useful than a true-seeing wyrmling.

I should not have said that. *Expects a new shifter update removing Trueseeing from Wyrmling/Rakasha*

Author:  corypx [ Thu, Jul 15 2010, 22:53 PM ]
Post subject:  Re: Scripting question

TormakSaber wrote:
Even more if it was DC request.


I dont follow your logic

you see no reason to add it because its not needed but if someone wants to spend thier DCs on it, its even more...?

but if its DC request would that even matter at that point if you feel it would be Nonsensical because its thier DCs?

Author:  TormakSaber [ Thu, Jul 15 2010, 23:37 PM ]
Post subject:  Re: Scripting question

Ummma wrote:
Cory, face it, shifters are nothing more than window-dressing, and if any more strengths to the forms are ever identified they too will be taken out and shot. God forbid them ever being more useful than a true-seeing wyrmling.

I should not have said that. *Expects a new shifter update removing Trueseeing from Wyrmling/Rakasha*


I'm sorry I and the designers spent months on the shifter update. Your appreciation or lack thereof is noted. I'll keep that in mind when I dare to stick my neck out again for something.

Author:  Jyro X [ Fri, Jul 16 2010, 1:54 AM ]
Post subject:  Re: Scripting question

As an aside, I love the shifter updates.

Raise dead while shifted is not needed, imo.

You want to raise dead people? Call a cleric. I'd rather see raise dead scrolls taken out all together to be truthful.

Author:  Dramatic_Prince [ Fri, Jul 16 2010, 2:06 AM ]
Post subject:  Re: Scripting question

Jyro X wrote:
I'd rather see raise dead scrolls taken out all together to be truthful.

AFTER you take out heal pots.

Author:  Colapops [ Fri, Jul 16 2010, 2:35 AM ]
Post subject:  Re: Scripting question

Jyro X wrote:
As an aside, I love the shifter updates.

Raise dead while shifted is not needed, imo.

You want to raise dead people? Call a cleric. I'd rather see raise dead scrolls taken out all together to be truthful.


Yeah, I hate leveling up, too.

Author:  Logicality [ Fri, Jul 16 2010, 2:43 AM ]
Post subject:  Re: Scripting question

Perhaps a new thread is called for if the current discussion is to continue, as a thread for scripting questions is actually quite a good idea and I'd hate to see it get locked.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/