Saturday, September 23, 2017

Sub Rosa Alpha 28 notes

Alpha 28a

-new bases
-added stocks
-added car buying
-added firing option for managers
-new HUD-added open/close garage doors
-new pre/post game screens
-added mute player option

-added hold Shift to use items while driving

-city additions/fixes

-added fall damage
-added top ten list

-improved player movement
-improved shooting
-improved car physics (new differential simulation)
-improved van/minivan weight distribution

-fixed help
-fixed memory issue with Intel drivers
-fixed phone sound effects

Thursday, April 6, 2017

Cryptic Sea plan 4/6/17

Sub Rosa

The new update has been taking longer than I hoped, one of the main issues is the game is now too big for me to handle by myself.  I've been talking with a few people about helping out though, so we'll hopefully be getting that together soon.  In the meantime I've been making progress on some new systems.  It's also been cool to see people playing again, sometimes when you're working on a game you can get lost in adding new features that you forget about what's already there.  It has brought up the problems with Alpha 25 again, but I've been designing solutions to most of those.

Some of the systems I've been working on the past few months are:

Player Movement

Physics-based movement is something I've been working on for years, Sub Rosa already has some physics for the players but the legs are faked with a raycast.  I've been adding physics-based legs with balancing and propulsion, which will create a lot of possibilities for gameplay.  Some of those possibilities are:
Players stumbling when injured
Diving through windows
Jumping and grabbing on to ledges

Reputation System

One of the main problems with Alpha 25 is the imbalance with deals.  If one corporation's players have way more money than another then the poorer one can't really offer anything worthwhile.  The reputation system will mean the game can give players in a corporation more money than the deal is worth to them, but they will want complete the deal anyway otherwise their reputation will drop.

One example of how this will work would be:
Goldmen gets a disk, the corporation wants 50k for it.  Monsota wants the disk, and they get 100k to buy it with.  If Monsota can talk Goldmen into selling the disk for 50k, the players will have the other 50k to split among themselves.  However, if Goldmen sells the disk for 100k, their players can pay the 50k to the corporation and have 50k left over.  This will create the negotiations that earlier versions of the game had, and I think that would be pretty cool.

I'm also considering a reputation system and/or police for crimes, to hopefully reduce some of the chaos in the current version.

Golf for Workgroups

Golf? is a game we started working on 12 years ago, since then we've done a few jams working on different parts of the game.  It's always been one of my favorite games to play, I used to tell people it was the funnest game no one ever played.  Last year we talked with Devolver about finally finishing  up and releasing it, and earlier this year we met up for a week and got a good build of it ready.  We're calling it Golf for Workgroups, you can check it out here:

