Question: Combat while swimming

drdax

Member
Hi folks - is there a way to enable combat while swimming ? I have an idea, but need this functionality to move forward. Any thoughts of where to look ?
 
Viaron said:

Yes.

Don't mask me how, but it shouldn't be too hard. Getting it to where it looks pleasing might take more effort though.
 
ok, next question, can I make a creature that is restricted to only water? LOL I know but hey ... any pointers would be great.
 
Timbab said:
Viaron said:

Yes.

Don't mask me how, but it shouldn't be too hard. Getting it to where it looks pleasing might take more effort though.

States thing, there was combat while swimming back when states were a wip if I recall correctly.

But yeah its all controlled by states whether something can do something or not, all server side.
 
Uli said:
Timbab said:
Viaron said:

Yes.

Don't mask me how, but it shouldn't be too hard. Getting it to where it looks pleasing might take more effort though.

States thing, there was combat while swimming back when states were a wip if I recall correctly.

But yeah its all controlled by states whether something can do something or not, all server side.

Thanks All.. any thoughts on the second question: Creature confined to water only? i.e. can't traverse land? example rivers and lake / ocean shores.. or would i need to spawn the creature far enough out to sea, based on the AI random movement and tethering .. a big ask I know.. but I am thinking one word here ....

SHARKS
 
If you figure it out, make a command for it too. Banning players to water only will be a great new way to abuse admin permissions.
 
Viaron said:
If you figure it out, make a command for it too. Banning players to water only will be a great new way to abuse admin permissions.

I checked in to catch up and literally spit out my coke (and whiskey) laughing at the this evil, yet so funny visual !!

Now it MUST be done! Any guidance out there would be appreciated... (still laughing as I type this)

PS: it's Shark Week on Animal Planet
 
Have a look at these files that handle how "creature" works. Player is one part creature and one part player, but mobs are all creature.

Core3/MMOCoreORB/src/server/zone/objects/creature/CreatureObjectImplementation.cpp
Core3/MMOCoreORB/src/server/zone/objects/creature/CreatureState.h

I have no idea where you would program it and to make it work properly would require a lot of brain power to achieve. Spawning only in water, how do you read the water constraints and apply pathing changes in a smooth manner, can you move the player in 3D and if not is it worth the effort... lots of questions there, but no answers. Good luck to ya! :)
 
Back
Top