Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

8 Pages V  « < 5 6 7 8 >  
Closed TopicStart new topic
> AutoLight Reborn, Draw lights, shadows, spots and eventlights!!
SojaBird
post Aug 8 2010, 02:32 AM
Post #121


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey

Yea so a call script event is some action to do something with a script you're using.
Actualy it's pure coding.
So I'm not sure now how it goes with tge autolight cause I'm not fully functional at the moment on my iPod.
Though open the script and I'm sure there's some help in there.
I'm sertain that I've written special and easy to use call-script options in the script.
I thought it was something like
CODE
AL.mode = 1
but I'm not sure.
I should check the script when I'm back @ home again smile.gif


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
CroniX
post Aug 8 2010, 05:48 AM
Post #122



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




I couldn't find any help but I tried to make an event and clicked on advanced>Script... and wrote "Al.mode = 1", but when I start the game and activate it I get an error called : NoMethodErroroccured while running script. Undefined method `Mode=' for AL:Module.
Go to the top of the page
 
+Quote Post
   
SojaBird
post Aug 8 2010, 11:51 AM
Post #123


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey,

Oke so open the script and go to the part where it says "call scripts".
There you find all the info you need.
Not sure but perhaps its
CODE
AL.mode(1)
Make sure you check the script though.


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
CroniX
post Aug 8 2010, 01:41 PM
Post #124



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




Thank you. It works now ^^
I'm sorry I know nothing about scripting unsure.gif
Thanks again, great Script!
Go to the top of the page
 
+Quote Post
   
SojaBird
post Aug 8 2010, 02:57 PM
Post #125


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




No proplem.
I'm here to help.
Enjoy!!

Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
Legion Saga
post Aug 25 2010, 03:49 PM
Post #126



Group Icon

Group: Member
Posts: 3
Type: Event Designer
RM Skill: Advanced




It's not working when you encrypted a project the script cannot read the following graphics:

QUOTE
FileTest.exist?("Graphics/Pictures/#{file}#{format}")

I think its because there's no such thing as Graphics folder anymore and if the script checks if a light/shadow graphic for that map existed
it returns false...

what i want to know is how to make it so that they will check if the file exist inside the encrypted > Game.rgss2a

I found out that thats the bug preventing an encrypted project to check if file existed... so its returning false
ending up displaying nothing

This post has been edited by Legion Saga: Aug 25 2010, 03:51 PM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Aug 26 2010, 12:59 AM
Post #127


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey there,

Darn I hadn't tested that when I made the script...
It's a pretty nasty bug wich makes the script quite useless since you want to encrypt your game at some point obviously.
This encrypting though, is also a problem I have to solve for me.
Cause, you see, the encrypting is to protect the gamefiles so they can't be red anymore (not easily at least).
So I have to find a tiny hole in that encryption so I can see what files are in there.

I'll have a look at it rather soon, cause well... This should just be solved.
Thanks for letting me know smile.gif


Greatzz,
SojaBird.

ps. I'll post back here when I know anything more.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
kreaven
post Sep 13 2010, 01:42 PM
Post #128



Group Icon

Group: Member
Posts: 4
Type: None
RM Skill: Undisclosed




I've been wondering, will you develop the already almighty script (besides the "bug" solution)? I don't know what others think, but for me another - independent - light mode would be of great help.
I'm using your script instead of Thomas Edison VX, 'cos it gives much better results - like no pixelation. Then again, with your script as it is, I can't assign independent light modes to street lamps (lit at night only) and indoor candles (lit round the clock). I know it's easy to get round this, but the actual situation in my little game is a bit more confusing, which makes it hard to explain. I just wanted to give you a basic insight into the problem.
Go to the top of the page
 
+Quote Post
   
SojaBird
post Sep 13 2010, 02:37 PM
Post #129


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey kreaven,

You actualy can set independant lights.
The newest version of the script also includes the lightmode EventLight wich makes it possible to set a infinite amount of light-sources by making them correctly with a event.
You could try the demo to see how they work smile.gif

I'm sure you'll figure it out biggrin.gif


Greatzz,
SojaBird.

ps. Let me know if you need anymore help, I'm glad to help.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
kreaven
post Sep 15 2010, 04:19 AM
Post #130



Group Icon

Group: Member
Posts: 4
Type: None
RM Skill: Undisclosed




Yea, I know about that. I didn't make myself clear, sorry.

I don't like it when light gets through walls, so I just use the basic Light 'mode' for every light source, and adjust the light to fit the area/image. That way the area looks both beautiful and realistic. I don't have the slightest idea if it's possible to add another Light 'mode' or how difficult it'd be.

Thanks for a fast response. Seeing how long the script's been on already, I didn't expect the reply just the day after.
Go to the top of the page
 
+Quote Post
   
SojaBird
post Sep 15 2010, 03:32 PM
Post #131


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Hey kreaven,

