UE2 - UT2kX Setting Name variable problem [via editor]

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

EvilT-ModZ

Un-Gravitify
Aug 3, 2011
42
0
6
30
Russia
www.set-games.ru
Hello there!

I deal with editinlinenew class, so I can't set defaults by script, only via editor.
Code:
class ErrandBase extends Object
	editinlinenew;

Problem with setting up name variables, I need write paths to files, like at picture (in attachments), but it always destroy all symbols after dot
How can I set up these Name variables?
 

Attachments

  • 6y6PoCd31AE.jpg
    6y6PoCd31AE.jpg
    194.3 KB · Views: 25

EvilT-ModZ

Un-Gravitify
Aug 3, 2011
42
0
6
30
Russia
www.set-games.ru
Names are not supposed to contain dots. The dot is the separator symbol between two name parts of fully-qualified object names. If you think you need a dot, try a string or object variable instead, depending on what you are actually trying to achieve.

Thank you for reply!

So... Originally by game developers these variables are set. For example at picture "ApocalypseComment" it also name and it contains dots... I just can't understand.
 

EvilT-ModZ

Un-Gravitify
Aug 3, 2011
42
0
6
30
Russia
www.set-games.ru
Solved!

Done by defaults:
Code:
defaultproperties
{
	 DefaultPlayerClassName="P2HappyNightEngine.HappyNightDude"
	 PlayerControllerClassName="P2HappyNightEngine.HappyNightPlayer"
	 HUDType="P2HappyNightEngine.HappyNightHUD"
     DefaultPlayerName="TheDude"
     GameName="Postal2 Happy Night"

     Begin Object Class=DayBase Name=DayBase01
         Description="Monday tonight"
         UniqueName="DAY_A"
         ExcludeDays(0)="DEMO"
         MapTex="p2misc_full.map_day5"
         NewsTex="p2misc.newspaper_day_1"
         DudeNewsComment="DudeDialog.dude_news_monday"
         LoadTex="p2misc_full.loading1"
         DudeStartComment="DudeDialog.dude_map_exit1"

[B]		 Begin Object Class=ErrandBase Name=Errands01
			 DudeCompletedComment="DudeDialog.dude_map_anddone"
			 DudeStartComment="DudeDialog.dude_map_getcheck"
			 DudeWhereComment="DudeDialog.Dude_map_foundrws"
			 DudeFoundComment="DudeDialog.Dude_map_foundsigs"
			 bInitiallyActive=True
			 bIgnoreAfterCompletion=True
			 Name="Errands01"
		 End Object
		 Errands(0)=ErrandBase'P2HappyNightEngine.Errands01'[/B]

         Name="DayBase01"
     End Object
     Days(0)=DayBase'P2HappyNightEngine.DayBase01'
}
It works.
So, Name can contain dots.