iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Reply to this topicStart new topic
> Encounter Rates, Set a specific rate of encounter for each indiviudal troop.
Rating 5 V
Mithran
post Dec 7 2008, 01:37 PM
Post #1


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




Encounter Rates
by Mithran


Introduction
By default, all troops are encountered at a completely even ratio depending on the list given for the map. There is no way to make a certain troop be rare, and another really common without flooding the map or area encounter list with a single type of troop. This simple script changes that problem.

Features
- Changes the chance for you to encounter a certain troop

Screenshots
N/a

How to Use
Follow the instructions in the script.

Demo
None needed

Script
» Click to show Spoiler - click again to hide... «


Credit and Thanks
- Mithran

Author's Notes
A simple script, use or modify as you see fit. Let me know if you have any questions.


--------------------
Go to the top of the page
 
+Quote Post
   
Blank
post Dec 8 2008, 03:41 AM
Post #2


Lord o' Death <BLANK>
Group Icon


Type: Designer




oh this is cool nice little add on, thanx.


--------------------
Go to the top of the page
 
+Quote Post
   
ANI-VVB
post Dec 30 2008, 06:35 AM
Post #3



Group Icon


Type: Spriter




ohmy.gif I do't like giving bad news, but ...
I think there is a easier way to change the rarity of the enemies ...
If you want an enemy more common than another, just add the enemy more times in the same area.

Example:
If you add 5 Slime and 1 Bat, then there will be a 1/5 of chance that appear a Bat in that area. wink.gif

tongue.gif But... I haven't verified this... I guess that can be done that way, because it's easier...


--------------------
<<====================================================================>>

/----------------------------------------\

\----------------------------------------/

Which Final Fantasy Character Are You?


<<----------------------------------------------------------------------------------------------------------------------------->>

/-----------------------------------------------------------------------------------------\

\-----------------------------------------------------------------------------------------/

Take the Magic: The Gathering 'What Color Are You?' Quiz.


<<====================================================================>>
Go to the top of the page
 
+Quote Post
   
BigEd781
post Dec 30 2008, 06:36 AM
Post #4


No method: 'stupid_title' found for 'nil:NilClass`
Group Icon


Type: Coder
Alignment: Chaotic Good




QUOTE (ANI-VVB @ Dec 29 2008, 10:53 PM) *
ohmy.gif I do't like giving bad news, but ...
I think there is a easier way to change the rarity of the enemies ...
If you want an enemy more common than another, just add the enemy more times in the same area.

Example:
If you add 5 Slime and 1 Bat, then there will be a 1/5 of chance that appear a Bat in that area. wink.gif

tongue.gif But... I haven't verified this... I guess that can be done that way, because it's easier...


You are correct sir wink.gif, although the chance to encounter a bat would be 1/6.


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
Mithran
post Dec 30 2008, 06:51 AM
Post #5


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




This is exactly what this short little script is intended to do. It simply adds the denoted amount of each troop to every encounter list they appear in. I found it much less time consuming to set a couple database note tags than repeatedly add several of each enemy to stack the odds against finding a certain one. FYI, this script will 'stack' with adding several of the troop to the encounter list, IE, each iteration of the troop in the map encounter list will add the number set in the database tag to the actual encounter list. Feel free to use either, or both, however you want, just thought someone might find it useful (it was *really* annoying making a 'rare' monster in the traditional way).


--------------------
Go to the top of the page
 
+Quote Post
   
ANI-VVB
post Dec 30 2008, 07:04 AM
Post #6



Group Icon


Type: Spriter




You're right about that
To do it the easiest way would create a big problem with the data.
dry.gif And... yes ... it was annoying...

(I think that only serves to confuse more the poor noobies... tongue.gif )

laugh.gif Sorry!


--------------------
<<====================================================================>>

/----------------------------------------\

\----------------------------------------/

Which Final Fantasy Character Are You?


<<----------------------------------------------------------------------------------------------------------------------------->>

/-----------------------------------------------------------------------------------------\

\-----------------------------------------------------------------------------------------/

Take the Magic: The Gathering 'What Color Are You?' Quiz.


<<====================================================================>>
Go to the top of the page
 
+Quote Post
   
Articorse
post Jan 30 2009, 10:26 PM
Post #7



Group Icon


Type: Musician




Another great script, Mithran, thank you! Tried and works perfectly! This'll work well with the Blue Mage script to make the monsters that use the best techniques be harder to find. smile.gif
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th July 2014 - 05:35 PM

RPGMakerVX.net is an Privacy Policy, Legal.