Showing posts with label a3wasteland. Show all posts
Showing posts with label a3wasteland. Show all posts

Sunday, December 18, 2016

Arma 3 - Battle Royale CQC... And A Merry Christmas And Happy New Year!

Although I have not been overly active in posting blog updates, since my last blog post, I have still been doing my ArmA 3 scripting (mainly for A3Wasteland which you can find over on my GitHub account) and some graphic design (behind the scenes).

I have also ventured back to my ArmA 3 Last-Man-Standing 'roots'... sorta. What I mean is... last year in November/December 2015 I was a total newbie at ArmA 3 coding/scripting... and whilst the 'fall-out' with those over at 'Battle Royale', I managed to download the 'Battle Royale - Ghost Hotel' mission files, and have a nosey/dabble inside the code. After messing around with the code, changing it around, 'fixing' things, etc... I sort-of left it as-was back then and didn't touch it again until now (a year later).

What I have basically done is 'fixed', as well as enhanced the 'Battle Royale - Ghost Hotel' mission. I created multiple locations on the map of  Altis, so that every round was no longer at 'Ghost Hotel'. I totally re wrote the timing routine for the circle zones for proper structure and notifications. I totally re did the loot spawn system, so that it is less glitchy and quicker at dispersing loot each round. The loot table was also updated to use 'Vanilla' and the 'APEX' ArmA 3 assets.

All-in-all, my 'Battle Royale - Ghost Hotel' modification to 'Battle Royale - CQC' (Close Quarters Combat) was just for learning purposes on my part, as I was a total newbie at the time. The basic *BRGH code is very hit-n-miss (clunky)... so yeh... I did change a fair bit of it for use with **BRCQC.

 
Some screen shots of in-game **BRCQC below.


There is an "ArmA 3 **BRCQC" server online at the moment (I'm still ironing out bugs, but for the most part, it works great), so if you would like to test it out, search for "Battle Royale CQC" on the mission section or via game mode "Last Man Standing", and it should pop up, be sure to join with NO mods loaded... vanilla only! The rounds consist of 2 minutes of initial 'loot time', until the zoning starts and will consist of 6 zone shifts/shrinks every 4 minutes. Each round can last a minimum of 2 minutes and a maximum of 26 minutes, but players are free to join and wait in the spawn area whilst a round is currently in progress.

I have done a lot of enhancements/changes to the mission for use with **BRCQC. Give me feedback if you so please, report bugs, issues, whatever.

Again, this mission was/is for learning purposes for myself... it's similar (has the base structure of *BRGH, all credits to Lystic) to *BRGH, but now every round is a different location with different loot! Great learning for when my own 100% self-coded Last-Man-Standing mod comes to fruition.

*BRGH = Battle Royale - Ghost Hotel.
**BRCQC = Battle Royale - CQC (Close Quarters Combat).

Also, as it's getting real close to Christmas and 2017 isn't that far off either. I thought I would also say...

Merry Christmas and Happy New Year 2017


Until next time...

-soul.


Thursday, November 10, 2016

Arma 3 Scripting, More A3Wasteland Addons/Enhancements

Over the last year I have learned a lot about Arma 3 coding/scripting and am now able to write code/scripts from scratch... based off my own ideas. Something I never really thought I'd be able to do, but I have learned much more than I originally anticipated... which is a good thing.

In recent weeks, I have written a few new and different scripts for use within A3Wasteland mission... which is the game-mode/mission I tend to favor when it comes to playing Arma 3.

Since my last blog post about my random crate and soldier load out's, I have coded/scripted/released to github...

Notepad++ .sqf coding/scripting
purchaseFuel script, which disables free fuel at all fuel pump across any given map and attaches a cost for vehicles (land or air, including uav). You must have the carried money in order to refuel, and whether a total refuel or partial, you are charged for it. Jerry cans are still able to be filled for free though.

playerJump script, which is a script I wrote and tested quite a while ago, but only recently released. I wanted to see if it was possible to write a jump routine where as the screen did not visually glitch... and I succeeded. It took me a while to correct the jumping routine to as best I could manage within the script and animation bounds of Arma 3. Needless to say, compared to all the other jump scripts available (and the glitchy one in the default A3Wasteland mission), it is a LOT better.

globalChatMessages script, will rotate and display chat messages to each player. The messages are written within the script itself. This is able to be changed to whatever the server owner/admin would like to have displayed to all clients. The script is based purely client side.

titleTextMessages script, will rotate and display title text messages to all connected clients. The messages are written within a server-side script which is able to be changed on-the-fly. Upon server restarts, the script re-reads the server-side file for the current messages to display. This script is preferred over the globalChatMessages due to not needing to repack the mission.pbo each time the messages are changed.

cleanStores script, will locate all the available stores on the map of A3Wasteland, and attach a cleaning loop. This script will clean ALL objects listed in the configuration after a per-item duration (default 2 minutes) in order to keep the floors and immediate surrounding clean of discarded player items/weapons. The radius limit to where the cleaning extends to is also configurable.

buryDeadBody script, is a script to bury dead bodies at a cost (default $5000). I have seen other similar script(s), but thought I would write my own which functioned the way I would like (and hopefully others would like). To bury a dead body (eg, an enemy you just killed), you will need to have $5000 carried money to begin the process. A random timer between 30 and 60 seconds will commence in which is how long it will take to bury said body. Upon a successful bury, the body and all immediate surrounding objects/weapons will be removed/despawned. This script is useful for looting and disposing of the left-overs so that the enemy can not retrieve any of their gear.

afkTimer script, is a script to check for players that have gone AFK. I have noticed that some A3Wasteland servers have turned of food and drink, and some players take advantage of that and spawn in as BLUFOR or OPFOR, then hide and go AFK in order to farm money. This script puts an end to that, as if a player is AFK for longer than a duration (default 10 minutes), it will kick them back to the lobby.

cleanUpMissionObjects script, is a script that is to be used within A3Wasteland missions. This script will time and then remove all unlocked mission items after a time period once a mission is successfully completed. The script checks for players within the vicinity of said mission. If players exist within the mission area, the script will not delete/remove any object until there are no players around. The script also checks for locked objects and will not delete those that are locked.

fixTownStreetLamps script, is a script for turning lamps back to the on state. Many times I have noticed servers with a long night-time duration, and that players tend to shoot out town lamps in order to get complete darkness. This script will time loop and for all lamps that have been shot out, it will restore them to the on state in order to brighten the area back up. The lamps when turning back on have a somewhat realistic flicker effect (for player immersion).

outOfBounds script, is a script for checking that any player is within the bounds of the playable area for the map/mission. If a player is outside of the playable area which is marked visually on map by a blue circle/ellipse or is above a certain altitude, then an audible and visual warning with a count-down timer will appear on the players screen. If the count-down timer reaches 0 seconds aka player is still out-of-bounds, the player and any vehicle the player is in will be killed/destroyed. *NOTE, this was coded/scripted due to reading on a forum post that a player decided to go so far out-of-bounds, that Arma 3 crashed, but the A3Wasteland mission saved the players location, so upon returning to said server, the player would respawn on their last (out-of-bounds) location and Arma 3 would instantly crash again... *facepalm*

spawnBeaconDetector script, is for tracking down player spawn beacons. I was not happy with what was currently available for A3Wasteland, so I decided to write my own version from scratch. A player must have a mine-detector carried on them as well as being on foot in order to track spawn beacons. The sound effects emitted are in the 3D environment (not silent for all but the operator), which can reveal the players location should enemy be within the 100 meter range. Want to track beacons? There is a risk of giving away your position now... so track them down quick! The audible beeps for all to hear make a lot more sense to me rather than just an operator beep that no one else can hear... it is a detector after all, right?

All-in-all, I enjoy a challenge, and enjoy coding/scripting to enhance a game mode/mission that I enjoy to play, as well as giving the opportunity to other A3Wasteland administrators to use my scripts in their own mission(s).

I still intend on creating new content when the need arise and posting (some of) it on my github account.

Want something custom coded/scripted? Hit me up for a discussion on any of my social media links. You can also find me on discord at... soulkobk#3450, as that is currently my preferred method of contact.

Until next time!

-soul.

Saturday, October 15, 2016

ArmA 3 Scripting, Random Crate And Soldier Load Outs

So I've been scripting in notepad++ again, this time writing a couple of randomization scripts for missions for use within A3Wasteland.

Within the vanilla A3Wasteland... it got rather boring doing the same missions over and over, approaching the same AI, being rewarded with the same crate load outs (which were never really any good to begin with), so I decided to totally randomize things.

The first script I wrote was for crate load out randomization. I began by pulling all the class names from the ArmA 3 config file for wearables, weapons, throwables, etc then compiling them in to a list (per array). I then set out to do a total randomization on what was selected, number of items/magazines/grenades/etc, how many loops per, etc. After coding it (I knew it would work in theory), I jumped in-game to the test environment... and well, it worked as expected, so I was very pleased. I ran the same script over-and-over on the same crate, and it randomized the load-out each and every time... so no two load-outs would every be the same!
Look at...
...all the...
...goodies!
Once tested, I merged it in to my A3Wasteland DEV build (my highly customized 1.Xx build) and made sure it worked... and it did, on all missions everything was random within the mission crates. The script now resides on my github account which you can find here. *See the script header information on how to implement it in to your own A3Wasteland mission.

Once I coded that script, I thought... now for the mission AI, as they all had the same basic gear on... which was never really any good for 'looting'. I set out to do a similar thing in regards to the crate load out, but for actual AI units... so the coding was slightly different.
 
Mission AI got some decent gear!
More dead mission AI units with custom gear.
Again, I coded it and was sure it would work in theory... tested it, then implemented it in to my A3Wasteland DEV build, and waited for a mission to spawn. I put myself as a friendly unit to the mission AI and went and had a look... yup, all custom load-outs per AI unit. You can also find the script on my github account here.

So now each A3Wasteland mission has random load-outs for AI units (wearables, primary weapon, throwables, etc) as well as upon mission completion... randomized weapon crate load outs (worthy of actually completing missions now!). *Thermal scopes can be negated from load-outs.

At the time of this post, the only two servers (that I know of) to currently run these load-out scripts are [TAG] and [FRAC] A3Wasteland servers.

I hope more A3Wasteland servers implement these scripts in to their mission, as it gives the player(s) a better and more random reward each and every completed mission (no two crates will ever be the same).

Randomization FTW!

-soul.


Tuesday, September 20, 2016

ArmA 3 Comic Strip, For The Lulz

I thought I'd do a quick blog post for the latest creative streak I have had... and that is an "ArmA 3 Comic Strip".

For the past few months, I've watched numerous creative twitch streamer create comic strips, and I had the thought that I could do something similar (hopefully)... and since there are so many 'moments' within ArmA 3's game play, I tried doing some comic strips myself.

All of the comics strips I (will) create are of funny moments, humorous game-play, face-palm moments, etc... all 'taking-the-piss' or 'in-jest' for a bit of a laugh (yes, even at myself).

You can check out all my comic strips at the top left of my blog page, right next to the HOME button. In time, I will add more, so be sure to check back regular. I will also post each comic strip to my twitter account www.twitter.com/soulkobk as they are created and published.

The latest comic strip I have created (at the time of this blog post), was of myself whilst driving a pickup-truck in [TAG] A3Wasteland. Poking a bit of fun at my driving 'skills'. I 'almost' rolled it down a hill, then about a minute later ended up smashing head on into a tree at high speed... myself and my passenger were incapacitated... oops. :P You can see it below (or at the link at the top left of my blog page). The screen shots were of actual game play (thanks plays.tv) of the moment.


I intend on creating at least one comic strip per month from now on... as there always seems to be creative context from my game-play within ArmA 3.


-soul.