Customization

Odd tests are odd…

New UE3 build this week, which delayed work in other areas a bit, but no matter.

After finishing an update of this kind, I like to check things by making a quick map in the editor, chucking in random stuff and running it with multiple players. I was already in the process (before the update) of more tests involving loadouts, so I thought I’d combine the two.
dev_ingame_20130227a
Basic bot code has been sitting there for ages. I just created a nav mesh, told them to use a loadout and let em’ rip. Considering the level of asset optimisation (none) and the age of the machine (2008), I’m happy with the results.

Also been testing and updating firearm related code.
With any luck, we’ll be shooting at each other soon, which will be nice.

You know, read out of context, that could sound weird…

-Kris

Work on loadout replication continues…

Pretty rough (lighting etc), but the information travels across the network correctly, which is the most important thing.

dev_ingame_20130213a

Loadouts are saved in the JSON format to make sharing and editing them a lot easier. To make this easier to send across a network, the client will take this loadout and reduce it down to references from a item list that has been synchronised between the server and client, then send that to the server.

After verifying its contents, based on admin, gametype or scenario restrictions, the server then distributes this to all the clients, as required.

This allows for plenty of player customisation, but ensures that the server remains king.

Another decent step towards a playable build 🙂

-Kris

Fun with replication!

Working on replicating loadouts – both player and item – from server to client.

Since items can attach to other items, there is a chance that attachments will run several layers deep. To test this, I added an attachment point to the ACOG and created a new weapon loadout to abuse it.

The following is the in-game results…

dev_ingame_20132010a

I had to laugh.

Needless to say, no, you won’t actually be able to do this in the final game 😛

Either way, it feels good to be working on gameplay related stuff.

-Kris