For anyone worried about this slowing down development of Sub Rosa, most of the game was already done, and the a lot the things I've been working on for Golf will be used in Sub Rosa also like:
Improved server browsing
Easier server hosting (no more port forwarding)
Full 3D wheel physics (although there probably won't be rockets on the backs of the cars in SR :))


We haven't forgotten about Hockey?, in fact we're hoping Golf does well enough that we can do another jam on Hockey? sometime this year.

Wednesday, August 31, 2016

Sub Rosa Alpha 26 Traffic Test

I put a new build of Sub Rosa in the beta branch, it's just a race mode test of the traffic simulation and netcode so don't expect too much.  All of the buildings are placeholders, and a lot of the rendering is still be rewritten.  The password is yerbamateisgood if you want to check it out.  (Windows only right now)

Monday, August 15, 2016

Sub Rosa plan 8/15/16

I realize I haven't done a blog post in a while, so here's some of the things we've been working on this year.  There's more features being developed, but I try not to talk about things until they're implemented, or at least mostly planned out.

Character Models

Fi Silva has been making some really cool character models, so we can have a lot of variations in clothes and accessories.  It took a while to convert the engine from procedurally generating box people to loading .fbx models with bones, but now that the system is in we can easily load in new models.  Customizable characters is important to the game, players will be able to choose the basic look of their character (it won't be random like in Rust or previous versions).  Clothing and accessories will be bought in-game, so the richer you are the fancier the suit you can wear.

Traffic Simulation

Traffic might seem boring or unimportant, but for Sub Rosa it will create some of the more interesting situations.  For example, imagine having to tail another car, staying close enough to identify it among the traffic, but far enough to remain undetected.  Or just a standard car chase, having to weave through traffic, drive the wrong way on a one-way street.  The new traffic simulation can handle thousands of cars, all simulated on the server so every player sees the same thing.  Here's a video that probably is boring though:

City Editor

The old city editor was pretty limited, the new one is now all done in 3D, so things like hills, tunnels, subways and freeways are now possible.  The new city will be much larger also, so there will be different areas, opening up a lot of gameplay possibilities.

Building Editor

One of the main limitations with the old building format was the windows, there was only a few different sizes to choose from, and they couldn't share an edge with a doorway.  It took a lot of thought to figure out the best system for this, but it now supports multiple windows per edge, different types of doors, interior windows and mullions.  That's right kids, mullions.


One of the biggest changes is converting to OpenGL 3.3 core, which should help with performance and compatibility.  I held off on using newer OpenGL versions since I didn't want to make it incompatible with older PCs, but at this point every video card made in the last 8 years or so supports 3.3.

I've also been adding reflections for windows, cars and mirrors, as well as improvements to the atmospheric scattering and lighting.  I'll also be adding HDR support and MSAA soon.


Fixed a bug with the differential simulation.

Next Version

Alpha 26 should be ready for testing in the next couple weeks, it will first go on the beta branch in Steam, all current players will be able to play.

Tuesday, October 6, 2015

Sub Rosa Alpha 25

Dedicated servers:

New account system - based on Steam ID
Admin ban system - admin can ban players for an amount of time (real-time minutes)
Car selling - put the key in your right hand to sell
Lunch - buy a burger at lunch or max HP will drop
Billboards - players can buy the billboard and put their message up
Bank - withdrawal/deposit cash
Persistence - world mode doesn't reset all players outside the city now
Round mode manager - based on net worth, can fire people (shoot them before the round starts)

Client optimizations - should run faster now
Server optimizations - 32 players should be possible on a decent server

Netcode - pausing during firefights should be fixed
Voice - whisper/yell modes work in voice now, using whisper limit distance to 4 meters
Voice display - no longer goes through walls

Monday, August 3, 2015

Sub Rosa Alpha 24


Dedicated servers:
To run an open world server add "gametype=4" in the config.txt
Server system requirements are pretty high right now, does not run on a potato.

Spawn killing penalty is much harsher now, 5% and you will take as much damage as you give out.  When a player spawns they have a timer between 3 and 6 minutes (real time), if they pick up a gun or enter a base the timer is set to zero.  Entering a car sets the timer at 15 seconds maximum.

One of the main changes is the engine, it can now support a lot more types of buildings which will help to add more detail/expand the city.  I know one thing people are going to ask about is optimization, now that the engine is mostly complete I'll be working on benchmarking tools (so I can tell what's running slowly on different PCs) and implement the ideas I have for improving the rendering.

I'll put up a link to the Windows/Linux dedicated servers soon, hopefully people can host servers in all the places where people have had to deal with bad pings up to now.

added round-based mode
added voice chat
added magnum (the ammo is just a magazine right now but it will be an actual revolver soon, Receiver-style)
added uzi
added gun shop
added helicopter
added fall damage

Stock increases are more reasonable now, just a temporary fix as the stock system will change soon
Teams now start with two phones, the first has the team number and the second has the team number plus 1 (Nexaco is 4444 and 4445)
Improved gun/item handling, still working on smoothing this out more
The hospital is the only place to heal, testing this out for now

Fixed the landscape rendering which was extremely slowly on some video cards
Smoothed out the netcode for cars and players

Thursday, January 1, 2015

Sub Rosa Alpha 23

Fixed player character bug
Bandages can now be used twice
Old spawn building is now a hospital
Can exit immediately in hospital (player's character will disappear)
Otherwise your character will remain there for 1 minute
Trade missions can now have more than 1 team with cash

Death tax is now 5% of your cash over $10,000
Civ killing with 2-5 mins of spawn is now $10,000 plus 5%
Changed stock calculation, now decreases half of the potential increase if you fail (another team gets the disk)
Fixed client stock report bug

Fixed body parts getting stuck on stairs or windows
Fixed train window bug
Fixed stock display bug
Limited car buying to 3 per hour
Limited stock to 100,000 shares per team

Here's some of the changes for Alpha 23:

You can now buy stock in your company, if you succeed in missions the value will go up, if you fail it will go down.  When you sell stock you get 95% of the value.

Withdrawing money:
The banking in your base is now the company account, if you have a trade mission you can withdraw up to the amount in the mission info.  At the end of the mission the money withdrawn will affect your stock price according to the market cap (value of the stock times the number of shares).  Depositing money in the base also goes into the company account, with the same formula.  Example:  If the total shares owned by your team is 100, and the value is $100, if you deposit $1,000 the value of the stock will increase to $110.

You will now spawn outside of the city, the train should come around every couple minutes.  Get on it.

Civilian killing penalty:
There is a $10,000 penalty for killing a civilian within 2-5 minutes of their spawn, the amount is randomly chosen by the server.  If a civilian picks up a gun the timer goes to zero.

There are now 3 chat modes, normal, yell and whisper, this will affect the range at which players can see the text.

T: Talk mode
Y: Yell mode
U: Whisper mode
Enter: Chat

added $1000 bill
added landscape
added newspaper
added ambient occlusion option

optimized rendering

fixed aim
fixed glass slowdown
fixed player movement/standing up
fixed view while rolling
fixed players warping through walls/floors
fixed car engine sound
fixed traffic