| View previous topic :: View next topic |
| Author |
Message |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 3:47 pm Post subject: 'Sword of the Eternal Flame' and some other magical items |
|
|
I have tried to edit 'flare sword' to 'sword of the eternal flame'. Now it shoots a HUUUUUUUUUUUUUUUGE flame straight forward. The whole sword is in flames and my friend said it is really good, but there's a problem: When you grab it, it damages you at the time you grab it and you start burning. Does anyone know how I could make it so it won't burn the player? _________________

Last edited by woodmouse on Wed Jun 04, 2008 12:52 pm; edited 1 time in total |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Apr 19, 2008 3:56 pm Post subject: |
|
|
Hmmm, I don't know any Egoboo scripting... _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 3:57 pm Post subject: 'Sword of the eternal flame' |
|
|
I only copied from other scripts and then edited them... _________________
 |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Apr 19, 2008 4:00 pm Post subject: |
|
|
I see a IfGrabbed function. But I will need to see the script. _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 4:02 pm Post subject: 'Sword of the eternal flame' |
|
|
//-----------------------------------------------------------------------------
IfHitGround
tmpargument = 0
tmpdistance = 17000
PlaySound
//-----------------------------------------------------------------------------
// ZZ> Gong sound
IfCleanedUp
tmpargument = 2
tmpdistance = 8000
PlayFullSound
//------------------------------------------------------------------------------
// ZZ> Scream and shout
IfUsed
tmpdistance = rand & 2047 + 12000
tmpargument = 8
PlaySound
//------------------------------------------------------------------------------
// ZZ> Handle being bored by cheering or sneezing
IfBored
tmpargument = 6
SendMessageNear
tmpargument = 9
tmpdistance = rand & 2047 + 12000
PlaySound
tmpargument = ACTIONMC
DoAction
//------------------------------------------------------------------------------
// ZZ> Handle death by sending a message and other stuff
IfKilled
tmpargument = 7
tmpdistance = rand & 2047 + 12000
PlaySound
tmpargument = 3
IfArmorIs
tmpargument = MESSAGECOSTUME
Else
tmpargument = MESSAGEDEATH
IfTargetIsOnSameTeam
tmpargument = MESSAGEFRAG
IfTargetIsSelf
tmpargument = MESSAGEACCIDENT
SendMessage
// Drop goodies
tmpargument = 65535
DropMoney
DropKeys
// Make the character body
tmpargument = 45
SetBumpHeight
//------------------------------------------------------------------------------
// ZZ> For helper AIs
IfLeaderKilled
BecomeLeader
//------------------------------------------------------------------------------
// ZZ> Handle being attacked by blocking or countering or running away
IfAttacked
// Pick either 0 or 7, Parry or Combat
SetTargetToWhoeverAttacked
IfTargetIsOnSameTeam
tmpargument = 3
tmpdistance = rand & 2047 + 12000
PlaySound
tmpargument = MESSAGEOUCH
SendMessageNear
Else
tmpargument = rand & 1 + 5
tmpdistance = rand & 2047 + 12000
PlaySound
//------------------------------------------------------------------------------
// ZZ> Handle having too much in inventory
IfTooMuchBaggage
tmpargument = 1
SendMessageNear
tmpargument = 4
tmpdistance = rand & 2047 + 12000
PlaySound
tmpargument = 50
SetReloadTime
//------------------------------------------------------------------------------
End
//------------------------------------------------------------------------------ _________________
 |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Apr 19, 2008 4:04 pm Post subject: |
|
|
I can't understand it without the spaces, can you use the code tags? _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 4:06 pm Post subject: 'Sword of the eternal flame' |
|
|
Huh? Code tags? What are those?  _________________
 |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Apr 19, 2008 4:11 pm Post subject: |
|
|
Anyways, I think it may be partXX.txt and not the script that is causing the burning. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 4:31 pm Post subject: 'Sword of the eternal flame' |
|
|
NOW IT DOESN'T BURN ANYMORE!!!!!!!!!! WHY!!!!!! I DID JUST CHANGE ITS NAME FROM 'Sword of the eternal flame' to 'Sword Of The Eternal Flame'!!!!!!!!!! HOW IS THAT POSSIBLE!!!!!!?
Sorry about I have to double post, because I'm so surprised it didn't burn when you grab it, BUT now it burns when you DROP it!!!!!!!! HOW IS THAT POSSIBLE!!!!!! Just changed the name...........  _________________
 |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Apr 19, 2008 4:33 pm Post subject: |
|
|
I couldn't find the flare sword in my 2.7.5 Egoboo...
So I can't check. _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 4:36 pm Post subject: 'Sword of the eternal flame' |
|
|
It's on the 2.38 DEV package's [XWEP] folder. _________________
 |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Apr 19, 2008 4:38 pm Post subject: |
|
|
It may be that the cool fire effects were a random circumstance, just like you getting burned or flames not spawning. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 4:39 pm Post subject: 'Sword of the eternal flame' |
|
|
Huh? What? Circumstance? Huh? _________________
 |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2378 Location: Israel
|
Posted: Sat Apr 19, 2008 4:49 pm Post subject: |
|
|
| He means that the cool effect you got earlier happened randomly, you got a different one each time, depending on what you were doing when they occurred. |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3070 Location: Finland
|
Posted: Sat Apr 19, 2008 5:36 pm Post subject: 'Sword of the eternal flame' |
|
|
Now I am pretty sure why it burns! It is because I copied the Daemon lord's flame ring around it. It is a ring of fire, so could there be any other way to make... WAIT!!! IT'S GOOD PENALTY OR WHATEVER TO BURN THE PLAYER, BECAUSE ITS GREAT POWER!!! Right? Every greatest weapons have to have a bad side, right?  _________________
 |
|
| Back to top |
|
 |
|