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


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Mon Jun 16, 2008 3:14 pm Post subject: |
|
|
I think after SpawnParticle. I'm not sure, but I think. _________________
 |
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Mon Jun 16, 2008 3:34 pm Post subject: |
|
|
I'll try that.
Edit:The cookies haven't managed to hit anything. _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2378 Location: Israel
|
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Mon Jun 16, 2008 4:37 pm Post subject: |
|
|
I did damage.
What is the bump size for?
I'll make it 25. _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2378 Location: Israel
|
Posted: Mon Jun 16, 2008 5:02 pm Post subject: |
|
|
It defines how big it is, if it has no size, you can't touch it.
Also, give them a height of about 70, so the cookies are slightly above the ground when they're spawned. _________________ "To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
 |
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Mon Jun 16, 2008 10:43 pm Post subject: |
|
|
Now the only thing is the messaging isn't working. _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Tue Jun 17, 2008 9:30 am Post subject: |
|
|
In the script you need to set certain commands to certain message numbers. _________________ FACEPLANT |
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Tue Jun 17, 2008 3:10 pm Post subject: |
|
|
I did, but it's not working.
| Code: | // ZZ> This function makes an item fall to the floor when spawned
IfSpawned //
tmpargument = ACTIONJB //
DoAction //
KeepAction //
MakeCrushValid
IfCrushed
tmpx = selfx
tmpy = selfy
tmpdistance = selfz
tmpargument = 1
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
GoPoof
tmpargument = 1
SendMessageNear
IfDropped // Make it lie on floor
KeepAction //
IfHitGround // Make a sound
tmpargument = 1 //
tmpdistance = rand & 2047 + 10000 //
PlaySound //
IfTakenOut // Make a sound
tmpargument = 2 //
tmpdistance = rand & 2047 + 10000 //
PlaySound //
SetTargetToWhoeverIsHolding //
IfTargetIsAPlayer //
tmpargument = 2 //
SendMessageNear //
IfGrabbed // Tell them what they've won...
SetTargetToWhoeverIsHolding //
IfTargetIsAPlayer //
tmpargument = 0 //
SendMessageNear
IfUsed
tmpargument = 2
tmpdistance = 0
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
IfScoredAHit // If this character hit something.
SetTargetToWhoeverWasHit
tmpargument = [HUMA]
IfTargetHasID
tmpargument = 3 // Tell players it's useless. Yummy though.
SendMessage
Else //If they AREN'T human...
tmpargument = rand & 2304 + 256
DamageTarget
tmpargument = 4 // Tell players it's uber awesome.
SendMessage
//
End // All done |
| Code: | Message 0: %t_grabbed_%n.
Message 1: The_%n_was_destroyed!
Message 2: %t_drew_%n.
Message 3: %n_isn't_powerful,_but_yummy.
Message 4: %n_is_uber_powerful. | _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2378 Location: Israel
|
Posted: Tue Jun 17, 2008 3:22 pm Post subject: |
|
|
Just change "SendMessage" to "SendMessageNear".
Also, you can replace this:
| Code: | IfUsed
tmpargument = 2
tmpdistance = 0
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
|
With this:
| Code: | IfUsed
tmpargument = 2
tmpdistance = 0
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
SpawnParticle
SpawnParticle
SpawnParticle
|
Since you didn't change the coordinates, you can just put the command again and it'll use the same ones you already gave it. _________________ "To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
 |
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Tue Jun 17, 2008 3:42 pm Post subject: |
|
|
I won't change it because the it makes the cookies right on top of each other.
And the messages still don't work!  _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2301 Location: Norway
|
Posted: Tue Jun 17, 2008 10:30 pm Post subject: |
|
|
| Chainsaw wrote: | Just change "SendMessage" to "SendMessageNear".
Also, you can replace this:
| Code: | IfUsed
tmpargument = 2
tmpdistance = 0
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
|
With this:
| Code: | IfUsed
tmpargument = 2
tmpdistance = 0
tmpx = rand & 63
tmpy = rand & 63
SpawnParticle
SpawnParticle
SpawnParticle
SpawnParticle
|
Since you didn't change the coordinates, you can just put the command again and it'll use the same ones you already gave it. |
Actually, you are wrong chainsaw. The first one randomizes each particle coordinates each time it is spawned. While the second one randomizes coordinates once and uses the same ones for each particle spawned. _________________ 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 |
|
 |
Maxaxle Elite Gamer


Joined: 06 Oct 2007 Age: 15 Posts: 2717 Location: San Diego
|
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Thu Jun 19, 2008 9:02 pm Post subject: |
|
|
Yes, Captain Obvious. _________________ FACEPLANT |
|
| Back to top |
|
 |
penguinflyer2222 The Dark One


Joined: 28 May 2008 Age: 9 Posts: 739 Location: In exsistance
|
Posted: Thu Jun 19, 2008 9:51 pm Post subject: |
|
|
If I can make the messages work.
But when I last tried they didn't.
All it says is "The mephit wasn't cautious enough. ", or "Araal sank a squegee." and things like that. _________________ Penguinflyer2222: Made in U.S.A.
I am evil!
I have a secret plan that I hope will become heir to the throne of greatness. |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Mon Jun 23, 2008 1:07 pm Post subject: |
|
|
It's about the enemies' messages, then... _________________
 |
|
| Back to top |
|
 |
|