Jump to content

MP NPC Saber Styles?


Recommended Posts

Posted

Has anyone found a way to get NPCs in multiplayer to respect the saber styles given to them - or to the saber they use?

 

I believe the NPC files mostly work for Single Player but it is in fact the .jkb file that makes an NPC work in Multiplayer. If a model does not have a .jkb file then one must be created for it -- I assume.

Posted

The .jkb files are for bots, which are different from NPCs.

Bots are problematic as well; as far as I know, there's no way to set saber styles (or specific sabers) for them. Plus, a lot of custom maps don't have pathing and they wind up jumping around the entire time.

 

In SP, you can handle all of this in the .npc files and they respect their programming, but the same NPCs spawned in MP seem to disobey certain settings. They're all lightning-fast when it comes to sabering, which no amount of tweaking things like reaction, run or yaw speeds, etc. seems to have any effect on. No matter what class I've tried setting them at, they default to the fast saberstyle.

Posted

I'm not sure if the MP Code is set up to read NPC files.If not then it wont change anything if you alter the NPC file.

 

It is possible to set saberstyles for the bots,by building a simple class system in the code.

Stoiss did a class system in EoC and he built it so you could set the bots up in a similar fashion to NPC,s.

 

Bots can also be coded to run a way-point path-finding code on maps without bot routes.

 

The reason that NPC,s are shit at sabercombat is because some code is missing in MP Code that SP code has.

 

I have been looking in to a similar issue with bots and NPC,s for MP.

 

Im bridging the Bot code with a large portion if the NPC code, with a complex bot class system, Forcing the bots to use some NPC code in certain circumstances.

 

The results are Mixed, but its early days yet.

Posted

That's the problem, NPC's don't work in MP, the game has 2 separate engines, what works in 1 doesn't always work in the other.

 

With the source code released, shouldn't it be fairly easy to fix (for someone who understands the source)?

Posted

just becours the full source has been released, does it not mean it is more easy to make it happen..

it still use a diff way of how the npcs behavie and works in sp for how they do in mp, the npc code in mp was a really pure port of the sp code, and has always been a pain to work with, maybe thats why no one really never have done somthing awesome with them, i only know one mod there have improved npc ai, witch was JKG, and later got a huge improvement in my mod.

Serenity937 likes this
Posted

It is a bit of a nightmare,as I said "Mixed Results".

 

I've combined a extensive bot_class system ,with a heavily modded bot AI system,that uses small pieces of code moved from the NPC AI and slightly altered and placed in the bot AI system.

 

lots if issues.mixed results.

 

I might do a video when its worth looking at.

 

Stoiss has his finger on the pulse better than me with this one.

Posted

the npcs don't need a bot class system to behavie like we did it in EoC, that was for bots and not npcs :)

npcs has its own class system setup, and it is not the class stuff there is broken, but how the npcs does its stance, i remember seeing this for OJP:E source where //[stanceselektion] is done in some of the npcs code. where it tells it to Swift stance more in combat

Posted

With the source code released, shouldn't it be fairly easy to fix (for someone who understands the source)?

With a gardening hose, shouldn't it be fairly easy to put out a forest fire?

...

Posted

While we're at it, the default vertical attack in MP needs to be corrected so that it's horizontal when the view is on a level plane. Basically we need to find a way to replace multiplayer with single-player.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...