SOC Level changers

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

SOC Level changers

Postby the_marked_one on 20 May 2012 14:40

I have relocated some of the level changers in soc and also added some new ones, all tested fine in the game (they work and display the correct name etc) however one strange thing i discovered was when i copied the new level changer from for eg alife_107_military before and after into a new text document and compared the two with winmerge the original would be displayed in the correct format:

; cse_abstract properties
section_name = level_changer
name = exit_to_bar_01
position = -372.623626708984,-21.6993293762207,-4.80651521682739
direction = -0.005329305306077,3.93219052057248e-005,0.0073783309198916

; cse_alife_object properties
game_vertex_id = 1545
distance = 9.70000076293945
level_vertex_id = 884
object_flags = 0xffffff3e
custom_data = <<END
[pt_move_if_reject]
path = mil_way_if_reject_to_ros
END
story_id = 771

; cse_shape properties
shapes = shape0,shape1,shape2
shape0:type = box
shape0:axis_x = 4.59000015258789,0,0
shape0:axis_y = 0,21.8300018310547,0
shape0:axis_z = 0,0,100
shape0:offset = 0,0,0
shape1:type = box
shape1:axis_x = 34.601921081543,-0.51825362443924,20.0349502563477
shape1:axis_y = 0.815001606941223,12.4270448684692,-1.08611488342285
shape1:axis_z = -2.40581393241882,0.522107183933258,4.16853380203247
shape1:offset = 13.6351318359375,5.09842872619629,57.3195724487305
shape2:type = box
shape2:axis_x = 49.4840278625488,2.56294941902161,17.7664756774902
shape2:axis_y = -0.642057299613953,12.4845066070557,-0.0126969460397959
shape2:axis_z = -1.63205528259277,-0.0792992040514946,4.55711698532104
shape2:offset = 29.8373413085938,5.71104049682617,-4.92185926437378

; cse_alife_space_restrictor properties
restrictor_type = 3

; cse_alife_level_changer properties
dest_game_vertex_id = 1246
dest_level_vertex_id = 17458
dest_position = -5.52177238464355,-5.55837154388428,353.289276123047
dest_direction = 0,-2.29999995231628,0
dest_level_name = L05_Bar
dest_graph_point = start_actor_02

But the new changer was not it came out like this (although shows fine in the alife file)

; cse_abstract propertiessection_name = level_changername = exit_to_bar_01position = -372.623626708984,-21.6993293762207,-4.80651521682739direction = -0.005329305306077,3.93219052057248e-005,0.0073783309198916; cse_alife_object propertiesgame_vertex_id = 1545distance = 9.70000076293945level_vertex_id = 884object_flags = 0xffffff3ecustom_data = <<END[pt_move_if_reject]path = mil_way_if_reject_to_rosENDstory_id = 771; cse_shape propertiesshapes =shape0,shape1,shape2shape0:type = boxshape0:axis_x = 4.59000015258789,0,0shape0:axis_y = 0,21.8300018310547,0shape0:axis_z = 0,0,100shape0:offset = 0,0,0shape1:type = boxshape1:axis_x =34.601921081543,-0.51825362443924,20.0349502563477shape1:axis_y = 0.815001606941223,12.4270448684692,-1.08611488342285shape1:axis_z = -2.40581393241882,0.522107183933258,4.16853380203247shape1:offset =13.6351318359375,5.09842872619629,57.3195724487305shape2:type = boxshape2:axis_x = 49.4840278625488,2.56294941902161,17.7664756774902shape2:axis_y = -0.642057299613953,12.4845066070557,-0.0126969460397959shape2:axis_z = -1.63205528259277,-0.0792992040514946,4.55711698532104shape2:offset = 29.8373413085938,5.71104049682617,-4.92185926437378; cse_alife_space_restrictor propertiesrestrictor_type = 3; cse_alife_level_changer propertiesdest_game_vertex_id = 1246dest_level_vertex_id = 17458dest_position = -5.52177238464355,-5.55837154388428,353.289276123047dest_direction = 0,-2.29999995231628,0dest_level_name = L05_Bardest_graph_point = start_actor_02

copying straight from that text file to here also corrected the format so whats going on why the incorrect format showing in the text file as the original was fine
the_marked_one
New Member
 
Posts: 3
Joined: 20 May 2012 14:26

Re: SOC Level changers

Postby the_marked_one on 20 May 2012 16:02

I will add that this only occurs when copying from my modified alife_l07_military file and and pasting into a new text file, all of the other alife files i have altered show in the correct format when copied and pasted, just like to know why its doing it really and if it is an issue i need to resolve/how to resolve it, whilst im here maybe someone can explain what a dest_graph_point is, the new level changers i pulled from an amk mod to save time running round getting co ordinates so the dest_graph_point of new changers is from that amk mod
the_marked_one
New Member
 
Posts: 3
Joined: 20 May 2012 14:26

Re: SOC Level changers

Postby cOldSnake on 20 May 2012 23:51

the_marked_one wrote:I will add that this only occurs when copying from my modified alife_l07_military file and and pasting into a new text file, all of the other alife files i have altered show in the correct format when copied and pasted, just like to know why its doing it really and if it is an issue i need to resolve/how to resolve it, whilst im here maybe someone can explain what a dest_graph_point is, the new level changers i pulled from an amk mod to save time running round getting co ordinates so the dest_graph_point of new changers is from that amk mod


dest_graph_point is level changers target in this case,and is located on bar level
User avatar
cOldSnake
New Member
 
Posts: 3
Joined: 19 May 2012 23:07

Re: SOC Level changers

Postby Nightwatch on 22 May 2012 00:50

About your "copy-paste format corruption" problem, the_marked_one, I guess it may be due to a number of reasons, one of which being the format difference between the text editors that you're using, or the original text document wasn't set to "wrap." Frankly, it's actually an interesting situation that you're having and difficult to judge from away without being at the computer that's affected. Are you copying files between two computers, or is it on the same PC?
Have you tried using Notepad++ if it's not what you are using? It seems during transfer break points are not being transferred properly, though I'm not professional on word processing and such, just trying to guess.

Also, btw, saw your other question as well, about the dest_graph_point;
dest_graph_point is a "count-point" at the given destination. As seen, it is mostly given two values in the game, either start_actor_02 or start_actor_01 and they act as a point of the emergence of the actor on that (destination) location. Only minimal differences in the practice, you can experiment by changing/alternating the values between 01 and 02 and observing the results by yourself, such as: dest_graph_point = start_actor_01 or dest_graph_point = start_actor_02.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 16 guests

cron