Modding => Event Editing => Topic started by: CONMAN on July 03, 2014, 09:46:53 pm
Title: CONMAN SCREWS EVENTS-solved!
Post by: CONMAN on July 03, 2014, 09:46:53 pm
So....yeah I'm not that great at eventing- and sometimes not sure where/why I am f'ing up! I try not ask too many questions and see if I can solve something on my own. Sometimes you go back and forth trying stuff... take several months off and then relearn... only to rinse and repeat.
...So yeah, this should be one of my top 2 favorite events (that don't work right) and a couple things are still off- but I know I can fix them. The one reoccurring screw up I can't fix actually plays out several times in this event! This scene is a replacement for the old attack on Beoulve. Namely, my villain should cast bolt and kill 3 guys in a row- (not all at once). They should take a pain loop animation, get hit+ bolt sound, cry out, and fall down dead. Typically- my 1st guy would play out- get hit by lightening, fall down and then get the fuck back up! I actually just retried this and simply added a wait and he failed to fall at all. So this is exactly where I am failing.....
Simple recap on this event- hit 3 guys with bolt- fall down dead. Walk up to Zalbag and dodge a sword strike (works).Villain leaps into the air(cool). 3 more bolt strikes: injure Dycedarg, kill 4th random dude, blocked by Zalbag. Change map to the balcony outside off Igros Office(cool). Villain drops in: final line of dialogue-end scene
A couple of little problems in this event I can totally fix- and I'm happy that it most of it plays out the way I want but- fuck
EVENT FOLLOWS:
Offset(x0006C000) //Remove the previous line if you wish not to override the offset in CONFIG.INI.
//INSTRUCTION SECTION END - TEXT START //Message x01 {font:08}Servant{br} {font:00}I'm sorry, the Beoulves are{br} not taking visitors at the moment.{end}
//Message x02 {font:08}Magnus{br} {font:00}Don't worry, this won't{br} take me long.{end}
//Message x03 {font:08}Guard{br} {font:00}That was no random bolt!{br} INTRUDER!!!{end}
//Message x12 {delay:05}Meanwhile,{delay:14} {delay:05}at Igros{delay:14},{br} {delay:05}capital of Gallione{delay:14},{br} {delay:05}Beoulve castl{delay:2D}e{end}
//Message x13
PS: I assume I should remove all units when the map changes (a couple of them appear in the Igros Office)
PPS: shall I post further help questions in this topic and change it's name, or mark it as solved and start a new one when needed?
Title: Re: CONMAN SCREWS EVENTS
Post by: 3lric on July 03, 2014, 10:02:23 pm
You have the right idea adding in that wait, the reason this happens is because an effect casted on a unit resets the unit, so what you need to do is find that exact amount of wait time before calling the death frame, otherwise he will get right back up. I usually do a Wait(00050) and work down from there. Currently you have a Wait(00030) wish is likely just not long enough, which is causing your issues.
If you have other questions not concerning this error it (for the sake of new eventers looking for solutions) would be better to mark as solved once it has been and make another topic for the next question.
I hope this solves that first issue atleast, and you can usually always find me on IRC if you need a faster response.
For the changemap, are you using the new config? cuz the original Changemap and the one we have now function differently, the new one will darken the screen first, then you can switch the map with the byte it uses. Once you change it it's like beginning a whole new event, you have to use a camera and its associated commands again just as you did at the beginning of the event. Saying this, what I normally do when using changemap is delete the chars I don't want on screen before using the camera functions to reveal the new map.