FOnline Development > Questions and Answers
Create a turn based map?
KingR:
Hi guys!
Do you know how i can make a turne based map or modify a real time map? The engine determine this at the creation of the map, and l want to test a self made donjeon in turn based, but i dont find the solution in the scripts or in the mapper
Thanks for your help!
KingR:
If is it to diffilcut, another stuff : modify the regen rate of Actions Points, but just for mob ;D
It's very hard questions i know ^^
Slowhand:
--- Quote from: KingR on April 13, 2021, 12:48:32 am ---Hi guys!
Do you know how i can make a turne based map or modify a real time map? The engine determine this at the creation of the map, and l want to test a self made donjeon in turn based, but i dont find the solution in the scripts or in the mapper
Thanks for your help!
--- End quote ---
The user can decide they want to play a map rt or tb as long as it's instanced for them only. They can do this in client options, use foconfig.exe or other configs to set. So for a quest location it can be turned based without any change on server side.
KingR:
Thanks Showhand! I know this, I have download the Server version of Reloaded 2 season, and I mod it for fun.
For quest i found this : MODE_DEFAULT_COMBAT
/**< Get the location, allow turn based mode in it, and disable auto garbage, this way the player can revisit the map. */
Location@ location = GetLocation(loc);
if(player.Mode[MODE_DEFAULT_COMBAT] == COMBAT_MODE_TURN_BASED)
SetTurnBasedAvailability(location);
location.AutoGarbage = false;
But don't work when I copy this, because that's be modified? (location with coordonate?)
Do you know the script emplacement for definition of combat mode in game by default? (to forced the engine?)
I think it's in the Engine and i don't found.....
Do you know where is the code (script line?) to change the Caravan's combat mode at last?
Thanks for your help!
KingR:
Can we add a line in the FonlineServer.cfg to change the default's combat mode?
My .cfg client (FOConfig) was already in TB
Navigation
[0] Message Index
[#] Next page
Go to full version