Help - Search - Members - Calendar
Full Version: Yggdrasil ABS
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS
Pages: 1, 2
Philip
Ok I figured it out myself LOL for those of you who are having problems with the gold droppings (LOL) find these lines in the Yggdrasil Core script:

CODE
if gold != nil || gold != 0
      cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
      cc.moveto(x, y)
      drops.push(cc)
end


and change it to:

CODE
if gold != nil and gold != 0
      cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
      cc.moveto(x, y)
      drops.push(cc)
end


the problem was with the "||" and the "and" I believe that it was probably a mistake in the coding. If you change the "||" to "and" all you have to do is put "0" for how much gold the enemy drops and it won't drop any. Cool cool!

@KaizerKirin

Like IceDragon said when he posted the script: It's not noob friendly. I take that as not user friendly either. It has taken a LOT of time to erase all of the old actions and place in my own. What I did was place the Yggdrasil scipts in my game and erased most everything and then used the Yddrasil demo as a reference on how to do everything.
KaizerKirin
ok thanks for responding ill keep learning scripting and maybe one day i can customize this although it will be a big delay to my actual project ....... sleep.gif
Takilyn
This script is simply amazing. I had been looking for something like this, because I was playing an iPod game " Zenonia " which uses a real time battle system. This is beyond what I was looking for, this have all you need for a real time battle system and MORE! I am shockingly impressed by this, and it's just amazing. I would highly recommend this for newer people looking for a battle system.
Philip
QUOTE (Takilyn @ Sep 8 2011, 09:23 PM) *
I would highly recommend this for newer people looking for a battle system.

I highly DON'T recommend this for newer people LOL!! There's a lot of scripting involved with this battle system. I'm just saying most newbs don't know the first thing about scripting (no offense to the newbs LOL).
chipino
Hey how do you change the +PWNed to say something different like K.O.?
munkis
1.6 BETA is up! Merry Christmas!
ninjakiller43
Sorry to bring up such an old thread but this is by far the best ABS.

Anyways, I can't get it to work though. I got every script copied and everything but I don't understand how to get your character to perform the sword animation and damage an enemy. I have a room with the event calling the system like this:

Control Switches: [0002:Yggdrasil_Switch] = ON
Wait: 3 frame(s)
Control Switches: [0002:Yggdrasil_Switch] = ON
Erase Event

Its set on autorun with no graphic or animation. Everything works except being able to do damage to enemies. What am I doing wrong?

P.S. I copied the events from the demo so if I made typos the event doesn't have that typo...
Rosenblack
QUOTE (ninjakiller43 @ Dec 24 2011, 06:10 PM) *
Sorry to bring up such an old thread but this is by far the best ABS.

Anyways, I can't get it to work though. I got every script copied and everything but I don't understand how to get your character to perform the sword animation and damage an enemy. I have a room with the event calling the system like this:

Control Switches: [0002:Yggdrasil_Switch] = ON
Wait: 3 frame(s)
Control Switches: [0002:Yggdrasil_Switch] = ON
Erase Event

Its set on autorun with no graphic or animation. Everything works except being able to do damage to enemies. What am I doing wrong?

P.S. I copied the events from the demo so if I made typos the event doesn't have that typo...

do you have the animations from the demo imported into your game?
Grim Tuesday
Hi.
I am trying to import Yggdrasil to my project, but there is a problem I can't figure out. I have copied the scripts from the original demo, but whenever I try to test the game, I receive the following error:

"Script 'Yggdrasil 1x6 EGN - Full' line 2208: NoMethodError occurred.
undefined method `<' for [34,87]:Array"

This is the troublesome line of the code:
" def repeat?(key)
=> return ow_dt_i_repeat(key) if key < 30"

I press F12 and the game seems to start, but when the options in the title screen are about to be shown, game shows the error and closes. Can anyone tell me what may cause this breakdown?
munkis
I'm having a little trouble with ally events. I have
CODE
DONT_SCAN_EVENTS = false
and
CODE
FULL_FIELD_SCAN = true
but the ally events will only target the player. What am I missing?
munkis
Very belated BUMP
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.