After reviewing many posts, I have not seen a difinative answer to: Can I add a new PC race?
Sub race is fine, I just would like to add either an Ogre (true race) or a Drow (sub-race). I am aware that there would be extensive dialog editing to the Drow since many of the dialogs in game would not recognize the race, but its my time, I can waste it if I want to.
Any thoughts on this? I immagine that writing the code for an actual new race would be improbable since one would have to add the Avatar at startup.
Lug
LugNut
Member Since 03 Nov 2006Offline Last Active Nov 15 2006 07:17 AM
Community Stats
- Group Member
- Active Posts 9
- Profile Views 1359
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Topics I've Started
A New PC Race
14 November 2006 - 05:53 AM
Creature Script Vs. Area Script
13 November 2006 - 05:40 AM
I have been having an issue: I want to have a treant drop it's "HOLDRING" so that it can cease being inert and attack the party. The problem is, no matter how I script it, it will not drop/destroy this item.
I have tried:
DestroyItem("HOLDRING")
ActionOverride(MYSELF,"HOLDRING")
TakeItemReplace("HOLDRING","RING09",MYSELF)
An I have also tried using the creatures death variable in place of MYSELF.
If the creature is frozen still by holdring, will it NOT execute it's own script? I want to toss these treants in several wooded areas and do not want to write different scripts.
LugNut
I have tried:
DestroyItem("HOLDRING")
ActionOverride(MYSELF,"HOLDRING")
TakeItemReplace("HOLDRING","RING09",MYSELF)
An I have also tried using the creatures death variable in place of MYSELF.
If the creature is frozen still by holdring, will it NOT execute it's own script? I want to toss these treants in several wooded areas and do not want to write different scripts.
LugNut
RandomNum, how does it work, exactly?
07 November 2006 - 08:35 AM
I was going over a post someone made, I figured I would try it out: How can I make there be an equal chance for several different things to happen?
I made a small script to test my theory that I can use RandomNum... I don't think it works the way I want it to. Here is my example:
IF
True()
RandomNum(5,1)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("firstguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,2)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("2ndguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
RESPONSE
IF
True()
RandomNum(5,3)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("3rdguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,4)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("frthguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,5)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("fifthguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
That is basically what I had written. However, now I am wondering why it didn't work the way I wanted it to. Does RandomNum only work for the block that it is in? What I want is for there to be a creature spawn every time, but the creature that spawns (or the location he spawns) to be different. I also want it to be recurring, like on a timer, so that there are always creatures spawning at various times. Is this possible or am I totally lost?
I was hoping that if random number of 5 was rolled, I would get one of these to happen, no matter what.
Thanks for any input.
LugNut
I made a small script to test my theory that I can use RandomNum... I don't think it works the way I want it to. Here is my example:
IF
True()
RandomNum(5,1)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("firstguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,2)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("2ndguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
RESPONSE
IF
True()
RandomNum(5,3)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("3rdguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,4)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("frthguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
IF
True()
RandomNum(5,5)
Global("WierdMan","AR0900",0)
THEN
RESPONSE #100
CreateCreature("fifthguy",[0.0],0)
SetGlobal("WierdMan","AR0900",1)
END
That is basically what I had written. However, now I am wondering why it didn't work the way I wanted it to. Does RandomNum only work for the block that it is in? What I want is for there to be a creature spawn every time, but the creature that spawns (or the location he spawns) to be different. I also want it to be recurring, like on a timer, so that there are always creatures spawning at various times. Is this possible or am I totally lost?
I was hoping that if random number of 5 was rolled, I would get one of these to happen, no matter what.
Thanks for any input.
LugNut

- Spellhold Studios
- → Viewing Profile: Topics: LugNut
- Guidelines