[SOLVED] Finding a specific actor in a mod?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Dan_The_Noob
Posts: 880
Joined: Tue May 07, 2019 12:24 pm
Graphics Processor: nVidia with Vulkan support
Contact:

[SOLVED] Finding a specific actor in a mod?

Post by Dan_The_Noob »

Hey guys,

trying to find a specific actor in a mod, I know the actor name i just can't find where it is located in the mod to edit/tweak it.

the actor i'm looking for is "DarkRevenant"

and mod is my Intensify edit of Shuffle667
viewtopic.php?f=43&t=65815&p=1117755
Last edited by Dan_The_Noob on Tue Jan 17, 2023 1:07 pm, edited 1 time in total.
User avatar
m8f
 
 
Posts: 1461
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Location: Siberia (UTC+7)
Contact:

Re: Finding a specific actor in a mod?

Post by m8f »

IntensifyMod.rar/Intensify.pk3/_mwr.wad/DECORATE:

Code: Select all

...
actor RevSpawner : RandomSpawner replaces Revenant
{
	DropItem "NewRevenant" 	256 50
	DropItem "Revenant2" 	256 10
	DropItem "DarkRevenant" 	256 10
	DropItem "Malevonant" 	256 10
	DropItem "Incarnate" 	256 1
	DropItem "NailBorg"	256 10
	DropItem "BlasterBorg"	256 10
	DropItem "NailBorgCommando"	256 10
}
...
IntensifyMod.rar/Intensify.pk3/Spirit.WAD/DECORATE:

Code: Select all

ACTOR DarkRevenant : Revenant
{
Health 600
...
User avatar
Dan_The_Noob
Posts: 880
Joined: Tue May 07, 2019 12:24 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Finding a specific actor in a mod?

Post by Dan_The_Noob »

oh it was in Spirit this whole time? i went through every monster-related wad and somehow missed spirit, thanks a lot!

I don't suppose you used any tricks to find that? or did you just look through the mess that is shuffle667's wad clusterf**k
User avatar
m8f
 
 
Posts: 1461
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Location: Siberia (UTC+7)
Contact:

Re: [SOLVED] Finding a specific actor in a mod?

Post by m8f »

I unpacked everything from Intensify.pk3 into a directory and ran grep there:

Code: Select all

`--> grep DarkRevenant *
grep: _mwr.wad: binary file matches
grep: Spirit.WAD: binary file matches
Fortunately, WAD files don't have any compression, so text inside them can be searched that way.
User avatar
Dan_The_Noob
Posts: 880
Joined: Tue May 07, 2019 12:24 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [SOLVED] Finding a specific actor in a mod?

Post by Dan_The_Noob »

m8f wrote: Tue Jan 17, 2023 9:46 pm I unpacked everything from Intensify.pk3 into a directory and ran grep there:

Code: Select all

`--> grep DarkRevenant *
grep: _mwr.wad: binary file matches
grep: Spirit.WAD: binary file matches
Fortunately, WAD files don't have any compression, so text inside them can be searched that way.
OHHH nice nice, i'll have to keep that in mind... until i eventually attempt to PK3 this mess
Post Reply

Return to “Scripting”