Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

9 Pages V  « < 2 3 4 5 6 > »   
Closed TopicStart new topic
> Factions (Reborn), Show reputation with factions YOU create and use them for many things
SojaBird
post Jan 25 2009, 02:22 AM
Post #61


Level 51
Group Icon

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




Haha yea sure.
I see you've edit the script it self.
Though what you should do is import the script you have/can download(ed), and than in a event (not the script editor), go to the thirth tab and choose the "call script" (3th tab, botom left). There you get a textfield where you should past this code:
CODE
add_faction("Harmony Sentinels", 25000, 0, "The faction that rule all of the golden orbs of justis.", "sentinels")
Now the faction "Harmony Sentinels" will show up in the faction window. The value of the faction is 0/25000. Also, the description in the will show "The faction that rule all of the golden orbs of justis." The name of the picture that is shown, wich is placed in the folder "../mygame/graphics/pictures" has the name "sentinels.XX"

Hope that helped...
I'll make a demo soon. I promis


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
   
carlopb
post Jan 25 2009, 09:19 AM
Post #62



Group Icon

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




Thanks Pim, it worked!

I may use it for my next game:D
Go to the top of the page
 
+Quote Post
   
SojaBird
post Jan 25 2009, 10:34 AM
Post #63


Level 51
Group Icon

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




Haha yea sure you do.

I'm going to try and modify the shop window and all so that only item's can be bought when a sertain value is reached smile.gif ...or is it allready posible to set a conditional brance with a faction value? (well it is already, though only for scripters who know how to do it (going to make it more easy)).


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
   
Omnisterra12
post Jan 31 2009, 05:40 AM
Post #64



Group Icon

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




Hey there, Pim.
I'm kind of new to using RPG Maker VX (RPG maker in general). I messed around with VX for a little without using scripts. Now that I'm getting a hang of things, I want to start using scripts, and this Faction thing was the one that caught my eye on this site. I copied and pasted everything, made no modifications whatsoever. I tested it out by making some event NPCs on a random map so that they may increase/decrease my factions, just so I could see how things worked. Everything worked fine. I took a little break from my laptop, and when I came back to pick things back up, I get an error when I start my game:

Script 'Factions' line 360: SystemStackError occurred.
stack level too deep


And I can't go into my game. sad.gif I don't write scripts, so I have nooo idea what it means. I even repasted and copied everything exactly from this site. Everything was working fine for awhile, then this just popped up! Keep in mind I didn't modify anything. @_@ I don't know if it's a bug
or what. Help! hehe

I did read earlier in the thread someone had problems with Factions being saved, but I thought that was fixed. Maybe this has something to do with it? x_x

RSVP XD I would like to use this script. Very cool!
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 1 2009, 02:17 PM
Post #65


Level 51
Group Icon

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




Hey Omni,

The problem you're getting only pops up when there are more of the same scripts are used.
Go ahead a try to find out if you have pasted the script multiple times (that's what I think it is).
If the error still appears (wich shouldn't...), try to past the script (once) in a new project. That should work.

Hope you got it working (if not, you may pm the a link to your project file).


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
   
mindedpuppet
post Feb 4 2009, 10:48 PM
Post #66


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




can you give negative point for factions? like in wow, where you start off neutral and if you do bad things to that faction you become hated.

also is there a way to change the debug mode from F5 since in my game F5 is the chat feature... so ya... lol ty for any help. ^^

This post has been edited by mindedpuppet: Feb 4 2009, 10:50 PM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 5 2009, 01:53 AM
Post #67


Level 51
Group Icon

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




Hey Puppet,

Yep, you can give negative points to factions.
Just use the remove faction value option or the set faction value option (wich are call scripts, check the script how it works).
The bars will also color red instead of green when they're negative instead of positive.

For the F5 thing, go in the script and look for the Scene_Map edit.
The most easy way to do this is doing the next
  • ctrl+f
  • print_faction_data (find the on in the Sene_Map edit)
  • change the code if $TEST and Input.trigger?(Input::F5) to something you like (for example if $TEST and Input.trigger?(Input::F6))


Hope it helps.


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
   
mindedpuppet
post Feb 6 2009, 09:58 PM
Post #68


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




QUOTE (pim321 @ Feb 5 2009, 01:53 AM) *
Hey Puppet,

Yep, you can give negative points to factions.
Just use the remove faction value option or the set faction value option (wich are call scripts, check the script how it works).
The bars will also color red instead of green when they're negative instead of positive.

For the F5 thing, go in the script and look for the Scene_Map edit.
The most easy way to do this is doing the next
  • ctrl+f
  • print_faction_data (find the on in the Sene_Map edit)
  • change the code if $TEST and Input.trigger?(Input::F5) to something you like (for example if $TEST and Input.trigger?(Input::F6))


Hope it helps.


Greatzz,
SojaBird.


Thank you so much man, haha, my whole game plot is around competing empires. So i really needed this awesome faction script. Sweet work man. keep it up!
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 7 2009, 12:02 AM
Post #69


Level 51
Group Icon

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




Thanks biggrin.gif
If you have any suggestions, I like to hear them.


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
   
mindedpuppet
post Feb 7 2009, 12:46 AM
Post #70


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




QUOTE (pim321 @ Feb 7 2009, 12:02 AM) *
Thanks biggrin.gif
If you have any suggestions, I like to hear them.


Greatzz,
SojaBird.


ya, definitely, give me a couple days to tinker with it more and ill give you some more feedback, lol ^^
Go to the top of the page
 
+Quote Post
   
mindedpuppet
post Feb 7 2009, 01:27 AM
Post #71


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




QUOTE (mindedpuppet @ Feb 7 2009, 12:46 AM) *
QUOTE (pim321 @ Feb 7 2009, 12:02 AM) *
Thanks biggrin.gif
If you have any suggestions, I like to hear them.


Greatzz,
SojaBird.


ya, definitely, give me a couple days to tinker with it more and ill give you some more feedback, lol ^^


hey, i was wondering if there is a way to have the rep script not to reset the Esc options? (i.e. in my game i dont have/need a save feature, but when i input the script the save feature returns. how can i get rid of just that) besides everything else is working amazingly)

also im trying to set it so when an enemy dies it will give and take rep but for some reason the script for value changes isnt working. this is what im placing in the script area: add_faction_value("Faction", 2) - thats what i put and it goes through with no errors but it doesnt work )=

