Jump to content


Photo

Limiting Summoned Creatures


  • Please log in to reply
8 replies to this topic

#1 Sticz

Sticz

    Monkey - In the time of Chimpanzees

  • Member
  • 385 posts

Posted 24 January 2007 - 08:41 AM

I want to make a summon creature spell that is specific to a ranger. However, I would like to limit the mumber that I can summon to one creature. What sort of coding do I need to do in order to make this happen? I tried to look at the DEVA spells, but couldn't figure out how they were different. I tried to give my cre the same race as them in an effort to see if that was the culpret, but this did not prevent multiple summons.

Sticz
"For a crazy person, you don't drool much." Complement from Dilbert's Wally.

#2 Rabain

Rabain

    God

  • Member
  • 653 posts

Posted 24 January 2007 - 09:28 AM

Create your spell with Opcode 67 referencing your creature file:

#67 (0x43) Summon: Creature Summoning [67]
Parameter #1: Unknown
Parameter #2: Control
Description:
Summons a creature, with EA set to the 'Control' field.
The Resource key should be set to the filename of the creature
to summon.

Known values for 'Control' are:
0 Match target (hostile if no target)
1 Match target (hostile if no target)
2 As creature file
3 Match target (hostile if no target)
4 As creature file
5 Hostile to target
6 As creature file
8 As creature file
255 As creature file
A knight without armour in a savage land...

#3 Sticz

Sticz

    Monkey - In the time of Chimpanzees

  • Member
  • 385 posts

Posted 24 January 2007 - 09:32 AM

Hmmm... that's not what I am having an issue with. My spell summons my creature just fine. I have no problems controlling the beastie and such. My question is how do I make is so that I cannot possibly summon another of the beasts while I am in the same area? I am looking for something like the summon Deva spells where if you try to conjure a seccond one you get a string telling you that there is a limit to one at a time.

Any clues?


Sticz
"For a crazy person, you don't drool much." Complement from Dilbert's Wally.

#4 DavidWallace

DavidWallace
  • Validating
  • 337 posts

Posted 25 January 2007 - 01:13 AM

Hmmm... that's not what I am having an issue with. My spell summons my creature just fine. I have no problems controlling the beastie and such. My question is how do I make is so that I cannot possibly summon another of the beasts while I am in the same area? I am looking for something like the summon Deva spells where if you try to conjure a seccond one you get a string telling you that there is a limit to one at a time.

Any clues?


Sticz


You could try making the spell make the caster immune to the spell itself.
(See SWII611 - Protection from Magic Weapons - for an example of this: Pro/MW makes you immune to Pro/NW, Mantle etc, that's how the game enforces the rule that you can't have more than one protection spell at a time. I think Simulacrum works the same way, come to think of it.) This will only work if the spell target is the caster though.

#5 Rabain

Rabain

    God

  • Member
  • 653 posts

Posted 25 January 2007 - 04:34 AM

And simply changing the name of the cre summoned by the Eff file spdeva.eff doesn't work?

If everything is identical it should work.
A knight without armour in a savage land...

#6 -XzPePijNzX-

-XzPePijNzX-
  • Guest

Posted 25 January 2007 - 08:56 AM

The deva spells oddly enough use a different way of summoning, so using them as an example wouldn't work at all.

Better to take simulacurum as base spell.
Alter the .eff spell of simulacrum so that the .cre resource it uses is changed to the creature that you want to summon.
Save that effect under a new name
go to the simulacrum spell, clear all but one of the extended effect headers.
Ok niow that you have one header left, go to the topmost effect called 'summon creature'
change that .eff file to your newly created one
idem for the lowest effect, 'immune to spell effect'.

what the hell am i rambling, nobody asked for a stepbystep guide
anyway, what you're asking for looks more like a famillar for rangers. So you better make something like that. But hey, you're free to do whatever you want.

#7 Sticz

Sticz

    Monkey - In the time of Chimpanzees

  • Member
  • 385 posts

Posted 26 January 2007 - 11:58 AM

Are there any mods that have a 'familiar for rangers' already? That would save me alot of trouble, and that is, essentially, what I am looking for.

Sticz
"For a crazy person, you don't drool much." Complement from Dilbert's Wally.

#8 -XzPePijNzX-

-XzPePijNzX-
  • Guest

Posted 26 January 2007 - 12:28 PM

I can't say i ever heard of one. But, hey, you could make one :whistling:

#9 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 01 February 2007 - 08:01 PM

SoS has the ranger Charlotte with some familiars

I Ride for the King!


a.k.a. Chev