Making kruglov invincible
This is a discussion on Making kruglov invincible within the S.T.A.L.K.E.R. SoC Modding, Mapping and Editing forums, part of the S.T.A.L.K.E.R. Shadow of Chernobyl category; Can someone tell me how to make kruglov invincible/edit his health? A snork keeps killing him I have SMP v2.4 ...
| S.T.A.L.K.E.R. SoC Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot! |
![]() |
| | LinkBack | Thread Tools | Rate Thread | Display Modes |
|
#1
| |||
| |||
| Can someone tell me how to make kruglov invincible/edit his health? A snork keeps killing him ![]() I have SMP v2.4 and Stalker version 1.0005(steam) Last edited by Clash; September 22nd, 2009 at 01:40 PM.. |
|
#2
| ||||
| ||||
| You need XVI32 hex editor Freeware Hex Editor XVI32 The OGF viewer FPSBANANA > Tools > STALKER > Other/Misc > And you will need access to some vanilla files so you might as well get the database extractor S.T.A.L.K.E.R. Database Extractor, Stalker Downloads, Stalker Utilities Use the extractor and extract gamedata.db4 and gamedata.dba from the main stalker directory into a new folder somewhere else so not to mess up anything. Delete everything you extracted except the config and meshes folder. Now I can tell you exactly what to do using the XVI32 hex editor and ogf viewer or I can give you a quick run through if you only want Kruglov and no one else to be invulnerable. Quick run though: From the extracted files open the config folder>creatures>immunities.ltx and underneath the [high_resistance] section put a new section entitled [invulnerable] burn_immunity = 0.0 strike_immunity = 0.0 shock_immunity = 0.0 wound_immunity = 0.0 radiation_immunity = 0.0 telepatic_immunity = 0.0 chemical_burn_immunity = 0.0 explosion_immunity = 0.0 fire_wound_immunity = 0.0 Then go to the config>models>capture folder and open kombez_kupol_damage_high.ltx. Near the bottom where it says immunities_sect = high_resistance, change this to immunities_sect = invulnerable and rename the file to kruglv_kupol_damage_agod.ltx Then go to your extracted meshes folder>meshes\actors\ecolog and open stalker_ecolog_military with the hex editor. See the scroll bar to the right and drag all to the bottom. You will see text on the right that says include "models\capture\kombez_kupol_damage_high.ltx. Just click on the first letter of the word kombez and type kruglv_kupol_damage_agod.ltx. Close and save. Rename stalker_ecolog_military.ogf to stalker_ecolog_professor_kruglov. The go to config\gameplay\character_desc_yantar.xml and open with notepad. Find the line <visual>actors\ecolog\stalker_ecolog_military</visual> and replace with stalker_ecolog_professor_kruglov Make the proper folders in your stalker directory. gamedataconfig\creatures\ gamedata\config\gameplay\ gamedata\config\models\capture\ gamedata\meshes\actors\ecolog\ Copy over the files you opened and edited into the proper folders in stalker directory. gamedataconfig\creatures\immunities.ltx gamedata\config\gameplay\character_desc_yantar.xml gamedata\config\models\capture\kruglv_kupol_damage_agod.ltx gamedata\meshes\actors\ecolog\stalker_ecolog_professor_kruglov.ogf Kruglov should now be unkillable. Last edited by black_shadow; September 22nd, 2009 at 06:03 PM.. |
|
#3
| |||
| |||
| Didn't work, the game crashes whenever I try to start it. here's the error: Expression : fatal error Function : CInifile::Load File : E:\stalker\sources\trunk\xrCore\Xr_ini.cpp Line : 175 Description : <no expression> Arguments : Duplicate section 'invulnerable' found. |
|
#4
| ||||
| ||||
| Open the immunities file. [no_resistance] burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 1.0 wound_immunity = 1.0 radiation_immunity = 1.0 telepatic_immunity = 1.0 chemical_burn_immunity = 1.0 explosion_immunity = 1.0 fire_wound_immunity = 1.0 [low_resistance] burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 0.8 wound_immunity = 1.0 radiation_immunity = 0.0 telepatic_immunity = 1.0 chemical_burn_immunity = 0.8 explosion_immunity = 1.0 fire_wound_immunity = 1.0 [medium_resistance] burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 0.5 wound_immunity = 1.0 radiation_immunity = 0.0 telepatic_immunity = 1.0 chemical_burn_immunity = 0.5 explosion_immunity = 0.5 fire_wound_immunity = 1.0 [high_resistance] burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 0.0 wound_immunity = 1.0 radiation_immunity = 0.0 telepatic_immunity = 1.0 chemical_burn_immunity = 0.0 explosion_immunity = 1.0 fire_wound_immunity = 1.0 [invulnerable] burn_immunity = 0.0 strike_immunity = 0.0 shock_immunity = 0.0 wound_immunity = 0.0 radiation_immunity = 0.0 telepatic_immunity = 0.0 chemical_burn_immunity = 0.0 explosion_immunity = 0.0 fire_wound_immunity = 0.0 ;************************************************* ****** ; OLD RESISTANCE, WILL BE REMOVED SOON ;************************************************* ****** [novice_resist] ;green_stalker_1...7, green_stalker_1(DEFAULT) burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 1.0 wound_immunity = 0.8 radiation_immunity = 1.0 telepatic_immunity = 1.0 chemical_burn_immunity = 1.0 explosion_immunity = 1.0 fire_wound_immunity = 1.0 [bandit_resist] ;\bandit: stalker_bandit_1...9, stalker_bandit_3 (DEFAULT) burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 1.0 wound_immunity = 0.8 radiation_immunity = 0.9 telepatic_immunity = 1.0 chemical_burn_immunity = 1.0 explosion_immunity = 1.0 fire_wound_immunity = 0.9 [soldier_resist] ;\soldier: soldier_bandana, soldier_bandana_1...6, soldier_beret, soldier_beret_1...4, soldier_obichniy (DEFAULT) burn_immunity = 0.0 strike_immunity = 1 shock_immunity = 1 wound_immunity = 0.9 radiation_immunity = 1 telepatic_immunity = 1 chemical_burn_immunity = 1 explosion_immunity = 1 fire_wound_immunity = 0.8 [stalker_resist] ;\dolg: stalker_do_antigas ,stalker_do_balon_2,3,5,8,80, stalker_do_mask(DEFAULT), \monolit: stalker_mo_hood_9(DEFAULT), ;\neytral: stalker_neytral_rukzak_1..7, stalker_neytral_hood_1..9, stalker_neytral_ballon_1...8 stalker_neytral_hood_9(DEFAULT) ;\svoboda: stalker_sv_rukzak_1..3, stalker_sv_hood_9,91 stalker_sv_ballon_1,10 , stalker_sv_rukzak_2 (DEFAULT) ;\ecolog: stalker_ecolog (DEFAULT) burn_immunity = 0.0 strike_immunity = 0.9 shock_immunity = 0.9 wound_immunity = 0.9 radiation_immunity = 0.5 telepatic_immunity = 0.9 chemical_burn_immunity = 0.9 explosion_immunity = 1.0 fire_wound_immunity = 0.8 [killer_resist] ;\killer: stalker_ki_antigas(DEFAULT), stalker_ki_head_1..6, stalker_ki_mask burn_immunity = 0.0 strike_immunity = 0.9 shock_immunity = 0.9 wound_immunity = 0.8 radiation_immunity = 0.6 telepatic_immunity = 1 chemical_burn_immunity = 0.9 explosion_immunity = 1.0 fire_wound_immunity = 0.7 [specnaz_resist] ;\soldier: soldier_antigas, soldier_mask, soldier_specnaz(DEFAULT) burn_immunity = 0.0 strike_immunity = 0.8 shock_immunity = 0.9 wound_immunity = 0.7 radiation_immunity = 0.6 telepatic_immunity = 0.7 chemical_burn_immunity = 0.9 explosion_immunity = 0.9 fire_wound_immunity = 0.6 [exo_resist] ;\dolg: stalker_do_exoskeleton(DEFAULT), \killer: stalker_ki_exoskeleton(DEFAULT), \monolit: stalker_mo_exo(DEFAULT), ; \neytral: stalker_neytral_exosceleton (DEFAULT), \svoboda: stalker_sv_exoskeleton (DEFAULT) burn_immunity = 0.0 strike_immunity = 0.5 shock_immunity = 0.5 wound_immunity = 0.5 radiation_immunity = 0.6 telepatic_immunity = 0.8 chemical_burn_immunity = 0.5 explosion_immunity = 0.7 fire_wound_immunity = 0.5 [protect_resist] ;\protect: protect_suit1,2 protect_suit1 (DEFAULT) burn_immunity = 0.0 strike_immunity = 0.6 shock_immunity = 0.6 wound_immunity = 0.6 radiation_immunity = 0.1 telepatic_immunity = 0.3 chemical_burn_immunity = 0.6 explosion_immunity = 0.8 fire_wound_immunity = 0.8 [military_resist] ;stalker_militari_1..2, stalker_military_antigas_1..2 (stalker_militari_1 - default) burn_immunity = 0.0 strike_immunity = 0.5 shock_immunity = 0.5 wound_immunity = 0.5 radiation_immunity = 0.5 telepatic_immunity = 0.5 chemical_burn_immunity = 0.5 explosion_immunity = 0.7 fire_wound_immunity = 0.5 [scientific_resist] ;stalker_dolg_nauchniy, stalker_ki_nauchniy, stalker_mo_nauchniy, stalker_neytral_nauchniy, stalker_sv_naychniy burn_immunity = 0.0 strike_immunity = 0.6 shock_immunity = 0.6 wound_immunity = 0.6 radiation_immunity = 0.1 telepatic_immunity = 0.3 chemical_burn_immunity = 0.5 explosion_immunity = 0.6 fire_wound_immunity = 0.6 [invulnerable] burn_immunity = 0.0 strike_immunity = 0.0 shock_immunity = 0.0 wound_immunity = 0.0 radiation_immunity = 0.0 telepatic_immunity = 0.0 chemical_burn_immunity = 0.0 explosion_immunity = 0.0 fire_wound_immunity = 0.0 [bar_guard_resistance] burn_immunity = 0.0 strike_immunity = 0.0 shock_immunity = 0.5 wound_immunity = 1.0 radiation_immunity = 0.0 telepatic_immunity = 1.0 chemical_burn_immunity = 0.5 explosion_immunity = 0.5 fire_wound_immunity = 1.0 Delete the second invulnerable section in bold. Keep the first one. Last edited by black_shadow; September 22nd, 2009 at 10:40 PM.. |
|
#5
| |||
| |||
| Well, the game doesn't crash anymore, but kruglov still dies... |
|
#6
| ||||
| ||||
| I forgot to mention a new game is required when making npc's invulnerable. |
|
#7
| ||||
| ||||
| Alternatively, you could try changing: [high_resistance] burn_immunity = 0.0 strike_immunity = 1.0 shock_immunity = 0.0 wound_immunity = 1.0 radiation_immunity = 0.0 telepatic_immunity = 1.0 chemical_burn_immunity = 0.0 explosion_immunity = 1.0 fire_wound_immunity = 1.0 to this: [high_resistance] burn_immunity = 0.0 strike_immunity = 0.0 ;1.0 shock_immunity = 0.0 wound_immunity = 0.0 ;1.0 radiation_immunity = 0.0 telepatic_immunity = 0.0 ;1.0 chemical_burn_immunity = 0.0 explosion_immunity = 0.0 ;1.0 fire_wound_immunity = 0.0 ;1.0 This will make all Scientists and (I think) scientific stalkers (the ones using SEVA type suits) invulnerable. It is savegame compatible, so you can make the change, save Kruglov, then save your game and set the values back to what they were before. |
|
#8
| ||||
| ||||
| No, all wrong, atleast for SMP2.4. S.T.A.L.K.E.R. - Shadow of Chernobyl\gamedata\config\creatures - immunities.ltx Kruglov should have a section called 'stronger'. Set all numbers to 0.0 and all important NPCs will be immortal. .....The bad ones too, so set them back if you dont need it anymore ^^ Also there is no new game required for that
__________________ Last edited by Reptile4077; September 23rd, 2009 at 02:40 PM.. |
|
#9
| ||||
| ||||
| Quote:
|
|
#10
| ||||
| ||||
| If you were to change his immunities section to stronger, you would have to have access to his kombez_kupol_damage_high.ltx file and change that to stronger. This would mean that all npc's using the kombez... immunity would have stronger health. And also that a new stronger immunity section ( which does not exist in smp's immunity file or default immunity file ) would actually make npc's immortal and not just stronger like a stronger immunity section suggests. The only reason you would want to edit an npc's mesh is to make that specific npc invulnerable and not other npc's that may use the same immunity from the capture folder. |
![]() |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | Rate This Thread |
| |
All times are GMT -7.


.gif)







Linear Mode
