Page 16 of 16

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Wed Feb 08, 2017 6:59 pm
by pcprice76
thanks! :)

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Sun Apr 30, 2017 4:32 pm
by Armored Pig DEV
how to you install this plugin

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Tue Jul 11, 2017 10:35 am
by sagispin
is there a way to create object by name withought the nickname behavior?

foreach (var typeName in runtime.types)
if(typeName == requestedType)
create instance (runtime.types[typeName])

this results an error for some reason

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Tue Jul 11, 2017 10:47 am
by sagispin
i think i found my answer:
"This isn't supported because as part of minifying and obfuscating your project on export, object names are removed to make it even more difficult to reverse engineer a project.

Allowing creating objects by a variable would then force C2 to include the original names of all objects, possibly making it easier to reverse engineer the project. TBH I think the best solution is a series of subevents like you've shown."

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Tue Jul 11, 2017 12:55 pm
by rexrainbow
@sagispin

C3 supports creating instance by name string officially, without any 3rd party plugin.

Re: [Plugin] Nickname, [Behavior] Nickname

PostPosted: Wed Jul 12, 2017 3:52 pm
by sagispin
@rexrainbow
im waiting for C3 to become more stable, and have more plugins.
but untill then i will use the nickname behavior, i can enforce a nickname behav string to be the object name and avoid bugs, by running an exe that checks the xml files of the project.