Jump to content
  • 0

Is Patching Decorate Scripts a Possibility?


Beemer

Question

Hey all,

So I started modifying the OG Golden Souls' enemies and weapons by rebalancing and implementing faster reloads.

I then decided I'd make a separate pk3 with only the actors I replaced in decorate and load it after Golden Souls' pk3, but sadly it didn't work.

So I was wondering if this would even be possible, and if it is, what would be the best way of approaching this?

 

Bless...

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 2

You also have to rename dec_enem in your addon to something else (eg: cust_enem) and #include that instead in your addon's decorate lump

Edited by sluggard

Share this post


Link to post
  • 1

Rename R_Red_Plant to something else like R2_Red_Plant, error says there's already another actor using that name, same for the Editor number, change it to something else too or remove it then it will work.

Edited by sluggard

Share this post


Link to post
  • 0
5 hours ago, sluggard said:

You have to find the actor definitions from the original file and inherit then replace them

 

https://zdoom.org/wiki/Using_inheritance

Thanks, I'll give it a shot :)

 

Edit: Not sure how to execute it tho, I get a lot of errors and can't load into the game...

 

-This is an example of an actor I want to replace...

 

TGS_rebalance.zip

Edited by bluemoss
Updated my Situation

Share this post


Link to post
  • 0

So I changed 'R_Red_Plant' to 'bluemoss_Red_Plant' and removed the editor number, still gives the same problem when loading after Golden Souls:

 

...

Spoiler

 

"LoadActors: Load actor definitions.
Script error, "TGS_rebalance.pk3:dec_enem.txt" line 1:
   Parent type 'Red_Plant' not found in bluemoss_Red_Plant
Script error, "TGS_rebalance.pk3:dec_enem.txt" line 1:
   Replaced type 'Red_Plant' not found for bluemoss_Red_Plant
Script error, "TGS_rebalance.pk3:dec_enem.txt" line 1:
   Parent type 'Red_Plant' not found in bluemoss_Red_Plant
Script warning, "TGS_rebalance.pk3:dec_enem.txt" line 1:
   Tried to define class 'bluemoss_Red_Plant' more than once. Renaming class to 'bluemoss_Red_Plant@TGS_rebalance.pk3@dec_enem.txt'
Script error, "TGS_rebalance.pk3:dec_enem.txt" line 1:
   Replaced type 'Red_Plant' not found for bluemoss_Red_Plant@TGS_rebalance.pk3@dec_enem.txt
Script warning, "TGS_rebalance.pk3:dec_enem.txt" line 33:
   Unknown class name 'Plantball' of type 'Actor'
Script warning, "TGS_rebalance.pk3:dec_enem.txt" line 33:
   Unknown class name 'Plantball' of type 'Actor'

 

Execution could not continue.

2 errors while parsing DECORATE scripts"


 

I thought this would just patch over the 'Red_Plant' actor in the original mod if I loaded my edit after it, turns out it's a bigger process to just replace the properties

Edited by bluemoss
Changed formatting to be easier to read

Share this post


Link to post
  • 0
37 minutes ago, bluemoss said:

So I changed 'R_Red_Plant' to 'bluemoss_Red_Plant' and removed the editor number, still gives the same problem when loading after Golden Souls...

Here's my load order:

 

Spoiler

loadorder.png

 

Edited by bluemoss

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...