Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

9 Pages V  < 1 2 3 4 > »   
Closed TopicStart new topic
> Factions (Reborn), Show reputation with factions YOU create and use them for many things
Puppet Of Fate
post Dec 9 2008, 05:21 PM
Post #21


Please join my site!
Group Icon

Group: Revolutionary
Posts: 675
Type: Mapper
RM Skill: Advanced




PICTURE REMOVED BECAUSE PROBLEM WAS SOLVED.

This post has been edited by Kira: Dec 10 2008, 12:30 PM


__________________________
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 10 2008, 01:53 AM
Post #22


Level 51
Group Icon

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




Oke that does do the trick (could you perhaps put the picture in a spoiler because of the size pls!),

I'll make an faq and demo on how to add a faction since that isn't clear enough for now.
The prober way to add a faction, is indeed useing the code you've used, though some small things are wrong.

I'm going to do an example with your values:
- Name of the faction = Harmony Sentinels
- Max value the rep can go = 25000
- Value at the introducing of the faction = 0
- Extra description of the faction = none (the standard)
- Picture of the faction = none (also the default)

Now let's make the code for that faction.
We'll start with the expresion to tell the script what to do. We want to add a factions so lets say that
CODE
add_faction
After that's done, we're going to tell it what faction he needs to add, the "Harmony Sentinels". Let's do that
CODE
add_faction("Harmony Sentinels"
Make sure you've put the name, as well as the description and picturename in bracklets (those things "..."). Now enter the max value and the starting value, wich are respectively 25000 and 0
CODE
add_faction("Harmony Sentinels", 25000, 0
For the extra description and picture, we're going to use the standards from the script. So we don't have to tell the script again what value's those should be. So we just going to forget them, they'll be fine afterall. All we have to do is end the statement to add a faction. Let's close up
CODE
add_faction("Harmony Sentinels", 25000, 0)
That's it, now the faction will be added with it's values that you've told the script to do.
If you want to add extra description, let's say "The faction that rule all of the golden orbs of justis.", we'll have to input that in the script as well
CODE
add_faction("Harmony Sentinels", 25000, 0, "The faction that rule all of the golden orbs of justis.")
Now that line of text will be displayed in the topbar, when the faction is selected in the faction-window. If you want to add a picture as well, this must be enabled in the script, you'll have to add an other last expresion to the code. Let's say we want to show the picture "sentinels" (from the graphics/picture folder). We'll turn the option to display HELP_PICTURE to true and finish the code for the last time
CODE
add_faction("Harmony Sentinels", 25000, 0, "The faction that rule all of the golden orbs of justis.", "sentinels")
That will do the trick.

If this is a bit diffecult, just wait for the videotutorial on the script...It'll be here in no time 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
   
Puppet Of Fate
post Dec 10 2008, 12:29 PM
Post #23


Please join my site!
Group Icon

Group: Revolutionary
Posts: 675
Type: Mapper
RM Skill: Advanced




Dude thanks so much! I know what the problem was though. On the actual script this is how you posted the add factions thing.

add_faction(name, max_value, start_value, *help_text, *pic)

I didn't know to put the " in. Thanks so much!


__________________________
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 10 2008, 02:58 PM
Post #24


Level 51
Group Icon

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




Haha ya I saw that =)

Though, perhaps it's a bit confusing.
I'll be making a tutorial on that in the morning.


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
   
AlbinoWalken69
post Dec 19 2008, 05:23 AM
Post #25


Level 2
Group Icon

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




hey i havent been here in awhile, exams are killing me
but i went back to my project and im still getting the same error with your script

NameError occurred while running script.
uninitialized constant Game_Interpreter::Pirates

whenever i initiate an event that creates a faction.
heres wat i used for the call script:

add_faction(Pirates, 1000, 0)

am i doing something wrong?

This post has been edited by AlbinoWalken69: Dec 19 2008, 05:23 AM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 19 2008, 06:17 AM
Post #26


Level 51
Group Icon

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




Hey AlbinoWalken,

I realy should make a F.A.Q. I'm afraid sweat.gif
Haha, yea the most common problem that occures, is the one you've countered as well.
The correct way to add a faction is, indeed, by using the code you've used...only there missing 2 little things.
CODE
add_faction("Pirates", 1000, 0)
Should be the correct code to use. Make sure that all strings that are put in a script, need to be between those things "...". Sorry for the unconviniënce. I'll make a video tutorial on the script now 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
   
AlbinoWalken69
post Dec 23 2008, 08:37 AM
Post #27


Level 2
Group Icon

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




and i have one last problem with the script lol
whenever i load a saved game that already had some factions discovered, all of the factions are completely gone from the reputation menu. i dont know wat is causing this
please help
thank you so much for all of your help so far btw, this is an awesome script
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 26 2008, 03:54 PM
Post #28


Level 51
Group Icon

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




Hey Albino,

Sorry for the delayed reaction, but you know...christmass and stuff (MERRY X-mas 2 ya all btw (better late than never)).
The problem you're getting is someone I didn't tested out jet. It seems that the faction data array (in the Game_Temp) isn't saved when a save is created...Thank's for this information, I'll do what ever I can to finished the script as soon as posible, as well as this function that simply is a MUST, so that it can come out of BETA and can be released for real.

Hope 2 cya all soon back here.


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
   
SojaBird
post Dec 29 2008, 12:17 AM
Post #29


Level 51
Group Icon

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





UPDATE
BETA ~ 7 is up, ready to be downloaded.
This time the factions you've added will be stored in the save files.

Comming up next, is hopefully that the scrolling part has been solved.


__________________________
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
   
Kovu
post Dec 29 2008, 12:27 AM
Post #30


NEWB HUNTER
Group Icon

Group: Revolutionary
Posts: 361
Type: Event Designer
RM Skill: Masterful




Anychance of a DEMO?


__________________________
All your cookies are belong yo us!
[Show/Hide] Puella Bellum

[Show/Hide] Starwars
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 29 2008, 12:50 AM
Post #31


Level 51
Group Icon

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




It's probably going to be a video demo (perhaps I'll share the made data with you afterwards).
Though I'm still upset I can't get the scrolling done.
I'm currently working on the function to have like multiple coloms of faction's, so there will be move visable...

Hey this brings me on a idea!!
Why scrolling vertical, when it can be done horizontal ohmy.gif

Haha,
Expect that function soon biggrin.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
   
Kovu
post Dec 29 2008, 01:06 AM
Post #32


NEWB HUNTER
Group Icon

Group: Revolutionary
Posts: 361
Type: Event Designer
RM Skill: Masterful




Any kind of Demo would be nice.

Lol that sounds alot easier to make too. Perhaps shortening the width of some of the stats to show more stuff?


__________________________
All your cookies are belong yo us!
[Show/Hide] Puella Bellum

[Show/Hide] Starwars
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 29 2008, 02:10 AM
Post #33


Level 51
Group Icon

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




Yea, I've actualy allready a working version...though that include's 2 different windows, wich still show the same factions.

Anyway, horizontal scrolling is going to be much more easy, since the left and right button aren't defined to a specific action jet biggrin.gif


This is going to be nice 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
   
SojaBird
post Jan 2 2009, 05:52 PM
Post #34


Level 51
Group Icon

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




NEWS FLASH!!
2:45 AM, SojaBird completed the script.


Hi everyone and welcome to the post you've all been waiting for. Now, today, at this time in the darkness of the night, the script, Factions is finaly done. It's working for 100%, so it's up to you now to make it usefull!!
  • Add factions;
  • Manage them;
  • Add, remove and set value's of the reputation;
  • Show extra discriptions and pictures;
  • Message faction-value's, using a simple "/FAC[name]"-command;
  • And much, much more!..





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
   
The Wizard 007
post Jan 3 2009, 10:53 PM
Post #35


Jack of all trades
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Skilled




Good job Pim. I've been watching and waiting for this one for a while. I'll let you know if I find bugs.


__________________________
Currently working on:

Underground Syndicate (mafioso/modern type RPG)
Mind Maze (old school dungeon crawler with a different feel)
Dragon Adventure (Dragon Quest type fangame with more customization)
Dark Grind (Survival horror RPG)
Go to the top of the page
 
+Quote Post
   
lonelyshinobi
post Jan 4 2009, 03:02 AM
Post #36


Level 1
Group Icon

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




Uhh...
Sorry...
I know this is a very stupid question, but I am new to all of these things (rpg maker and scripts), so I am a total noob...
I just want to know what is the meaning of this 'faction'??
This topic caught my eyes because there is the word 'reputation' and I am looking for scripts that will set something like reputation points that you will gain after completing quests (something like Tales of The World: Radiant Mythology)...
So, is this script the right thing??
Again, I'm sorry for asking a stupid question like this but I feel like I better ask...
Thanks for wasting your time to answer this...
Thank you...


__________________________
"If I am happy, I want to hold on to it as long as I can, but if I am sad, I want to get out of that sadness as soon as I can. Isn't that too selfish?"
Go to the top of the page
 
+Quote Post
   
Kovu
post Jan 4 2009, 03:25 AM
Post #37


NEWB HUNTER
Group Icon

Group: Revolutionary
Posts: 361
Type: Event Designer
RM Skill: Masterful




Cool you finished it! biggrin.gif

Ummm still.....Demo smile.gif Im still kinda lost with where to add the factions names.


__________________________
All your cookies are belong yo us!
[Show/Hide] Puella Bellum

[Show/Hide] Starwars
Go to the top of the page
 
+Quote Post
   
SojaBird
post Jan 4 2009, 05:36 AM
Post #38


Level 51
Group Icon

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




[Show/Hide] @Wizzard 007
Hey and thanks,

I would realy apriciate it if any of you would let me know if there are bugs or things that would be usefull to implent in the script (such as new features).
I've dedicated a lot of my time and efford in the script, so I got somekind of connected with it. It just love it when it works as it should or better biggrin.gif

Thanks again.


Greatzz,
SojaBird.

[Show/Hide] @Shinobi
Hey,

First off all, your not wasting any of my time useless since I like it to help people to get to know my script.
With factions I meen groups of people, monsters or what so ever that share the same thoughts and all. I actualy inspired the script on the reputation thing from World of Warcraft (WoW). You see, when you complete quests in WoW, you get reputation...but only for a sertain faction you've done the quest for. For example, if you did a quest for the elfs, you get reputation with the elfs and not with the humans, since they don't care if you do, or don't do quests for the elfs.
Anyway, it's a pretty good way to display and store data such as reputation. I can reconmend you to try it out or to wait for the tutorial so that you can get an idear on what the script does and if it's usefull for you.

Anyway, don't be afraid to ask 'nooby-looking-questions', since most of the time they aren't noobish at all.
Welcome to the forum and have fun.


Greatzz,
SojaBird.

Hey hey, welcome back.

Thanks for finding my script cool biggrin.gif
The demo will come soon I hope, wich is going to be together with a video tutorial I guess.

Keep a sharp eye on the topic.


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
   
lonelyshinobi
post Jan 5 2009, 01:43 AM
Post #39


Level 1
Group Icon

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




I see, Thank you very much!
I've tried it but I don't know where to put the faction names as well...
so I'll just wait for your tutorial...

Thanks!!


__________________________
"If I am happy, I want to hold on to it as long as I can, but if I am sad, I want to get out of that sadness as soon as I can. Isn't that too selfish?"
Go to the top of the page
 
+Quote Post
   
SojaBird
post Jan 5 2009, 02:59 AM
Post #40


Level 51
Group Icon

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




Haha that's oke...
I try to make it today, though I'm not sure if I will tongue.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
   

9 Pages V  < 1 2 3 4 > » 
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: 21st May 2013 - 05:39 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker