Report article RSS Feed Stalker Basic Tutorial

This tutorial will teach you how to add and modify weapons used by the STALKER game. It will also look at some other tweaks and changes.

Posted by Arxae on May 19th, 2007
Basic Client Side Coding.

[page=Introduction]
This tutorial will teach you how to add and modify weapons used by the STALKER game. It will also look at some other tweaks and changes. To follow this tutorial you will need the following:

  • Download all asset files used and referred to in this tutorial here

  • Original S.T.A.L.K.E.R. Gamedata files (supplied with the tutorial download above: gamedata_original.rar)
  • DB Extractor (supplied with the tutorial download above: db_extractor.rar)
  • *OPTIONAL* Notepad++ (has syntax highlighting for .XML and other languages)

I use these words so you need to know what they mean:

  • stalker gamedata: the gamedata folder in your stalker install dir (c:\stalker\gamedata for example)
  • original gamedata: the place you extracted gamedata_original.rar to (you desktop for example)

You can find the finished 'mod' in the tutorial_end.rar file contained in the file linked above.

[page=Part 1: Preparing the files and folders]
First extract the gamedata_original.Rar file to a safe location, we will copy the files you need from there. Then go to your stalker folder and open up fsgame.ltx

Change the second line from this:

$game_data$ = false| true| $fs_root$| gamedata\

To this:

$game_data$ = true| true| $fs_root$| gamedata\

This will make sure that the game loads your files for usage in-game.

Now we need to make the directory structure. Create the following folder structure inside your root stalker install folder:

code:
Stalker installation directory
 |---gamedata
  |---config

Now everything is set to do some config modding.

[page=Part 2: Defining the base weapon]
Go to the folder where you extracted the original gamedata and go here > /gamedata/config/weapons

Here you can find all the normal guns from the game, lets "borrow" one. Copy a gun which you want to use for a base, in this case we will use the fn2000 (w_fn2000.ltx). Also copy the weapons.ltx file to this folder. You should recreate the folder structure in your stalker gamedata folder so it looks like this:

code:
Stalker installation directory
 |---gamedata
  |---config
   |---weapons
    |---w_fn2000.ltx
    |---weapons.ltx

Change the filename to the gunname you want to use, but keep the extension (I will use supergun.ltx in this case). Now, open that file in notepad.

The first line is one we need to change which should currently read:

[wpn_fn2000]:identity_immunities

This means it is a base gun. Change that line to the name you want to refer it to (in the traders files...) but keep the wpn_ prefix. In my case it will be:

[wpn_supergun]:identity_immunities

Now, look for:

description = enc_weapons1_wpn-fn2000

Change the 'enc_weapons1_wpn-fn2000' to something like this: 'enc_weapons1_wpn-supergun' (replace supergun with your gunname, but don't use spaces) .This tells the game in which section of the stringlist it needs to search for the long description

Now look for the line 'cost' and change it to 1 (for testing purpose, later change this to a realistic cost).

I will just tell the meaning of the following lines (since they are pretty much self explanatory)

weapon_class = This is used for the weapon selection in multiplayer
ammo_limit = I honestly don't know, i think it is used for the AI, but it has not got any effect on the player
ammo_current = Same as ammo_limit
ammo_elapsed = Don't know
ammo_mag_size = How big the mag is, i mostly set this to 100 or so to test it out properly and after that i change it to something realistic)
hand_dependence = Think this is a remnants of the game where you could dual wield guns
single_handed = You really need an explanation for this one
ammo_class = The type of ammo it can use, look in the file weapons.ltx (under all the #includes for the types of ammo)
fire_modes = The modes it supports, more of this later
launch_speed = I think this is how much time elapses from clicking to firing (only applies to the grenade launcher upgrade)
slot = The slot the gun is in, more of this later
animation_slot = Just ignore this one an leave it at the default value
inv_name = Short description of the gun, should be something like this: wpn-supergun (change supergun to your weapon)
inv_name_short = Type the same as you typed in inv_name
inv_weight = The weight of the gun
inv_grid_width = ignore these, you need custom art to make these properly work
inv_grid_height = they are use for the inventory graphic
inv_grid_x = same
inv_grid_y = same

fire_modes
you can use these values to choose the shooting mode of your gun:
single = 1
double = 2
triple = 3
auto = -1

You can combine these so you can choose multiple fire modes (what else would you use that key in the options for). You do it like this:
fire_modes = 1, 2, 3, -1

Easy right!?

slot
Here you can define in which slot the gun resides, these are the values:
-1 = knife
1 = pistols
2 = rifles
4 = grenades
6 = armor

Note that not all guns goes in all slots, a sniper rifle in the pistol slot crashes the game

We are almost done with this file. Search for the line that starts with 'hit_power', here are the explanations:

hit_power = The damage each hit does, i think each set of numbers represents the difficulty level
hit_impulse = the force behind the shot, change this to make the ragdolls fly
hit_type = the type of damage the gun does, change this if you want your gun to fire radiactive bullets, i have yet to find all of the values for this.
fire_distance = The distance you can fire
bullet_speed = The starting speed of the bullets
rpm = Rate Of Fire of the gun, change this to change the speed of the gunfire

Only 1 more thing is left in this file, search for the word 'hud'. Replace 'wpn_fn2000_hud' with 'wpn_supergun_hud'. Search further and replace [wpn_fn2000_hud] with [wpn_supergun_hud]

Finally if you continue you will also find this:

visual = weapons\fn2000\wpn_fn2000_hud_new.ogf

I think this is the model used in-game, not sure so leave it like this. We are now done with this file, so save it but keep it open, we will need it again later (for reference).

Open weapons.ltx. Add this line below '#include "w_g36.ltx"'

#include "w_supergun.ltx"

Save and close the file. We are all done defining our base weapon, only thing we need to do are the descriptions for the gun.

Copy the string_table_enc_weapons.xml file from the original gamedata/config/text/eng to the same folder in your stalker gamedata. Open it up in a text editor and add these lines at the bottom (syntax highlighting will really come in handy now):

code:

  This gun is realy super awesome
 
 
  Superdupergun
 

Note, it should actually be at the bottom but above the last line (which is )

Change the first string id ("enc_weapons1_wpn-supergun") to the one you used in the description field in the .ltx file. Also change the second strign id ("wpn-supergun") to the one you gave in the inv_name and inv_name_short fields. Ok, now we are really done with the weapon, last thing to do is adding it to the trader.

[page=Part 3: Adding the weapon to the traders]
Copy the traders_trader.ltx file from original gamedata/config/misc to the same folder in your stalker gamedata folder. This defines the stock from the first trader (AKA 'The Trader')

Open up the file in a text editor and search for 'supplies_start'. You will find the line at the top but search again, you will find it atop of a list. Just add a new line below [supplies_start] (thats how I do it always) and add the following line:

wpn_supergun = 1, 3

There is alot of discussion of what these numbers mean. If you put it in supplies_start they mean this:

- first number (1) is the number of items there will be available
- second number (3) is the chance that the item actually is in stock

You actually need to add your gun to the [trader_start_sell] but every time i putted it there, it wont show up. When i did it this way, there where no problems so it is an easy choice to me.

You can also find the other traders in that folder:
trader_freedom.ltx = The trader from the freedom faction (or A trader from it, whatever)
trader_dolg.ltx = Same as above but for the duty faction
trader_barman.ltx = The barman
trader_generic.ltx = I think this is trading with random stalkers

Now it is time for your first playtest (for me it worked fine so hopefully you get the same results!) Only issue was a thunder appeared but thats ok - it is only a minor bug!

That concludes our base gun tutorial. Next is a modded version of the gun with an insane amount of damage - lets see if the XRay engine supports gibbbing *evil laugh*

[page=Part 4: Making a modded version of our gun]
Now we are going to make a modded version of our gun, which is not as difficult as it sounds! First copy the file unique_itmes.ltx from the original gamedata/config/misc folder to the same folder of your stalker gamedata and open it in a text editor. Search for the weapon section and go to the bottom of it (above the arena section) and add the following:

[wpn_supergun_m1]:wpn_supergun

The first between [] is the modded weapon id (this is the same as the original but with _m# behind it (where # is the version of the mod is)). Then comes an inheritor (the ':') this notes upon the weapon this is build (in this case its my supergun). The $spawn line should be the same as your original weapon (in this case: $spawn = "weapons\fn-2000"). Now you only need to fill in the lines you want to change.

In my example I changed the weapons power and force and cost line is just to make sure it stays at 1RU. You will also need new descriptions for the gun, so add those 3 lines (description, inv_name and inv_name_short):

code:
[wpn_supergun_m1]:wpn_supergun
 $spawn                    = "weapons\fn-2000"
 cost       = 1
 hit_power              = 5, 5, 5, 5
 hit_impulse         = 50000
 description      = enc_weapons_1-wpn_supergun_m1
 inv_name      = wpn_supergun_m1
 inv_name_short     = wpn_supergun_m1
 

Save and close the file. Reopen the string_table_enc_weapons.xml file and add new entries, just like you did in step 3. Mine are:

code:

  This one is even more super
 
 
  Superdupermegagun
 

Add them below your previous entries and as you can see, I was low on inspiration. Now reopen the traders_trader.ltx file and add it just like you did in step 3, just add wpn_supergun_m1 instead of wpn_supergun.

Save and try ingame. In my case I made a mistake in the .xml file and the description did not showed up (don't worry, i fixed it here to) and if you were wondering: the thunder was gone.

This concludes the weapon tutorials, now to cover some tweaks and changes.

[page=Part 5: Tweaks and changes]
Upping the maximum carrying weight
Copy the file system.ltx from the original gamedata/config to the same folder of your stalker gamedata. Open it in a text editor and search for [inventory]:

take_dist = Don't know
max_weight = The max weight you can carry before you get exhausted from walking
max_ruck = Max weight until you cant move at all
max_belt = Maximum artifacts hanging on your belt (apparently it was once 16 instead of 5; I have not tested if more then 5 does any harm or crashing)

Remove dead npcs faster
Copy the file stalkers.ltx from the orignial gamedata/config/creatures to the same folder of your stalker gamedata. Open it in a text editor and add this to the bottom:

code:
[stalkers_common]
 corpse_remove_game_time_interval = 1; in hours
 stay_after_death_time_interval = 1; in hours
 

Now, if you stay out of that level for 1 (game) hour, the corpses will be gone, BUT, the ones that have a script attached to them stay (the one that give you stash locations).

Add Limping
Copy the file actor.ltx from the orignial gamedata/config/creatures to the same folder of your stalker gamedata. Open it in a text editor and search for 'limping_health_begin '
change those values to reflect these:

code:
limping_health_begin = 0.3
 limping_health_end  = 0.4
 limping_power_begin  = 0.0
 limping_power_end    = 0.0
 use_limping_state    = on
 

Now copy the file effectors.ltx from the original gamedata/config/misc to the same folder of your stalker gamedata. Open it in a text editor and search for [bobbing_effector]. Change those values to reflect these:

code:
[bobbing_effector]
 run_amplitude  = 0.0075
 walk_amplitude = 0.005
 limp_amplitude = 0.5
 run_speed     = 10.0
 walk_speed     = 7.0
 limp_speed     = 1.0
 

Save all and try ingame, when you have 30% of your health you will start to limp (effect may be exaggerated but its for showing purpose, you can tweak it)

Here are the settings explanation:

limping_health_begin = at how many % of your health do you start to limp? (example: 0.3 is 30%)
everything in the [bobbing_effector]: self explanatory? (I don't know what the _amplitude values are though)

NOTE: this is for you only, not the npcs

Prefetch Tweak
To remove prefetch, copy all the files you can find which contain prefetch in its filename to your stalker gamedata folder, it should look like this:

code:
stalker gamedata
 |---config
  |---prefetch
  | |---old_variant_prefetch_globals.ltx
  | |---old_variant_prefetch_single.ltx
  | |---prefetch.ltx
  | |---prefetch_globals.ltx
  | |---prefetch_mp.ltx
  | |---prefetch_single.ltx
  |---_prefetch.ltx (*)
  |---prefetch.ltx (*)

Just open up the 2 files marked with (*) and remove all its contents and save them. Now you should not get any prefetching (since that took the longest for me to load). If you want to be sure you can do the same with the other prefetch files.

[page=Part 6: The End]
Thanks for reading my tutorial, I hope you liked it. I went through every setting so i don't want any questions of those (you may, after your read them carefully). If you liked the tutorial you can always send me a note through a Private Message. I might post a tutorial on armor/artifact modding later.

Also, thanks to these people:

- niphty for the intor (i found most stuff on my own tough)
- vetis AKA "Wardrop" for the limping

Post comment Comments
Arxae
Arxae Jun 11 2007, 6:09am says:

that sometimes happen to me to
try removing everything you made in the tutorial and try it again

+1 vote     reply to comment
damnitDave
damnitDave Jun 10 2007, 1:43pm says:

i cant get the trader to talk to me now after following yer instructions...anysuggestions?

+1 vote     reply to comment
damnitDave
damnitDave Jun 13 2007, 6:33pm says:

got it to work!now i ve tried to make the grenade launcher fire shotgun rounds an it crashes when i go to fire the round?any suggestions?heres the file in case you are curiuous as to how im doin it

:tarsau-13_m1
GroupControlSection = spawn_group
discovery_dependency =
$spawn = "weapons\groza" ; option for Level Editor
$npc = on ; option for Level Editor
$prefetch = 16
scheduled = off ; option for ALife Simulator
cform = skeleton
class = WP_GROZA
min_radius = 30
max_radius = 100
description = enc_weapons1_tarsau-13_m1

ef_main_weapon_type = 2
ef_weapon_type = 6

;-----------------------------------------------------------------------------------
holder_range_modifier = 1.0 ; âî ñêîëüêî ðàç óâåëè÷èâàåòñÿ eye_range
holder_fov_modifier = 0.7 ; âî ñêîëüêî ðàç óâåëè÷èâàåòñÿ eye_fov
;-----------------------------------------------------------------------------------

cost = 1
weapon_class = assault_rifle

ammo_limit = 210
ammo_current = 180
ammo_elapsed = 200

ammo_mag_size = 200
ammo_class = ammo_11.43x23_fmj, ammo_11.43x23_hydro
fire_modes = 1, 3,-1
launch_speed = 0

grenade_class = ammo_12x70_buck, ammo_12x76_zhekan, ammo_12x76_dart

hand_dependence = 1
single_handed = 0

slot = 2 ; // secondary
animation_slot = 8 ; type of the animation that will be used

inv_name = wpn_tarsau-13_m1
inv_name_short = wpn_tarsau-13_m1
inv_weight = 3.2

inv_grid_width = 4
inv_grid_height = 2
inv_grid_x = 0
inv_grid_y = 14

kill_msg_x = 67
kill_msg_y = 123
kill_msg_width = 64
kill_msg_height = 30

;-----------------------------------------------------------------------------------
;áàçîâàÿ äèñïåðñèÿ
fire_dispersion_base = 0.18 ;óãîë (â ãðàäóñàõ) áàçîâîé äèñïåðñèè îðóæèÿ (îðóæèÿ çàæàòîãî â òèñêàõ)
control_inertion_factor = 1.05f

;îòäà÷à
cam_relax_speed = 5.2;0.3 ;ñêîðîñòü âîçâðàòà â èñõîäíîå ïîëîæåíèå
cam_dispersion = 0.3 ;óâåëè÷åíèÿ óãëà (â ãðàäóñàõ) ñ êàæäûì âûñòðåëîì
cam_dispersion_inc = 0.12 ;óâåëè÷åíèe cam_dispersion ñ êàæäûì âûñòðåëîì
cam_dispertion_frac = 0.75 ;ñòâîë áóäåò ïîäûìàòüñÿ íà cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle = 8.5 ;ìàêñèìàëüíûé óãîë îòäà÷è
cam_max_angle_horz = 9.0 ;(degree) maximum shot horizontal degree
cam_step_angle_horz = 0.85 ;(degree) size of step camera moved in horizontal position while shooting

fire_dispersion_condition_factor = 5 ;óâåëè÷åíèå äèñïåðñèè â ïðîöåíòàõ ïðè ìàêñèìàëüíîì èçíîñå
misfire_probability = 0.00 ;âåðîÿòíîñòü îñå÷êè ïðè ìàêñèìàëüíîì èçíîñå
misfire_condition_k = 0.0
condition_shot_dec = 0.000 ;óâåëè÷åíèå èçíîñà ïðè êàæäîì âûñòðåëå
;-----------------------------------------------------------------------------------

direction = 0, 0, 1

fire_point = 0.0, 0.194, 0.274

flame_particles = weapons\generic_weapon05
smoke_particles = weapons\generic_shoot_00
grenade_flame_particles = weapons\generic_weapon01

shell_point = 0.0, 0.194, 0.04
shell_dir = 0.0, 0.0, 0.4
shell_particles = weapons\generic_shells
rpm_empty_click = 200

PDM_disp_base = 2.0
PDM_disp_vel_factor = 1.1
PDM_disp_accel_factor = 1.1
PDM_crouch = 1.0
PDM_crouch_no_acc = 1.0

; ttc
hit_power = 0.95, 1.00, 1.05, 1.10
hit_impulse = 150
hit_type = fire_wound

fire_distance = 700
bullet_speed = 510 ;íà÷àëüíàÿ ñêîðîñòü ïóëè
rpm = 750

use_aim_bullet = true ;Ïîääåðæèâàåòñÿ ëè ïåðâàÿ ñóïïåð ïóëÿ
time_to_aim = 1.0

grenade_vel = 76
; end ttc

silencer_hit_power = 0.95, 1.00, 1.05, 1.10
silencer_hit_impulse = 150
silencer_fire_distance = 650
silencer_bullet_speed = 500 ;

hud = wpn_groza_hud
normal = 0, 1, 0

;----------------------------------------------------------
position = -0.026, -0.144, 0.0
orientation = 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
strap_position = -0.15,-0.38,0.35 ; position (offset) and orientation of the weapon when it is strapped
strap_orientation = -10,-5,10 ; (3rd person view in degrees)
strap_bone0 = bip01_spine2
strap_bone1 = bip01_spine1

startup_ammo = 890
visual = weapons\groza\wpn_groza.ogf

light_color = 0.6,0.5,0.3
light_range = 5
light_var_color = 0.05
light_var_range = 0.5
light_time = 0.2

ph_mass = 5
;cost = 2100

;addons
scope_status = 2
silencer_status = 2
grenade_launcher_status = 1

zoom_enabled = true
scope_zoom_factor = 50 ;30

scope_name = wpn_addon_scope ; section name for the attachable scope
scope_x = 63 ; offset in inventory icon
scope_y = -1
silencer_name = wpn_addon_silencer ; section name for the attachable silencer
silencer_x = 180 ; offset in inventory icon
silencer_y = 16

;çâóêè
snd_draw = weapons\generic_draw
snd_holster = weapons\generic_holster
;snd_shoot = weapons\t_groza_shot ;test2_shoot; was generic_shoot
snd_shoot = weapons\groza_shoot
snd_shoot1 = weapons\groza_shoot2
snd_empty = weapons\gen_empty, 0.5
snd_reload = weapons\groza_reload, 0.7, 0.45
snd_shoot_grenade = weapons\gen_grenshoot
snd_reload_grenade = weapons\gen_grenload, 1.0, 1.3
snd_switch = weapons\groza_switch, 1.0, 0.45

;params when silencer is attached
;similar to corresponding params without prefix silencer_

;silencer_flame_particles = weapons\generic_weapon01
silencer_smoke_particles = weapons\generic_shoot_00

snd_silncer_shot = weapons\w_ak74_shot1, 0.33

silencer_light_color = 0.6,0.5,0.3
silencer_light_range = 0.01
silencer_light_var_color = 0.05
silencer_light_var_range = 0.5
silencer_light_time = 0.2


allow_inertion = true

shell_point = -0.25, 0.0, 0.05
;shell_point = -0.15, -0.03, 0.05
shell_dir = 0.0, 1.0, 0.0

fire_point = -0.020000,0.000000,0.060000
fire_bone = wpn_body
orientation = 0, 0, 0
position = 0, 0, 0
visual = weapons\groza\wpn_groza_hud.ogf

grenade_bone = grenade_0

anim_idle = idle
anim_idle_aim = idle
anim_reload = reload
anim_draw = draw
anim_holster = holster
anim_shoot = shoot
anim_idle_sprint = idle_sprint

anim_idle_g = idle_g
anim_reload_g = reload_g
anim_shoot_g = shoot_g
anim_switch_grenade_on = switch_g
anim_switch_grenade_off = switch
anim_draw_g = draw
anim_holster_g = holster

anim_idle_gl = idle
anim_reload_gl = reload
anim_draw_gl = draw
anim_holster_gl = holster
anim_shoot_gl = shoot
anim_idle_aim = idle_aim
anim_idle_g_aim = idle_g_aim
anim_idle_gl_aim = idle_aim

;ñìåùåíèÿ HUD äëÿ ðåæèìà ïðèáëèæåíèÿ
zoom_offset = -0.169200,-0.033200,-0.045000
zoom_rotate_x = 0.011600
zoom_rotate_y = 0.036900

;òîæå ñàìîå, íî äëÿ ïîäñòâîëüíèêà
grenade_zoom_offset = -0.161200,-0.538399,0.000000
grenade_zoom_rotate_x = -0.650698
grenade_zoom_rotate_y = 0.035000

zoom_hide_crosshair = true

0 votes     reply to comment
Master_Free
Master_Free Nov 13 2007, 9:07pm says:

hiya mate anytime i edit anything my game crashes before it gets to the main menu its not just guns but anything help plez? thanks

P.S Great Tut :D

+1 vote     reply to comment
Soundpath
Soundpath Mar 19 2008, 9:34am says:

Master_Free did you change your fsgame.ltx to

$game_data$ = true| true| $fs_root$| gamedata\

?

This tutorial worked for me. I managed to make a new gun called "aks74u sniper"; which is basically an ak74u that uses the PSO1 scope. I can't get the scope to physically appear attached to the gun though. It's invisible. I think I need to edit the aks74u model. Does anyone know how to put new models into the game?

+2 votes     reply to comment
spyker2041
spyker2041 Jul 17 2009, 4:23pm says:

download for the files has gone :(

+2 votes     reply to comment
vonDietz
vonDietz Nov 18 2009, 2:50am says:

ok well i have changed my weight thing to this...

[inventory]
take_dist = 2
max_weight = 400
max_ruck = 500
max_belt = 10
slots = 11

however when i go ingame it will say 100/400 but it says im too heavy still, could someone tell me what i have done wrong

+1 vote     reply to comment
storm-chaser
storm-chaser Jun 7 2011, 7:48pm replied:

Quote:

< vonDietz Nov 17 2009, 11:50pm says:

ok well i have changed my weight thing to this...

[inventory]
take_dist = 2
max_weight = 400
max_ruck = 500
max_belt = 10
slots = 11

however when i go ingame it will say 100/400 but it says im too heavy still, could someone tell me what i have done wrong >

End quote

You also need to change these 2 lines in the file gamedata/config/creatures/actor.ltx:

max_item_mass = 400.0
max_walk_weight = 450 or 500

+1 vote     reply to comment
uncle-b
uncle-b Dec 10 2009, 1:13pm says:

Hey, i've read through your tutorial, but i cant find how to adjust accuracy, also, you know of any way to make a pistol use different fire modes?

+1 vote     reply to comment
SpaceGuyCool
SpaceGuyCool Jan 23 2010, 8:16am says:

Ya where is the Download for all the files!

+3 votes     reply to comment
ILOVEZOMBIESIDO
ILOVEZOMBIESIDO Jul 23 2010, 2:37pm says:

this is basic!? i don't know how those game proggrammers do it these days.

+1 vote     reply to comment
Thesoldierintheswamp
Thesoldierintheswamp Oct 5 2010, 9:19pm says:

take_dist means how far you can reach to take items/talk/search/open and stuff like that

+1 vote     reply to comment
Matt997
Matt997 Dec 27 2010, 4:04am says:

Hmm guys where are the download files? I can't find them )=

+2 votes     reply to comment
Aggregate
Aggregate Apr 11 2011, 6:19pm says:

Useful tut. Changed the SPAS 12 ROF to its actual one, added a new type of Vintorez. Made the SPAS 12, MP5 and BM16 secondary weapons so now I dont have to go into my inventory to use my shotgun.

+1 vote     reply to comment
XStrelokX
XStrelokX Jul 23 2011, 1:28am says: Online

Any one can tell me where is it the Handling?

+1 vote     reply to comment
lukenxn
lukenxn Oct 8 2011, 4:58am says:

haha I found the stash with the TOZ shotgun and since no npc's carry em i decided to amp it up, now it fires up to 1km dead accurate and full damage, still uses buck shot, but i modified the buckshot so it doesn't split up in flight, in other words its like shooting a beehive at 700ft per second

I love these tutorials, im gonna have some fun with trying to get a pmm to fire shotgun rounds and have a crack at making it full auto, will post results :)

+1 vote     reply to comment
Decimation
Decimation Oct 13 2011, 9:40pm says:

Can someone post the download links again?

+1 vote     reply to comment
Decimation
Decimation Oct 14 2011, 10:27am replied:

What i need is the working data base extractor...
:(

+1 vote     reply to comment
Swansen
Swansen Jan 19 2012, 10:20pm says:

HEY, i was going to write a tutorial for this, but, i'm still messing around with exactly how this works. I found somewhere in my searching that the math involved in how things are calculated amongst the stats and then what percentage that will equal. For example i'm messing around with the artifacts and trying to make one thats not stupidly over powered so just a lot of guess and check at first. Under the _absorption] heading, and for _immunity = they are usually around 1.0 I am finding that 0.0 is actually 100%. So, if we apply this math which works out as rate x multiplyer divided by 2 you get your percentage(mostly). _immunity is the base rate where as the _restore are the multiples. So, i set the _immunity to .8 and then _restore to .0009 multiply them together and divide the answer by 2 coming up with .00036, which gave me 36% to fire/burn/explosion all that stuff. They work in tandem. Why its set to the millionths decimal place is unsure to me, but, again, that math period is odd. anywho, this is just my rambling i wanted to get down somewhere. However, this math applies to everything here, there is a base and then something that effects that base point. However, it seems the decimal place and related percentage is not always the same.

+1 vote     reply to comment
LegendZer0
LegendZer0 Mar 4 2012, 9:59am says:

Where can i find weapons' models (excuse my bad english, I'm Italian)?

+1 vote     reply to comment
JoshZemlinsky
JoshZemlinsky Jan 5 2013, 7:45am says:

This is a very nice tutorial etc, i was playing alittle around with it this morning. I wanted to add an Ak-74 that fired the 9x39 bullets. However, after alot of time trying to just make it appear at the barkeeps i begun wondering what was wrong. I sometimes had these odd random crashes, i thought it was due to my playing around with the items he sold. Eventually i learned that it was due to my weapon appearing and crashing the game o,O
I'm seriously confused as to WHY this happens, nothing seems to be wrong...

+1 vote     reply to comment
Nalike
Nalike May 22 2014, 6:57am says:

read all of it. 1 question. how to add custom models in Meshes. i mean .ogf files where do i get them ? i am actually looking for a G36c/G36Compact with grenade launcher attached.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
S.T.A.L.K.E.R. Shadow of Chernobyl
S.T.A.L.K.E.R. Shadow of Chernobyl Single & Multiplayer First Person Shooter