[DEVELOPMENT] Outbreak (Arma 3 Mod) Post-Apocalyptic Survival

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Outbreak Mod

Outbreak was formally a mod for Minecraft, but due to the lack of modding capability, and the demographic of users that play Minecraft (children who wouldn't understand how to play the mod properly), I decided it would be best chosen if this was a mod for Arma 3 instead.

Previous Minecraft development thread:

So basically, this mod is inspired by the DayZ mod for Arma 2, but this is my own approach to how a post-apocalyptic mod should be like. It currently uses a legal mod called AllInArmaTerrainPack which means that the maps from Arma 2 are ported to Arma 3, because current the Arma 3 maps are garbage and too huge.

The map currently used is called Chernarus.

The mod is written in SQF, which is Bohemia Interactive's main scripting language.

Completed Features

Client-side

- User spawns on shore
- Loot spawns in buildings and different buildings spawn different types of loot
- Ambient music (can be turned off)
- Can find an axe and go to a tree and chop it down
- Can collect enough materials to construct a base
- Need blueprints to build some structures
- Map has some points of interest, abandoned military camps setup everywhere.
- Dynamic vehicle
- Can break legs (can also fix them with morphine)
- Car wreck on roads

Server-side

- ArmaHive (written by me) which is a piece of software which makes the server communicate with the database.
- Save player inventory to database
- Save player blood/health to database
- Objects can be loaded and placed on to map from editing the database, this allows players to build bases and such.

Code:
diag_log "SERVER: Running world storage objects";

_objects = ["GetUserStorage"] call hive_static;
_objects = call compile(format["%1", _objects]);

for "_i" from 0 to (count _objects) - 1 do { 

	_obj = _objects select _i;
	
	_class = _obj select 1;
	_worldspace = _obj select 2;
	_dir = _obj select 3;
	
	_veh = createVehicle [_class, (_worldspace select 0), [], 0, "CAN_COLLIDE"];
	_veh setPos (_worldspace select 0);
	_veh setDir _dir;
	_veh setVectorDir (_worldspace select 1);
	_veh setVectorUp (_worldspace select 2);
	_veh setVariable ["ObjectID", _obj select 0, true];

	// add items from db into object
	[_veh, (_obj select 4)] call server_objectAddInventory;
	
};

- Can set server time in files (for night and day gameplay, with full 24 cycles etc)
- Dynamic events, can be chosen when user first connects or every minute specified.

Planned features

- Broken vehicle spawns which need repairing
- Hunger and thirst system

Pictures

Right now, the mod has limited functionality (for example there's no infected spawning, because I need to create the AI from scratch, unlike Minecraft which already had it created).

Random car wreck generation

qoIu94y.jpg


Northwest Airfield

The fence, container, barbed wire, military tent and barracks were added by me.

ZwftCHM.jpg


ezQimsb.jpg


Abandoned Military Base

GXrPXTi.png


iPOlGMA.png


Looting

WsgZe9E.png


kfDeUBn.png


Source

The source of the client-side mod can be found at:



And ArmaHive (as mentioned in my post)

 

Brad

Well-Known Member
Jun 5, 2012
2,320
993
took your time... jokes. wait Chernarus has been converted? When!!? I'm deffinatly having to go buy a new GPU now!
Updates look awesome so far too. Good luck!
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
You're a legend. Smart thinking too, probably is better to be used on Arma 3 instead of Minecraft,
by the way, do you buy Arma from Steam ? I must get it :p
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
I got the random NPC's spawning, this is the beginning of the infected spawning, took me a while but yeah.

In future, they will:

- Zombies will spawn closer to you depending if you're in the wild or in a city/town etc
- Roam randomly around their position
- Have different clothes depending which building they spawned closest to
- Have noises
- Run to the sound of gunshots

And then I'll create some sort of stealth and run/attack system for them

Source code updated:

iByFEKM.jpg


You're a legend. Smart thinking too, probably is better to be used on Arma 3 instead of Minecraft,
by the way, do you buy Arma from Steam ? I must get it :p
Yeah Arma 3 is like $60 from Steam
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Vehicles are already coded and included with the Arma series.

Update

- Started basic zombie AI behaviour, they wander around now
- When logging in or out, the AI around are deleted, due to the fact that the AI calculations are done with the client's end and not the server (which means that we can have lots of zombies), therefore if someone disconnects and their client spawned the zombies, they would freeze since the calculations are no longer being carried out.

Latest commit
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
oh nice, are there heavy vehicles ?
e.g : Tanks

Yes, but I have a plan of spawning vehicles on certain parts of the map and they need repairing (you can find scrap metal, toolbox, wheels and such in industrial at the moment, etc), also I don't see myself adding any high military-grade vehicles, because it's not realistic for a zombie apocalypse simulator.
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
es, but I have a plan of spawning vehicles on certain parts of the map and they need repairing (you can find scrap metal, toolbox, wheels and such in industrial at the moment, etc), also I don't see myself adding any high military-grade vehicles, because it's not realistic for a zombie apocalypse simulator.
Cool, seems pretty legit! And yeah you got a point about high military-grade vehicles. :p
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Some further progress has been made.

Updates

- Zombies now spawn closer to the player if in a city
- Wild zombie spawns are possible if you're out of the city (maximum 3 at one time)
- Zombies have clothes depending where they spawned
- Blood on arms and legs on zombies

This a picture of a wild zombie, notice their clothes and blood effects, they don't attack at the moment.

(I'm going to redo the faces, because right now they look too clean)

FtQLJR8.jpg
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Updates

- Custom faces for zombies now
- You can take off their clothes and wear it

(This is the worker/industrial zombie)
5wFafdB.jpg


(Take off their clothes and wear it)
WfjwQ7Y.jpg


Im4ZuSC.jpg
 

Quackster

a devbest user says what
Aug 22, 2010
1,765
1,245
Update

I started work on vehicle spawning and saving.

- If there's no current objects on the map, the server will spawn vehicles to start off with
- The server will save the vehicles to database
- The server saves the vehicles position and part condition of each item (for eg, wheel is 20% damaged etc)
- The server saves the vehicles fuel level
- The server saves the vehicles inventory

(The object spawns table for vehicles and other objects)
llFj510.png


(Object class the server reads when it starts up)
KnvUupk.png


Non related vehicle updates

- Soldiers zombies spawn with a vest and percentage chance to get a ballistic helmet off them
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
I got the game by the way, seems pretty legit
Can't wait till this mod is completely finished
 

Users who are viewing this thread

Top