Night.png);">
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/MZ

Apprendre
RPG Maker

Tutoriels
Guides
Making-of

Dans le
Forum

Section Entraide

Sorties: Star Trek: Glorious Wolf - (...) / Sorties: Dread Mac Farlane - episode 3 / News: Plein d'images cools créées par (...) / Sorties: Star Trek: Glorious Wolf - (...) / Jeux: Final Fantasy 2.0 / Chat

Bienvenue
visiteur !




publicité RPG Maker!

Statistiques

Liste des
membres


Contact

Mentions légales

309 connectés actuellement

29185860 visiteurs
depuis l'ouverture

6125 visiteurs
aujourd'hui



Barre de séparation

Partenaires

Indiexpo

Akademiya RPG Maker

Blog Alioune Fall

Fairy Tail Constellations

RPG Maker VX

Kingdom Ultimate

Lumen

Eclipso

Le Temple de Valor

Tous nos 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 (163 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: http://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: http://cherrytree.at/download/?did=22

Best regards,
Cherry

Cherry = CherryDT | http://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 (163 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 | http://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 (163 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 | http://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 | Forum | Chat | Commentaires | News | Flash-news | Screen de la semaine | Sorties | Tests | Gaming-Live | Interviews | Galerie | OST | Blogs | Recherche
Apprendre: Visite guidée | RPG Maker 95 | RPG Maker 2003 | RPG Maker XP | RPG Maker VX | RPG Maker MV | Tutoriels | Guides | Making-of
Télécharger: Programmes | Scripts/Plugins | Ressources graphiques / sonores | Packs de ressources | Midis | Eléments séparés | Sprites
Jeux: Au hasard | Notre sélection | Sélection des membres | Tous les jeux | Jeux complets | Le cimetière | RPG Maker 95 | RPG Maker 2000 | RPG Maker 2003 | RPG Maker XP | RPG Maker VX | RPG Maker VX Ace | RPG Maker MV | Autres | 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
Archives: Palmarès | L'Annuaire | Livre d'or | Le Wiki | Divers