Apprendre


Vous êtes
nouveau sur
Oniromancie?

Visite guidée
du site


Découvrir
RPG Maker

RM 95
RM 2000/2003
RM XP
RM VX/VX Ace
RM MV

Apprendre
RPG Maker

Guides
Tutoriels
Astuces
Making-of

Dans le
Forum

Section Entraide

News: Nouvelles informations sur RPG (...) / Scripts: RPG Maker XP Ultimate / Jeux: Marteau de Guerre / Jeux: La Question / Scripts: Dragon Quest Monster /

Chat  

Bienvenue
visiteur !




publicité RPG Maker!

Statistiques

Liste des
membres


Contact

Mentions légales

65 connectés actuellement

10659124 visiteurs
depuis l'ouverture

937 visiteurs
aujourd'hui



Barre de séparation

Partenaires





Au hasard

Le Temple de Valor

Offgame

RPG Maker - La Communauté

ConsoleFun

Le Studio du Chat Vert

Les deux derniers

Hellsoft

Planète Glutko

Nos autres partenaires

Devenir
partenaire




forums

Index du forum > Généralités > by anti-freak: [RM2k3 DynRPG Plugin] Pathfinding


Cherry - posté le 15/02/2012 à 22:00:05 (154 messages postés)

❤ 0

...has his own Fan Club

There is a first submission to the DynRPG contest, which - I think - deserves its own thread:

anti-freak from the German community has submitted the first plugin - a pathfinding plugin using the A* algorithm!

readme.txt a dit:

This DynRPG plugin allows you to use A* pathfinding to move events, i.e. they find their way from one point to another by themselves, even though there might be obstacles in the way.

>>> In the "Pathfinder\Source" folder you can find the source code of this plugin.

INSTALLATION
============

1) Make sure the DynRPG patch is installed at your game: https://cherrytree.at/dynrpg
2) Copy the pathfinder.dll file from the DynPlugins folder of the demo project into the DynPlugins folder of your game.

COMMENT COMMANDS
================

You can use the following commands with the "Comment" function of the RPG Maker:
(NOTE: You can also use the prefix "V" for parameters to read the value from a variable. You can also use more than one "V" prefix.)

@CalcPath Event ID, X, Y, Speed, Frequency, Find nearest spot?
--------------------------------------------------------------
Moves an event to a target point and finds the way automatically.

@CalcPath Speed, Frequency, Find nearest spot?
<Change Event Location> (RPG Maker-Command)
-------------------------------------------
Moves the chosen event to the in "Change Event Location" set coordinates

Event ID: ID of the event which should be moved, or "this" for the current event of "hero" for the hero (without quotes)
X: X coordinate of the target point on the map
Y: Y coordinate of the target point on the map
Speed: Speed of the movement (1 to 6 or "default"(without quotes))
Frequency: Frequency of the movement (1 to 8 or "default"(without quotes))
Find nearest spot?: Either 1 or 0. 1 if the nearest spot should be used in case the target point is not reachable.


@GetCurEventID Variable ID
--------------------------
Stores the ID of the current event into the given variable. For common events the ID is negative.



Demo and source code are included in the download.
Download: https://cherrytree.at/download/?did=22

Best regards,
Cherry

Cherry = CherryDT | https://cherrytree.at


kilam1110 - posté le 15/02/2012 à 22:09:09 (9159 messages postés)

❤ 0

OMG ! oO
How does it detect obstacles ? (Ground ID ?)
I'll try it tomorrow, this should be really useful, we've all dreamed of a real pathfinder on 2k3. Nice work from the author. :p

New RPG Maker - Forum traitant du logiciel RPG Maker tout en français ! | SURVIVE V2.5 - Dégommez du zombie !


Cherry - posté le 15/02/2012 à 22:27:12 (154 messages postés)

❤ 0

...has his own Fan Club

No, nothing about the terrain ID... It uses the same function for obstacle detection which the RPG Maker uses for movements (which includes other events, tile passability settings, phasing mode, etc.)

By the way, how can I "push" a topic at this forum? I wanted to post this submission to my contest thread but it wouldn't let me.

Cherry = CherryDT | https://cherrytree.at


kilam1110 - posté le 15/02/2012 à 23:07:05 (9159 messages postés)

❤ 0

Mmh ok, hope it works fine, thank you.
Use the UP button to push a thread, just under my post.

Edit : I just tried it ; it works perfectly, fantastic ! :bave

New RPG Maker - Forum traitant du logiciel RPG Maker tout en français ! | SURVIVE V2.5 - Dégommez du zombie !


Cherry - posté le 17/02/2012 à 07:31:08 (154 messages postés)

❤ 0

...has his own Fan Club

anti-freak has updated his plugin and added a feature (easier event/tile selection using Set Event Place user interface).

Please re-download! :-)

Cherry = CherryDT | https://cherrytree.at

Index du forum > Généralités > by anti-freak: [RM2k3 DynRPG Plugin] Pathfinding

repondre up

Suite à de nombreux abus, le post en invités a été désactivé. Veuillez vous inscrire si vous souhaitez participer à la conversation.

Haut de page

Merci de ne pas reproduire le contenu de ce site sans autorisation.
Contacter l'équipe - Mentions légales

Plan du site:

Communauté: Accueil | News | Forum | Flash-news | Sorties | Chat | Commentaires | Galerie | Blogs | Articles perso | Screen de la semaine | Palmarès | Livre d'or | Recherche | Interviews | OST | L'Annuaire | Divers
Apprendre: Le Wiki | Tutoriels | Guides | Gaming-Live | Tests | Making-of
Télécharger: Programmes | Scripts | Packs de ressources | Midis | Eléments séparés | Sprites
Jeux: Index jeux séparés | Top Classiques | Top Originaux | Les autres | Collection Oniro | RPG Maker 95 | RPG Maker 2000 | RPG Maker 2003 | RPG Maker XP | RPG Maker VX | RPG Maker VX Ace | RPG Maker MV | Autres | Jeux complets | Proposer
Ressources RPG Maker 2000/2003: Chipsets | Charsets | Panoramas | Backdrops | Facesets | Battle anims | Battle charsets | Monstres | Systems | Templates
Ressources RPG Maker XP: Tilesets | Autotiles | Characters | Battlers | Window skins | Icônes | Transitions | Fogs | Templates
Ressources RPG Maker VX: Tilesets | Charsets | Facesets | Systèmes
Ressources RPG Maker MV: Tilesets | Characters | Faces | Systèmes | Title | Battlebacks | Animations | SV/Ennemis