Creare Videogiochi - Game Developer
Import failed for 'DefaultMapPrefixes' - Versione stampabile

+- Creare Videogiochi - Game Developer (https://www.making-videogames.net/giochi)
+-- Forum: Unreal Engine & Unreal Development Kit (UDK) Italia (https://www.making-videogames.net/giochi/Forum-Unreal-Engine-Unreal-Development-Kit-UDK-Italia)
+--- Forum: Richieste di Aiuto per UDK e Unreal Engine 4 (https://www.making-videogames.net/giochi/Forum-Richieste-di-Aiuto-per-UDK-e-Unreal-Engine-4)
+--- Discussione: Import failed for 'DefaultMapPrefixes' (/thread-Import-failed-for-DefaultMapPrefixes)



Import failed for 'DefaultMapPrefixes' - Socket - 15-10-2013

Salve a tutti, creando un nuovo progetto e creando la classe che estende UTGame ho utilizzato questo codice :
Codice PHP:
class Gamemode extends UTGame
    config
(Miogioco);

    
defaultproperties
{
    
DefaultMapPrefixes(0)=(Prefix="HT",GameType="Miogioco.Gamemode")
    
DefaultPawnClass=class'Miogioco.HTPawn'
        
PlayerControllerClass=class'Miogioco.HTPlayerController'
        
    

Ma quando compilo mi esce il warning: Import failed for 'DefaultMapPrefixes': property is config (Check to see if the property is listed in the DefaultProperties. It should only be listed in the specific .ini/.int file)
Io nel defaultengine l'ho specificato però :\ Cosa può essere ? Grazie in anticipo


RE: Import failed for 'DefaultMapPrefixes' - ZioCrafter - 29-04-2014

Io avevo lo stesso problema quando stavo facendo la gamemode per supportare gli ironsight, io ho eliminato direttamente la riga 2 "config()" e funziona bene, devo ammetterlo però, non sono un asso nell'uc, visto che non ho questa necessità/voglia di impararlo.