Page 1 of 1

[227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 10:44 am
by Gizzy
A couple of times I have accidently created classes with the same name as other built-in ones (Knife, Scout etc) and as a result, I have had to export all my classes and recompile my mods a few times.

Would it be possible to add a small notification telling the player that a class with this name already exists?

Re: [227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 11:33 am
by スマイル・ドラゴン
Guess what, that notification happens in UnrealEd 1.0.

Re: [227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 12:59 pm
by Gizzy
Guess what, that notification happens in UnrealEd 1.0.
*Checks*

Edit: Lol.

Image

Re: [227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 2:34 pm
by Smirftsch
guess this is another thing which *might* be useful to re-implement from ued1...

Re: [227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 3:13 pm
by Gizzy
guess this is another thing which *might* be useful to re-implement from ued1...
I'd sure as hell be grateful for it :)

Re: [227] Creating classes with same name as others

Posted: Tue Aug 31, 2010 8:54 pm
by mentalhunter
Wow, i never knew Ued 1.0 had that. And YES! please add it to 227 if it aint that much trouble! Very VERY usefull,  specially when you're making a mod that has ALOT of weapons ;D

Re: [227] Creating classes with same name as others

Posted: Wed Sep 01, 2010 2:40 pm
by TCP_Wolf
Most mods use a prefix on their own classes, at least on those classes which are very prone to naming conflicts.

Serpentine:
SU_[something]

Infiltration:
INFIL_[something]

UTeamFix:
UTeamPickup_[something]
UTeamWeapon_[something]


I do agree a notification / warning would be helpful either way ;-)

Re: [227] Creating classes with same name as others

Posted: Wed Sep 01, 2010 4:43 pm
by []KAOS[]Casey
Wow, that's one thing I never expected to be removed from ued2

Re: [227] Creating classes with same name as others

Posted: Tue Oct 12, 2010 4:53 pm
by Gizzy
UED2 added out of UED1 known check: "An Actor class named Example already exists! Do you want to replace it?" dialog for duplicate class names, to prevent messing up an existing class by accident.
Not fixed in g_40  ::)

Re: [227] Creating classes with same name as others

Posted: Wed Oct 13, 2010 12:07 am
by []KAOS[]Casey
It might have broken again with all the editor updates since then. Smirf will be poked by the topic bump.. ;p

Re: [227] Creating classes with same name as others

Posted: Wed Oct 13, 2010 9:38 am
by .:..:
Works fine to me, nothing to fix.

Re: [227] Creating classes with same name as others

Posted: Wed Oct 13, 2010 9:52 am
by Smirftsch
its a requested feature, not a bug, so nothing to fix anyway :P

But seems to work fine.