| View previous topic :: View next topic |
| Author |
Message |
woodmouse Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 1:32 pm Post subject: |
|
|
I don't know anything... Just the "IfSomethingDoesSomething" things and some other small things... And I am wondering this too: How can I make "A la Secret shoppe" kinda shop somewhere in the Fear Factory (I kow, I said it was finished, but... I have to continue... ) So, does anyone know? I mean that how can I make invincible guy (by the way, he's not invincible, he can be killed in two ways I've figured out) (both half-cheating)) selling some Legendary soldier items? _________________
|
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1545 Location: Somewhere in this universe.
|
Posted: Mon May 05, 2008 2:28 pm Post subject: |
|
|
Study the shopkeeper script for "la Secret shoppe".
See if you can get anything out of it. _________________
Play Frozen Bubble |
|
| Back to top |
|
 |
woodmouse Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 2:30 pm Post subject: |
|
|
Right, I'll try to put there a guy and change its script to the la secret shoppe's guy's script... And I try to make there a passage thing for the shop... _________________
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 3:03 pm Post subject: |
|
|
In data.txt set INVICTUS (Invincibillity) to TRUE.
How do you kill him btw? _________________ 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 Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 3:17 pm Post subject: |
|
|
With the Death Scythe I made. And with the Orbstorm wand. The Orbstorm wand only if I set ammo to 99... He died. One time.
And btw sorry I double post, oh, oh, I have to ask: The shop I put there won't work. The shopkeeper won't give any money if I give him a weapon. There is no items, even when I put them to the objects folder and in shopkeeper's script. Why? Is there a reason? I did it before for some other guy without the passage thing and it worked, but now, it won't work with the shopkeeper. WHYYYYY!!!?  _________________
|
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 14 Posts: 1545 Location: Somewhere in this universe.
|
Posted: Mon May 05, 2008 3:19 pm Post subject: |
|
|
Can you put the script for the shopkeeper in code tags? _________________
Play Frozen Bubble |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 3:20 pm Post subject: |
|
|
First off, make sure the passage is correct in passage.txt
Secondly make sure the shopkeeper is assigned the same passage number as the one you made in passage.txt _________________ 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 Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 3:22 pm Post subject: |
|
|
Shopkeeper number? Eh? _________________
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 3:54 pm Post subject: |
|
|
Every object in spawn.txt can be assigned a passage number. This will be the passage that the script uses to know which passage to manipulate. _________________ 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 Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 4:00 pm Post subject: |
|
|
Well, I deleted the shopkeeper and all items allready... And it's not so needed, because I had a new idea of putting a secret monster in there, but I don't know how could I hide it well, because the level is so maximum size...  _________________
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 4:08 pm Post subject: |
|
|
Darkness? Invisibillity? Make the monster fall from the sky (spawn) when the player enters the room? _________________ 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 Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 4:10 pm Post subject: |
|
|
How the [INSERT BAD WORDS HERE] I can do that? It would be great that it would fall from the roof!  _________________
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 4:12 pm Post subject: |
|
|
Make something (moduletool.obj for example) check if the player is inside a passage. If it finds something, spawn the monster(s) you want and specify where they are to spawn. See examples on where it has been done before... Ice Palace for example. _________________ 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 Lord of Draconians


Joined: 19 Apr 2008 Age: 13 Posts: 2792 Location: Finland
|
Posted: Mon May 05, 2008 4:17 pm Post subject: |
|
|
Ok, so I copy the MonsterDrop thing from passage.txt and edit the coordinates? _________________
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2179 Location: Norway
|
Posted: Mon May 05, 2008 4:21 pm Post subject: |
|
|
No, the passage from passage.txt is not that important. Though you will need a passage in your module that is used for checking wether someone is inside the suprise room.
You need the script functions from a script that spawns a monster. _________________ 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 |
|
 |
|