If I remember correctly, Unicode is bad
Announcement
Collapse
No announcement yet.
Getting Started Compiling a Mod
Collapse
This is a sticky topic.
X
X
-
The UnrealEngine only accepts ASCII-compatible single-byte encodings (e.g. ISO 8859-1 or Windows-1252) or UTF-16 with byte order mark. UTF16 without byte order mark and other multi-byte encodings are not recognized. This includes UTF-8!
Script source files should always be restricted to ASCII characters, though. Other characters can be generated through the Char() function or imported via localized properties from UTF-16+BOM-encoded localization files.
Comment
-
With lots of reading of the forum and web I have a little mutator (mostly) working. My question is about workflow. I use the Server button on the Unreal Frontend. That launches with the selected map (WAR-Torlan). But since I am currently working on the mutator's configuration screen, I have Disconnect from the game started. When I get back to the main menu the computer takes control and launches WAR-Torlan again. Once I disconnect from that I can then go into the Multiplayer - Host Game - etc add my mutator and test my configuration. I'm spending a lot more time getting UT3 to the point that I can test my mutator configuration than I am working on my mutator. Is this normal? Have folks figured out a better way? Thanks!
Comment
-
I'm testing my mutator using a server and client now.
Is there a way to make LAN the default Server Type? I've also been searching around for some documentation or examples of using the Localization .int files it appears that udn.epicgames.com is down, or at least unreachable by me today.
Thanks in advance!
Comment
-
Hello, everyone, I've coded a mutator thats extends the Stinger to create a new behavior to the weapon, the code is working so I made a package to set a new skin to difference the weapon, everything is ok in the editor, i've copied the stinger mesh, material and textures (screen capture) and made my changes and renamed all to my new set, the new material is all ok and I made it to show on my version of Stinger mesh and it works too. Well, I've overwrited the default weapon property to reference my new package and it does not works, the compiler says that can't find my upk and the PIE shows the super.mesh...
There is one more problem, I only can play into the editor, when I use the mutator to replace my weapon, there stills nothing on the pickup factory or in the invetory when I selected my version of the weapon, but all works when I'm playing in the editor...
Comment
-
I'm only using the .upk, the texture files are in another disk, but everything was imported into the package file, need I to put all in the weapon directory at \src?
Hm I'm not adding -useunpublished when I run the game/editor... may be that is a problem happening... I've tried Published\CookedPC, Unpublished, also placing into the game folders my .upk file, nothing never worked...
I'll try compiling again to see if was that the problem with the mesh reference... may it also fix the pickupmesh when running the game, or not?
I'm not even a programmer, I'm just trying something with the script too
Comment
-
I did a "ut3 -batch export" on ripperlite for ex as described here:
http://utforums.epicgames.com/showth...=585103&page=2
The exported scripts seemed okay...
And tried immediately after to compile it using "ut3 - make" but got a bunch of errors (5 i think very similar)
What did i do wrong, if anything? Help
ex:
Importing Defaults for UTAmmo_RipperLite
C:\Program Files\Unreal Tournament 3\Development\Src\RipperLite\Classes\UTAmmo_Ripper Lite.uc(28) : Error, BEGIN OBJECT: The component name PickupLightEnvironment is already used (if you want to override the component, don't specify a class): Begin Object Class=DynamicLightEnvironmentComponentName=PickupL ightEnvironmentObjName=PickupLightEnvironmentArche type=DynamicLightEnvironmentComponent'UTGame.Defau lt__UTAmmo_FlakCannon:PickupLightEnvironment'
Importing Defaults for UTAttachment_RipperLite
C:\Program Files\Unreal Tournament 3\Development\Src\RipperLite\Classes\UTAttachment_ RipperLite.uc(11) : Error, BEGIN OBJECT: The component name SkeletalMeshComponent0 is already used (if you want to override the component, don't specify a class): Begin ObjectClass=SkeletalMeshComponentName=SkeletalMesh Component0ObjName=SkeletalMeshComponent
0Archetype=SkeletalMeshComponent'UTGameContent.Def ault__UTAttachment_Translocator:SkeletalMeshCompon ent0'
Comment
-
What does the Config(game) gives you? I'm familiar with Java but I don't understand this construct.
Originally posted by Limi View PostI'm trying to run the basic of basic helloworld mutators as a test to make sure everything is working right, and to also get a feel for the engine again. But I'm having some issues.
I have successfully compiled the mutator, and i'm using the -unpublished and -log flags to get some output. I can see that it's trying to load my mutator, but its just saying...
Code:Error: Error reading attributes for 'C:\Games\Unreal Tournament 3\Binaries\..\UTGame\Unpublished\CookedPC\Script\MutHelloWorld.u'
Code:ScriptLog: Mutators MutHelloWorld.HelloWorld Warning: Failed to load 'Class MutHelloWorld.HelloWorld': Failed to find object 'Class MutHelloWorld.HelloWorld'
Here's the code im using...
Code:class HelloWorld extends UTMutator config(Game); function PostBeginPlay() { Super.PostBeginPlay(); LogInternal("Hello World"); } defaultproperties { bExportMenuData=true GroupNames(0)="TEST" }
Comment
-
Problems finding source files with UT3 make
hello,
I've carefully read the tutorials and instructions but UT3 make seems to have problems finding my HelloWorld.uc file. Here's what I did:
I've created subdirectories in the Src directory:
Src/HelloWorld/Classes
I've created HelloWorld.uc in the Classes directory
I've added in UTEditor.ini:
ModPackageS=HelloWorld
When I run UT3 make I get this error. Any hints?
Init: Version: 3487
Init: Epic Internal: 0
Init: Compiled: Oct 21 2007 03:17:32
Init: Command line:
Init: Base directory: C:\Program Files\Unreal Tournament 3\Binaries\
Init: Character set: Unicode
Log: Executing Class Editor.MakeCommandlet
--------------------Core - Release--------------------
--------------------Engine - Release--------------------
--------------------GameFramework - Release--------------------
--------------------Editor - Release--------------------
--------------------UnrealEd - Release--------------------
--------------------UnrealScriptTest - Release--------------------
--------------------IpDrv - Release--------------------
--------------------OnlineSubsystemGameSpy - Release--------------------
--------------------OnlineSubsystemLive - Release--------------------
--------------------UTGame - Release--------------------
--------------------UTEditor - Release--------------------
--------------------UTGameContent - Release--------------------
--------------------HelloWorld - Release--------------------
Warning, Can't find files matching C:\Users\myriam\Documents\My Games\Unreal Tournament 3\Binaries\..\UTGame\Src\HelloWorld\Classes\*.uc
Warning/Error Summary
---------------------
Warning, Can't find files matching C:\Users\myriam\Documents\My Games\Unreal Tournament 3\Binaries\..\UTGame\Src\HelloWorld\Classes\*.uc
Success - 0 error(s), 1 warning(s)
Execution of commandlet took: 3.36 seconds
Comment
Comment