Oke so what you're actualy saying is that you like to have the eventlight only show up, say at walls and not at the top of that.
I'm not sure if it's possible but I could see if I could add some kind of mask-layer for the eventlights so you can mask-off the part where you don't want that to be shown.
If I figure that out I'll be able to get a new mode out pretty quickly.
I might have a look "rather quick" since it's some new and interesting material to look into.


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
Braska
post Sep 15 2010, 03:37 PM
Post #132


Taste the frickin rainbow!
Group Icon

Group: Revolutionary
Posts: 226
Type: None
RM Skill: Intermediate




The masking part would likely need to be tied into the autotiles that are used for roof or ceilings. It would actually be pretty complicated, I think, to make that work right :S


__________________________
[Show/Hide] Witness the mystery of my SIGNIATURE! Will you dare to uncover the truth?
01001001 00100000 01100010 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100110 01100101 01100101 01101100 00100000 01101100 01101001 01101011 01100101 00100000 01100001 00100000 01101000 01110101 01100111 01100101 00100000 01100100 01101111 01110010 01101011 00100000 01100110 01101111 01110010 00100000 01101100 01101111 01101111 01101011 01101001 01101110 01100111 00100000 01110101 01110000 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01100011 01101111 01100100 01100101 00100000 01101000 01110101 01101000
Go to the top of the page
 
+Quote Post
   
kreaven
post Sep 17 2010, 02:40 PM
Post #133



Group Icon

Group: Member
Posts: 4
Type: None
RM Skill: Undisclosed




QUOTE (SojaBird @ Sep 16 2010, 01:32 AM) *
Hey kreaven,

Oke so what you're actualy saying is that you like to have the eventlight only show up, say at walls and not at the top of that.
I'm not sure if it's possible but I could see if I could add some kind of mask-layer for the eventlights so you can mask-off the part where you don't want that to be shown.
If I figure that out I'll be able to get a new mode out pretty quickly.
I might have a look "rather quick" since it's some new and interesting material to look into.


Greatzz,
SojaBird.


Thanks, that would be great as well. I think that what I'm in need of may be done a bit differently. Maybe I'm too demanding, but seeing how much the script can do as yet makes you think that it can go one step further. It already gives quite the possibilities to make realistic lighting. I'll post a screen, it'll ease the explaining.


As you see, that's the lighting I like (not complete yet). I have a candle in a different room that when lit triggers the Light mode on (through AL.light("visible", true)) and vice versa. Now, when the candle is put out, the lights in the screen's room (let's call it so) are put out as well, although they shouldn't. I found a way to get round it somehow, but it may get confusing in the future.

With EventLight I can't get same results, so I have to stick to Light at this stage. If there were two triggers, life would be easier. Of course the two Lights (two triggers = two Lights) can't be used together on one map, as far as I know, but why would I use them together? I can imagine how it would work, but I don't know how to put it into practice, so I turn to you.

Using my 'game' as an example, I blow out the candle in the first room (AL.light2("visible", false)). Then I get to the next room - a.k.a. screen's room - where the lights are still on (AL.light("visible", true); I didn't change this one to false). I hope you understand what I mean. Is it possible?

We could also apply a different approach - make the Light2 comment-dependent. When you put a comment like "cast.light(...)", the Light2 would appear. I'm not even an amateur when it comes to scripting, so I can only give some ideas.

________________________________________________________________________________

Another thing. As you see on the screen, there are no EventLights. When I put it into the right candelabra, it works wonders. When I put exactly same comment into the left candelabra, it doesn't work. I've been trying to figure it out. No success yet.

I hope I didn't make it worse with these explanations. They were to clear things up...

This post has been edited by kreaven: Sep 17 2010, 02:42 PM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Sep 18 2010, 02:43 AM
Post #134


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




@Braska
Dealing with tile-ids and such is not something I am not experienced in, so I might figure that out.
Though I'm not realy sure if I'll be using that methode to obsure the parts that shouldn't be shown.
I'll have to come up with a better solution to fix this.

@kreaven
Oke so thanks for the explanation.
I'm not sure if I understand it quite good enough but I think I know what you meen.
It's more like you would want to use the EventLight kind of setup though then for the other mode right?
Like you have several parts of the light and shadow pictures for seperate parts of a map/candel.
I actualy did though about this in the past, but it got lost in the proces making the script and time passing by.
I'm realy gonna reconcider this and see if I could work it out for a new script or script-version with lighting.

'Bout the candle thing problem not working... that's odd.
I'll have to take a look in that as well.


And in the end it all comes back to the part where I have to say when I'm able to work on this and what not.
Well, that's the hard problem.
I've left scripting behind a bit for the last year cause of my other very demanding works and projects.
Though I'm sure I'll get back to this at some point.
Getting feedback only makes me want to come back more quicker so thanks for that.

Anyways, I hope you'll be able to hold it out for a bit longer smile.gif


Thanks and greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
kreaven
post Sep 18 2010, 06:21 AM
Post #135



Group Icon

Group: Member
Posts: 4
Type: None
RM Skill: Undisclosed