This post has been edited by mindedpuppet: Feb 7 2009, 01:28 AM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 7 2009, 03:44 AM
Post #72


Level 51
Group Icon

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




Hey,

First of all, pls don't dubble post but use the edit button.

For the savething you're talking about, and this Esc option...I don't get it realy. What is it that you want to do and what happens now.
Also, how did you get rid of the save function? Cause perhaps my script rewrites that part.

For the reputation when an enemy dies, you could set in the troops window, an action when the enemy dies (0% hp), a call script to add a value.

Also, when you want to changes things in the script, you should use a call script in an event. In the script editor, only edit the marked part (modules at the top). Read the instructions there on how to use the call scripts.


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
   
sasofrass
post Feb 7 2009, 07:38 AM
Post #73


I can event anything.
Group Icon

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




make pics I want to see smile.gif


__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 7 2009, 07:41 AM
Post #74


Level 51
Group Icon

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





This is one from out the beta. 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
   
mindedpuppet
post Feb 7 2009, 11:30 AM
Post #75


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




i did read all of it on all the call scripts and such. idk, ill just need to fidget with it more. lol, now onto the main reason on hand for the save issue. The issue Im having is that im making an MMO Rpg. So my game for me and my clients are all hooked up to a database that save the players location automatically, so when the player presses the esc button to see their options the save button isnt there. but when i place the rep script in i noticed that the save feature returned, is there a way i could fix this? I really hope there is a way cuz ive looked at all your scripts and they are all so awesome! happy.gif

____________

after looking at the script for a lil bit i found a tid bit of code that might be the reason. can i get rid of s6?
CODE
# Add's an option to the menu
class Scene_Menu < Scene_Base
def create_command_window
s1 = Vocab::item
s2 = Vocab::skill
s3 = Vocab::equip
s4 = Vocab::status
s5 = SojaBird_Factions::You_Name_It
s6 = Vocab::save
s7 = Vocab::game_end
@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])
@command_window.index = @menu_index
if $game_party.members.size == 0 # If number of party members is 0
@command_window.draw_item(0, false) # Disable item
@command_window.draw_item(1, false) # Disable skill
@command_window.draw_item(2, false) # Disable equipment
@command_window.draw_item(3, false) # Disable status
end
if $game_system.save_disabled # If save is forbidden
@command_window.draw_item(4, false) # Disable save
end
end


_______________________

never mind i solved it! ^^ had to change the save code at s6 into what the other script that was originally there

This post has been edited by mindedpuppet: Feb 7 2009, 02:23 PM
Go to the top of the page
 
+Quote Post
   
SojaBird
post Feb 8 2009, 04:39 AM
Post #76


Level 51
Group Icon

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




Hehe oke wink.gif
Nice.

Also remember to store the factionvalue's of the players to your database, so that it isn't reset when they restart the game 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
   
mindedpuppet
post Feb 8 2009, 05:20 PM
Post #77


Level 3
Group Icon

Group: Member
Posts: 30
Type: Writer
RM Skill: Skilled




QUOTE (pim321 @ Feb 8 2009, 04:39 AM) *
Hehe oke wink.gif
Nice.

Also remember to store the factionvalue's of the players to your database, so that it isn't reset when they restart the game biggrin.gif


Greatzz,
SojaBird.


lol ok, if i notice that the faction info isnt staying ill know why ^^
Go to the top of the page
 
+Quote Post
   
Kovu
post Feb 8 2009, 10:11 PM
Post #78


NEWB HUNTER
Group Icon

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




Demo? smile.gif


__________________________
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 Feb 8 2009, 11:28 PM
Post #79


Level 51
Group Icon

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




@mind
Hehe, oke wink.gif If ya can't figure it out, just contact me biggrin.gif

@Kovu
Oke, I'll try making one today 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
   
Kovu
post Feb 9 2009, 07:39 PM
Post #80


NEWB HUNTER
Group Icon

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




Wooooooooooooooohoo! Thankies.

It doesnt have to be big, just enough to show newbs like me on how to use it biggrin.gif.


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

[Show/Hide] Starwars
Go to the top of the page
 
+Quote Post
   

9 Pages V  « < 2 3 4 5 6 > » 
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 June 2013 - 09:52 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker