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 > »   
Closed TopicStart new topic
> Factions (Reborn), Show reputation with factions YOU create and use them for many things
SojaBird
post Dec 3 2008, 04:18 PM
Post #1


Level 51
Group Icon

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






Version 2.0.2.02 (Reborn)
Author SojaBird
Release Date
BETA > 4-12-'08 - 29-12-'08
v1.0 (full release) > 03-01-'09
v1.2 (not released) > 07-02-'09
v1.3 > 14-02-'09
v2.0 (Reborn) > 28-04-'09
v2.0.1 (Reborn) > 01-05-'09
v2.0.2 (Reborn) > 05-06-'09
v2.0.2.1 (Reborn) > 05-06-'09
v2.0.2.2 (Reborn) > 07-06-'09


Introduction
Since I started making the demo for the script, I figured out that lot's of features were missing. So I decided to script some more funtions. Now there's a huge list of functions that can be used so make sure you'll read the descriptions on every function before you're going to do anything with the script (that's what I would reconment).

Here's a list of some of the major functions of the script:
- Manage factions and their reputation with ease;
- Allow the player to look in to the reputation stats;
- Make conditions base on reputation with factions;
- Enemy encounters can give reputation;
- Discounts and penalties can be aplied at the improved shop;
- Messages can show dynamic info about factions!!

Enjoy and have fun!


Features
BETA
  • Create and manage your own factions.
  • Use many extra features.
v1.0 (full release)
  • 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!..
v1.2 (not released)
  • A new and better print-function (scripter-tool).
v1.3
  • Set starting factions;
  • New call script "add_factions" so that you can add more factions at the same time;
  • Game_Temp changes into Game_System, so that I could scrap the Save and Load code of the factions from the script.
v2.0 (Reborn)
Some of the major functions of the script:
  • Manage factions and their reputation with ease!
  • Allow the player to look in to the reputation stats!
  • Make conditions base on reputation with factions!
  • Enemy encounters can give reputation!
  • Discounts and penalties can be aplied at the improved shop!
  • Messages can show dynamic info about factions!
v2.0.1 (Reborn)
  • Some small shopping bug's fixed.
v2.0.2 (Reborn)v2.0.2.1 (Reborn)
  • A small bug fix.
v2.0.2.2 (Reborn)

To come features
- More if sugested...


Script
Attached File  Factions.txt ( 48.04K ) Number of downloads: 1384



Customization
After reading all of the information on the options, you'll find the modification-module.
Make sure you'll make the script as suitable for you as you can.
If options you want to add, are missing, just contact me via the topic or pm.


Compatibility
VX only.

The script rewrites the following defenitions
  • create_command_window (Scene_Menu) (when no use of 'New Menu Items')
  • update_command_selection (Scene_Menu) (when no use of 'New Menu Items')
  • return_scene (Scene_File) (when no use of 'New Menu Items')
  • update_message (Window_Message)
  • update_buy_selection (Scene_Shop (optional))
  • update_sell_selection (Scene_Shop (optional))
  • decide_number_input (Scene_Shop (optional))
  • draw_item (Window_ShopBuy (optional))
  • enable? (Window_ShopSell (optional))
  • make_encounter_troop_id (Game_Player (optional))


<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide]
Screenshots</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">



</div></div></div>

DEMO v2.0.1



Installation
Put the script above main.
Make sure you read all the instructions!
Customise the script to your needs.
In game add and manage the factions by useing callscripts (see the instructions on how to do it).
Credit me pls.

TIP!
You could use 'New Menu Items' to make the script more compatible with other scripts.


FAQ
Comming if needed.


Terms and Conditions
Credit me with site, and the script is free for use in NONCOMERCIAL projects.
If anyone want some changes, please pm me or post it here, I'll track the topic.


__________________________
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
   
Garge
post Dec 3 2008, 04:24 PM
Post #2


Level 2
Group Icon

Group: Member
Posts: 18
Type: None
RM Skill: Beginner




It's spelled Faction, otherwise 9/10th of the forum goers would get the wrong idea. Joking aside, very cool script.


__________________________
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 3 2008, 04:28 PM
Post #3


Level 51
Group Icon

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




o hehe fun, srry for that...that's some great feedback tongue.gif hehe


oke thanks for replying so fast...
have some improvements?


__________________________
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
   
woratana
post Dec 3 2008, 10:10 PM
Post #4


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




Just a suggestion, you shouldn't edit the old Window_Help. It could create the compatibility issue in the future~^^

I think to create new class would be better idea. ^o^/


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 4 2008, 12:59 AM
Post #5


Level 51
Group Icon

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




oke thanks, let's do that...though I've edit it so that I doesn't changes any function or things for other helpwindows in the game...but perhaps u're right wink.gif thanks wora




UPDATE, NEW VERSION:

solves the problems:
  • Fractions > Factions (Garge)
  • Bitmap isn't drawn totaly (Garge)
  • New class for the help_window instead of editing the old one (Woratana)
  • In-messages factionvalue-display (me)


__________________________
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 5 2008, 08:38 PM
Post #6


Level 2
Group Icon

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




Whenever i try to add a faction this error comes up:

NameError occurred while running script.

uninitialized constant Game_Interpreter::Pirates

and whenever i try to open the reputation menu, i get this error:

Script 'Faction' line 250: RGSSError occurred.

failed to create bitmap

please help!
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 6 2008, 04:25 AM
Post #7


Level 51
Group Icon

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




Hey AW69,

The "NameError" caused by a "uninitialized constant Game_Interpreter::Pirates" has something to do with an other script you are running. Probably one wich get's info from, or changes the Game_Interpreter. The error occurres because the script needs a value (Pirates, in the Game_Interpreter), but doesn't have one.

The second RGSSError, seems to be occurred because of an bitmap that can't be drawn. The only posible reason when a bitmap can´t be drawn, is when it´s smaller than the minimum size of 32*32 pixels. The code for the creation of this bitmap (I guess it's the one that is on line 253 (you deleted 3 lines of info somewhere?)), is the following
CODE
self.contents = Bitmap.new(width - 32, (2 * Line_Height) * $game_temp.faction_data.size)
What it does, is setting the bitmap for the content of the faction-window. The size of the bitmap is controlled by:
  • the with of the window,
  • the Line_Height
The width of the window is set by the script itself, so it can't be his fault. The Line_Height however, is set by the user (by U). This is what seems to give the problem. The height of the bitmap needs to be at least 32 pixels high, so the Line_Height needs to be at least (32/2=)16, and the faction_data size at least 1. Though, that would meen their will always be a error if the faction array is empty...Something I've to solve. This is easily done, so expect a update in like only 5 minutes.

Now your second problem has been solved, the first one remains. Perhaps if you could post/pm me what other scripts you are using besides the faction_display [BETA], I can have a look at the error again.


Thanks for your feedback.
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 6 2008, 05:07 AM
Post #8


Level 2
Group Icon

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




i never deleted any of the lines and i made sure i copied the whole thing from your link haha
so i have no idea wat happened there lol
thanks for the help with the second problem, but with the first problem, i dont have any other scripts in my game
i only put the faction script in a game so i could test it out before putting it into my current project

This post has been edited by AlbinoWalken69: Dec 6 2008, 05:21 AM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 6 2008, 05:37 AM
Post #9


Level 51
Group Icon

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




Oke I've started a new game and insert the script...it works fine for me...though I did discoverd an ugly bug with the help-text...fixing that atm.


btw make sure you'll get the newest version...I'll start numbering them when I upload a new one wink.gif


__________________________
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 6 2008, 05:48 AM
Post #10


Level 2
Group Icon

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




ok thanks
just let me know when you update the script thumbsup.gif
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 6 2008, 06:51 AM
Post #11


Level 51
Group Icon

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




sure... nr 5 is up now...go check it out smile.gif


__________________________
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
   
SuperMaxZero
post Dec 6 2008, 09:05 PM
Post #12


Level 4
Group Icon

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




Pretty cool script, I like it. One caveat...
I didn't see the new version (if it's any different), but I think it would be neat to have a picture next to each faction; their emblem, or whatever.
Every game I know of with a faction system does it.
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 7 2008, 02:06 AM
Post #13


Level 51
Group Icon

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




Hey SMZ,

First, thanks for your reply.
The feature you're mentioning is allready in the script (from the start (version 1)). Though, it's not working on default. Go and find the customazation module (after all the call-script explanations). There you'll find the option called "Display_Picture", set that to true. In this way, the picture you've set for each faction will be displayed in front of the other information (name + bar).
Perhaps I'll include the function to set 2 different pictures, one for in the description, and one in front of the other info (does that sounds like something that will improve the script?? (or, do we want that function????)).

See how it looks 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
   
omfgkevin
post Dec 7 2008, 11:55 AM
Post #14


Level 2
Group Icon

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




Looks great! But I got this error?

http://s420.photobucket.com/albums/pp289/o...ctionError1.png
http://s420.photobucket.com/albums/pp289/o...FactionData.png
Here's the scrits I'm using

http://s420.photobucket.com/albums/pp289/o...=Scripts3-1.png
http://s420.photobucket.com/albums/pp289/o...nt=Scripts2.png
http://s420.photobucket.com/albums/pp289/o...nt=Scripts1.png


This post has been edited by omfgkevin: Dec 7 2008, 12:30 PM


__________________________
LOL THIS IS SO AWESOME XP

[Show/Hide] Can you understand this!?
Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.


Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 7 2008, 03:35 PM
Post #15


Level 51
Group Icon

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




Hey Kevin,

At first I want to say thanks for your feedback. With your help I'll get user-expirience with witch I can improve the script, as well as the description on how to use it.
The error you got, is created by the description of your factions you've added. The correct way to set the description, is by putting it in a couple of those things "your description here". So lucky for me that it doesn't has to do with all the scripts you are using, god thank it does stroke with them all =D All you have to do, is put the descriptions of the factions in those "..." and you'll be fine.


Greatzz,
SojaBird.
[Show/Hide] @AlbinoWalker
For you, AlbinoWalker,
I think your first error is caused by the same mistake Kevin made wink.gif


Greatzz again,
SojaBird.
O and ps,
I'll soon be making an FAQ and some demo-material.


__________________________
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 7 2008, 06:11 PM
Post #16


Please join my site!
Group Icon

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




I'm really want to use this but it's interacting with my Advanced Text System. When I do get around that it says there is a syntax error. Can you help?


__________________________
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 8 2008, 01:03 AM
Post #17


Level 51
Group Icon

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




Hey Kira,

I just check out the ATS script. It seems that ModernAlgabra uses the same text-substitution as I'm, the \f[...] tag. For the sake of compatability (is that a word?), I'll changes it to \fac[...] if that's a solution.


Greatzz,
SojaBird.

(it will be included in the next version)


__________________________
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 8 2008, 03:36 AM
Post #18


Level 51
Group Icon

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




srry for the bump/dubblepost, but this is about the update!

UPDATE, BETA ~ 6 released
Now the script works oke with the ATS...Though, and srry for the time it's going to cost, but \F[name] to show inmessages factionvalue has changes to \FAC[name]


__________________________
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 8 2008, 02:53 PM
Post #19


Please join my site!
Group Icon

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




Okay now it just says "Syntax error occured while running script." in the exact space where I want to add a faction. Why is that? And yes that is all it says in the little error box thing.


__________________________
Go to the top of the page
 
+Quote Post
   
SojaBird
post Dec 9 2008, 12:15 AM
Post #20


Level 51
Group Icon

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




Could ya post a pic of it pls?
Can't realy think of sth that could do it wrong...


__________________________
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 > » 
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 - 01:51 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker