Page MenuHomeFeedback Tracker

4_world/entities/itembase/magazine/magazine.c Engine Class "Magazine" cannot be Modded.
New, UrgentPublic

Description

we can't make modifications to the engine class "magazine" in 4 world.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

make a new modded class on Magazine.

Event Timeline

Masspwnaged updated the task description. (Show Details)May 3 2019, 4:48 AM

The weather controller class also has this issue, it seems like it's intended to be an extendable/modded class but it reports the same thing, engine class cannot be modded. This is in the weather.c script file. Not sure if it's intended or not, just reporting it.

mov3ax added a subscriber: mov3ax.May 7 2019, 9:33 PM

Because you don't have to, class Magazine is inherited from class ItemBase which can be modded

Magazine myMagazine = ...
myMagazine.DoSomething():

..

modded class ItemBase
{
     void DoSomething()
     {
     }
}
mov3ax added a comment.May 9 2019, 4:48 PM

Actually, we should have the possibility to do modded class of magazine for overriding some functions