QUOTE (SojaBird @ Sep 18 2010, 12:43 PM) *
Oke so thanks for the explanation.
I'm not sure if I understand it quite good enough but I think I know what you meen.
It's more like you would want to use the EventLight kind of setup though then for the other mode right?
Like you have several parts of the light and shadow pictures for seperate parts of a map/candel.
I actualy did though about this in the past, but it got lost in the proces making the script and time passing by.
I'm realy gonna reconcider this and see if I could work it out for a new script or script-version with lighting.

'Bout the candle thing problem not working... that's odd.
I'll have to take a look in that as well.


Yea, I should've put it that way in the first place - EventLight mode's kind of setup, but in Light mode. I think that would solve the problem. And don't thank me for explaining. I should thank you for reading my way too long and complicated explanations, ha ha. laugh.gif

As for the candelabras, the odd thing is, there's no problem with a similar configuration on a different map (two torches there). I'll try fumbling with it a bit, maybe I'll come out with a solution. Maybe "extracting" the map from the game will help. I'll give you the results later.

Oh, and thanks for responding so fast and good will. Most people would lose patience already.

Edit
I now know what caused the problems with EventLight. I used custom images of higher resolution. When used these in events close to the upper edge of the map, EventLight simply refused to work. Is there a way to solve this? Zooming in a small image doesn't work, just like zooming out a big one. I'm almost 100% certain you did mention something about the edges somewhere...

By the way, solving this is not that important, I guess, as you can easily get round it. Oh, and no worries, I can wait. I'll just skip over to some other things. happy.gif

This post has been edited by kreaven: Sep 18 2010, 09:46 AM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Oct 21 2010, 02:02 AM
Post #136


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




Aperently my online-free-file-server has been removed so the files went missing.
I've fixed the OP so the demo and screens are avalible again wink.gif

Enjoy!!


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
puddinman
post Mar 26 2011, 09:34 AM
Post #137


Level 1
Group Icon

Group: Member
Posts: 9
Type: Developer
RM Skill: Beginner




This is just too great biggrin.gif But I had this problem when I was using it for my game.
I'm using Yanfly's Menu script(I just wanted to point it out for reference) and every time I'd press a button to go to the menu all of the light and shadow's disappear D: I really want this script for my game but I just can't find a way around it.

Here's a screenshot




Never mind what I just said, I just found a way to fix it tongue.gif Great Script and I'll be giving you credits on it.

This post has been edited by puddinman: Mar 26 2011, 08:15 PM
Go to the top of the page
 
+Quote Post
   
Dogurasu
post Apr 12 2011, 12:32 PM
Post #138



Group Icon

Group: Member
Posts: 1
Type: Writer
RM Skill: Beginner




I love the look of this script, but I am trying to figure out how to get it to work so the player has a light on him - like he's carrying a torch or radiating light. I've looked over the demo, but there's nothing in it to show the player emitting light. Is there a way to do this with this script?
Go to the top of the page
 
+Quote Post
   
SojaBird
post Apr 18 2011, 09:55 AM
Post #139


Level 51
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Scripter
RM Skill: Advanced




@Dogurasu
Hey,

You could try to use the spotlight mode.
It kind of gives the idea that the player is holding a lightsource.

If it doesn't work, you might want to try (and I don't know if this'll work) and let a npc stick to your character wich has been set up as EventLight.

Let me know if you figured it out wink.gif


Greatzz,
SojaBird.


__________________________
Art from the highest shelf?

Scriptology, scripting podcast



HUD's Request Lobby (multiple hud-scripts)


------------------------------------------------------------------

Random Stuff
OMG, it's Hab!!


This is a crazy drawing application! (by me)

How did I learned to script
QUOTE
Hey pim! I'm the Law G14!

For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.

Thanks in advance.


Hey there,

Well I don't make battle neither though I can still teach you some things :)...
The way I've learned to script is by reading other scripts for the most part.
I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!!
The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script.
You also need to feel the competition that's around in the scripting-community.
Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P
So that's an other thing...
You also don't need to be afraid to learn from others or helpfiles.
When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember.
Then, you must be calm, cause you need to try the script a lot of times.
When I write a script, I test it after almost every changes.
First I set up the major structure.
Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base
def initialize(x,y,width,height)
super(x,y,width,height)
refresh
end

def refresh
self.contents.clear
draw_contents
end

def draw_contents
draw_something(with, some, parameters)
end

def update
refresh if @something != @what_it_should_be
end
end
So that's also very important.
Then, the biggest thing I learned scripting from is TRIAL AND ERROR.
That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.

So that's it how I did it.
Now it's up to you.
Do some requests (if I didn't do it allready :P) and learn from them.

Hope that helped you out a little.
If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials.
Perhaps they're going to be usefull for you one day ;)


Greatzz,
SojaBird.
Go to the top of the page
 
+Quote Post
   
ilmyna
post Dec 26 2011, 09:42 AM
Post #140



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Undisclosed




Gonna make an Ace version of it~
thanx for the script! XD
Go to the top of the page
 
+Quote Post
   

8 Pages V  « < 5 6 7 8 >
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 07:37 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker