programming events

Power to the Player!
Post Reply
User avatar
meloner
Posts: 576
Joined: Sun Jan 30, 2005 10:27 am

programming events

Post by meloner »

Does anyone have a few pbs programming events ?? I do and it can be very annoying, there's one event I can't manage to sort out :

*Bad guy sets challenge to player*
*Player wins challenge*
*Bad guy is also rotten loser and sends his minions to attack you*

Those "minions" happen to be a bandit camp.

But when I program the camp to spawn after the bad guy says smthg like "Aaaarrgh kill him !" when I go in test mode, either the camp never spawns at all, or it spawns at beginning of scenario.....I've re edited the events dozens of times and can't find what's wrong (yes i went into "Properties" and cancelled the Autospawn) so I tried chosing a few Cut throats and grouping them : same problem.
I tried ungrouping them and programming each of them to spawn when the bad guy says his line...same problem grrrr !
I can't/don't want to use any trigger because :
-The timer might set off too late/too early depending on how long the player takes to finish his challenge
-The zone trigger is useless cause most of the time the player will just be standing still
-The User trigger, if I understand correctly is activated by adventure master right ? If so what happens if I'm not there ? does it mean the players can't continue scenario ?

Maybe it's just me who can't program properly (have some pity I've only started a few days ago :D ) but does it happen to any of u ? is my event programming too complex at this early stage of the beta ? (doubt it)
Meloner
[size=-2]
Knight Leviers
[/size]
User avatar
marct
Posts: 1154
Joined: Wed Nov 10, 2004 12:22 am

Re: programming events

Post by marct »

I have some event problems as well. Are you triggering off the boss being attacked? Or him dieing?

I'll try to throw your scenario together to see if I can get it to work.

Edit: So what is the challenge? Kill something or other?
~ Noinossalg (Noin to most) ~ OmegaV ~ King Of Nexus ~
~ Adventurer First ~ Home: Windermeer ~ Residence: Arispotle ~
~ The Windermeer Male Fashion Show Champion ~

~ Ubi major, minor cessat - The weak capitulate before the strong ~
User avatar
marct
Posts: 1154
Joined: Wed Nov 10, 2004 12:22 am

Re: programming events

Post by marct »

I threw something together quick. Similar to yours that I worked out. No story.

You spawn in. NPC standing next to Shooki. Lays down Challenge to kill Shooki. If you fail you pay him 50,000 dapper. If you win he will show you around his land.

You kill Shooki, he screams out, his guards come to kill you. I am triggering off of the Shooki dieing, and then triggering the cut throats off of the first step in his angry rant after the shooki dies. It seems to work.

If you want a shot at it, I can load it up and you can jump in.
~ Noinossalg (Noin to most) ~ OmegaV ~ King Of Nexus ~
~ Adventurer First ~ Home: Windermeer ~ Residence: Arispotle ~
~ The Windermeer Male Fashion Show Champion ~

~ Ubi major, minor cessat - The weak capitulate before the strong ~
User avatar
meloner
Posts: 576
Joined: Sun Jan 30, 2005 10:27 am

Re: programming events

Post by meloner »

my scenario is : a guy captured prince Lykos, son of emperor Dexton. A npc is waiting to give instructions at beginning to player. then u walk to bad guy and zone trigger activates a dialog. *Blablablabla* bad guy sets challenge to player : kill his champion and Lykos goes free. once the bad guy says the words "Come forth !" the champion spawns, activating a small brag dialog like : "I'm the best ! I'm gonna kill you !" Player targets the champion, activating PvE. Player kills the champion. The death of the champion activates a dialog : "Nooooo ! kill him!" and this is where it all goes wrong : the end of the last dialog is supposed to activate the spawning of the bandit camp....
Meloner
[size=-2]
Knight Leviers
[/size]
User avatar
marct
Posts: 1154
Joined: Wed Nov 10, 2004 12:22 am

Re: programming events

Post by marct »

Hmmm, my guys are visible, I'll have to try to set them not to spawn and see if I can trigger them spawning.

Have you tried just spawning them with maybe a user or zone trigger to identify if the problem is the dialog event or the spawn action?
~ Noinossalg (Noin to most) ~ OmegaV ~ King Of Nexus ~
~ Adventurer First ~ Home: Windermeer ~ Residence: Arispotle ~
~ The Windermeer Male Fashion Show Champion ~

~ Ubi major, minor cessat - The weak capitulate before the strong ~
User avatar
marct
Posts: 1154
Joined: Wed Nov 10, 2004 12:22 am

Re: programming events

Post by marct »

OK, I was able to do it 3 different ways. The way you describe worked. I used a boss spawner so that when the cahllenge was killed, the cutt throats camp spawned.

Last I tried without having the auto-spawn checkbox on and setting them to de-spawn when the scenario started, and then spawning them when needed again. All 3 worked.


Try downloading this file and trying it.

Lay down the challenge.r2

I think you should just be able to load that scenario using the client. It isn't pretty or anything.
~ Noinossalg (Noin to most) ~ OmegaV ~ King Of Nexus ~
~ Adventurer First ~ Home: Windermeer ~ Residence: Arispotle ~
~ The Windermeer Male Fashion Show Champion ~

~ Ubi major, minor cessat - The weak capitulate before the strong ~
Post Reply

Return to “The Ryzom Ring”