UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Soviet Mod V1.2C Tutorial - Major Update!

broken avatar :(
Created 9 years ago
by daedra descent
0 Members and 1 Guest are viewing this topic.
2,199 views
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Part 1 - The Template

Official template for the Soviet Mod. This template will allow you to generate all of the scripts necessary to use the mod.

Download it here: http://www.mediafire.com/download/3lndi94lcc5kdw7/Soviet+template.rar

To install it, extract the folder "Soviet" to root/bin/launcher/map_templates.

Now within Launchers "Compile Level" tab click the "Create Map" button. Select "Soviet" from the left and enter a name for your map & click OK.

WARNING: Launcher WILL replace a pre existing map file with the same name.

At this point you should be able to just compile the template. When doing so make sure you do NOT have the mod specific option checked. Run the map to see if everything is working correctly.

Part 2 - Spawners

Spawners in the Soviet Mod are randomly selected using randomint() to spawn. This allows AI to be less predictable than in Nazi Zombies as an AI can spawn across the map and will run to the player,
giving the players a small time frame where they can regenerate health, pickup a new weapon, or capture an objective.

To create a spawner, pick a spawner from right clicking the 2D grid and hover over "actor". The spawner used in both the template and Soviet Dust is the actor_axis_ger_ber_sselite actor group which drops grenade ammo from time to time when they die.

Tick the "Spawner", "Forcespawn", and "undeletable" in the entity window and give it the KVPS:

Code Snippet
Plaintext
"targetname" "spawner"
"count" "9999"
"script_noteworthy" "<class>"

The "<class>" is what sets the delay in the script after an AI has spawned. You can either use one of the default classes in the generated GSC file or create your own within the same GSC file. All delays are set by the level.delay[<gamemode>][<class>] array.

Note: if you create a new class you MUST also specify the delay for other gamemodes.

Part 3 - Weapons

To add a weapon, include the weaponfile in the generated CSV file in zone_source, precache the weapon in the map's GSC, and add a cost for each gamemode.

Note: there are already stock weapons that are added to the maps's GSC. Use them as examples to correctly set up the weapons.

Adding a weapon into radiant is pretty simple. Select a weapon by right clicking the 2D grid and hover over "weapon". Now change its "classname" to:

Code Snippet
Plaintext
"classname" "script_model"

Then give it the targetname:

Code Snippet
Plaintext
"targetname" "weapon" 

and finally a script_noteworthy"

Code Snippet
Plaintext
"script_noteworthy" "<weaponfile_name>"

compile the map & scripts and the weapon should now work.

Part 4 - Perks

Perks in the Soviet Mod still need some visual affects(animations, FX) however they still work.

To create a perk trigger, create a trigger_use and give it the KVP:

Code Snippet
Plaintext
"targetname" "perk_trig"

and a script_noteworthy for the specific perk

Code Snippet
Plaintext
"script_noteworthy" "<perk>"

The perk trigs should now work as it does in the template.

Future proof: In future versions of the mod, i will be using a script_struct for the perks FX. If you want to have FX as soon as it is added to the mod, create a struct and place it infront of a perk machine. Then select the trigger and the struct again and press "w" to link them.

Note: Currently not possible to add your own perks.

Part 5 - Capture The Flag

Capture the flag is real easy to add. Grab the flag model that you want as the "home" flag and give it the KVP:

Code Snippet
Plaintext
"targetname" "home_flag"

then grab another flag model for the "enemy" flags and give it the KVP:

Code Snippet
Plaintext
"targetname" "enemy_flag"

At this point you can copy/paste the enemy flag wherever you want a flag to be able to appear at.

Note: Make sure "ctf" is set as a valid gamemode in your map's GSC.
Last Edit: June 13, 2015, 12:02:21 am by daedra descent
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Tutorial updated to version 1.2C. This versions is now uses the new gamemode init system as well as other 1.2C features and Soviet Rush is now the official tutorial map.
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 2 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social Linkstimsmith90THEREALBaDBoY17TimSmithMy clan Website
nice thx :)

 
Loading ...