✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Feb 11, 2016 2:54:09 GMT 10
XFS support was recently added to arctool which makes it possible to edit data which wasn't practical to change before. This includes scripts, enemy spawn information, and a lot of other things. Use latest version of arctool and add the "-xfs" option to enable conversion of XFS files. It'll create an XML file you can edit. There's also a text file with struct information for the XML, but you'll want to that leave alone unless you really know what you're doing.
While I haven't tested editing enemy spawn data myself, I'll just include this information as a starting point for someone who wants to try to edit enemy spawn information in REmaster. If you unpack r10a.arc and edit r10a.ems.xml you'll see entries similar to this:
<classref type="1658741651"> <vector3 name="mPos" x="-91.538612" y="0.111853" z="90.161034"/> <vector3 name="mAng" x="0.000000" y="-3.822268" z="0.000000"/> <u8 name="mIdx" value="0"/> <u8 name="mType" value="0"/> <s8 name="mNumber" value="0"/> <u8 name="mSet" value="3"/> <u32 name="mFlag" value="2048"/> <u16 name="mAreas" value="0"/> <u16 name="mTopAreaNo" value="0"/> <u8 name="mHp_set" value="0"/> </classref>
That definitely looks like it would correspond to one enemy being defined. Some information is pretty straightforward. "mPos" is the spawn location of the enemy. "mAng" is the starting angle for the enemy. Some of the other information is more vague though. "mFlag" are bit flags set for the enemy (maybe defining starting behaviour, variants of the enemy, or something else?). Maybe "mType" defines the actual enemy type. "mHp_set" has to be the starting health for the enemy.
I personally recommend using notepad++ for editing XML files, but any text editor would do.
|
|
Posts: 31
|
Post by hdface on Feb 11, 2016 18:52:02 GMT 10
The things that wouldn't be possible without you and your work.
Thanks for the update.
|
|
|
Post by reaccount on Feb 14, 2016 3:29:29 GMT 10
The amount of work it would take aside, between this and manipulation of camera data, it's neat to know that creating an Arrange Mode is now possible.
|
|
Posts: 80
|
Post by Tao Lung Shamon on May 25, 2017 10:53:46 GMT 10
FluffyQuack, I want to try. Long awaited these scripts, and increase the number of zombies playing the rooms. Now I would like to edit this method that you have. Can you give me tool links ?
|
|
Enjoy!
Posts: 1,266
Original Join Date: Nov 21, 2012
|
Post by Mister T on Jun 26, 2017 21:58:07 GMT 10
Does this mean we can spawn Barry in almost every Boss Fight with his Handcannon?
|
|