Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Start battle on the map the player is located ?

A topic by Olahm created May 03, 2023 Views: 148 Replies: 3
Viewing posts 1 to 4

Great Plug-in ; I purchased it yesterday, wishing for a compatibility with Aerosys' random maps generator. It does work to my surprise !

What I try to create is a dungeon exploration game with TBS battle, but I want to let the player the choice to avoid conflict by different meanings. You could interact directly on map with wandering enemies (freeze them, kill them from afar without procing a real tbs fight etc) to focus on exploration/looting treasures.

I have a question regarding the way the battle starts, specifically how the transition to battle maps is done.

See, I have random dungeons with monsters wandering. Currently,  with your plugin, when entering the dungeon, the tactical battle starts, making exploration tedious.

What I wish to achieve for now is to start the battle on say, enemy direct interaction (event touch, but it could be through the use of a range activation plugin). Using your plugin command to able/disable TBS  on the map I'm currently in doesn't seem to work. 

Is it tied to how the plugin works, or is there a way to do what I intend ?

Also, is there a way to leave battle if on a specific tile/region ID/at a certain distance away from the enemies ?

Or get an event to teleport on an enemy tbs starting tile ? For say, If I want to get an additinal enemy in x range from the enemy the battle is starting with to get involved in the fight and be teleported there ? Or just check if an enemy event is in x range of the fight, and if so, add this additional enemy to the battle. Reinforcement, in a sense ?

That's a lot to answer, but I wish you will take the time to do it, have a great day !

Developer

That seems more like a roguelike than an SRPG from what I'm reading, correct me if I'm wrong. 

Now, what you're asking for is completely against the design of the plugin as it generates characters for the battle rather than use the player character itself.

I'm short, there isn't an easy way to do it without changing the battle flow controller via code

Developer

Alternatively, if what you're looking for is to stop the camera pan unless the enemy is within range then that's another story and is actually simple to do via code

(2 edits)

Thanks a lot for your quick answer :) 

Well it would have several aspects from both types of game, like the Divinity franchise : Upon in range from an hostile enemy, or attacking a character would proc the fight, otherwise you're free to roam around)

Do you think it will work if upon touching the enemy I save player's coordinates, tp out, then tp into the map with TBS enabled ?

By camera pan, you mean the intro sequence of camera locked on each enemies ? That's interesting, but would it still trigger enemies not focused by the camera ?   

[Edit] There is no conflict between the randomly generated dungeons and TBS. TPing out and in do activate theTBS. The only issue now is character positioning. Is there a way to force Enemies/Actor to be placed on x y coordinates registered as a variable rather than  the use of region ID ?

thanks for your appreciation