czastack / RszTool

RszTool is a tool that edit and create resource file for RE ENGINE game. Currently support .user, .pfb and .scn files.
14 stars 3 forks source link

How to duplicate a row? #17

Closed Josko91 closed 2 months ago

Josko91 commented 2 months ago

I'm using Rzs Tool 0.3.0-net472 and I can only Copy and Paste but I can't duplicate any of the rows in the file?

czastack commented 2 months ago

You can duplicate GameObject or array item. And copy and paste instance or instance field. GameObject is in pfb and scn file.

Josko91 commented 2 months ago

So I can't dublicate anything in user files?

I want to add a new instance in playerlasersightcontreolleruserdata.user.2 file chainsaw.PlayerLaserSightControllerUserData.Weapon.Settings[6] this one is for the SG-09 R Handgun,

I saw the mod "Laser for every handgun" have more instances, I tried copy and paste but it would only overwrite an existing instance, not make a new one. I have no idea how others have added new instances. Maybe I need to use another tool for that?

czastack commented 2 months ago

@Josko91 You can. You just edit instances in Objects. Usual user file has one root object, when you duplicate an array field item, new instance is added automatically.

Josko91 commented 2 months ago

Thank you! It works now! Now I understand =)