Jump to content

EDF was working, not anymore..


DarkLink

Recommended Posts

Okay guys, I made the EDF for my gamemode, and it was working before, I could go map editor and add the definitions settings there.. but now, I go there and I dont see the definition settings for my gamemode :S

I think all its okay..

the meta.xml is like this:

  
<meta> 
     
     
     
     
    <info author="Tiago Martins" version="0.1" type="gamemode" name="DarkLink" description="A gamemode about border patrol and emigration" edf:definition="borderpatrol.edf"/> 
    <script src="server_onPlayerJoin.lua" type="server" /> 
    <script src="server_lightsnmines.lua" type="server" /> 
    <script src="server_radarZone.lua" type="server" /> 
    <script src="client_logingui.lua" type="client" /> 
    <script src="server_Weapons.lua" type="server" /> 
    <script src="client_WeaponsFunc.lua" type="client" /> 
    <script src="server_Prisao.lua" type="server" /> 
    <script src="server_passagens.lua" type="server" /> 
    <script src="client_mines.lua" type="client" /> 
    <script src="client_weed.lua" type="client" /> 
    <script src="server_weed.lua" type="server" /> 
    <map src="teleporte.map" dimension="0" /> 
     
    <file src="spawnpoint.png" /> 
    <file src="flag.png" /> 
    <file src="team.png" /> 
    <file src="weapon.png" /> 
     
     
</meta> 
  

the borderpatrol.edf file:

  
<def name="borderpatrol"> 
  
  
    <element name="spawnpoint" friendlyname="Spawnpoint" instructions="Place your spawnspoints!" icon="spawnpoint.png"> 
        <data name="team" type="selection:Emigrants,Police" required="true" default="Emigrants" /> 
         
        <data name="position" type="coord3d" default="0,0,0" /> 
        <data name="rotation" type="coord3d" default="0,0,0" /> 
        <data name="skin" type="skinID" default="0" /> 
        <ped model="!skin!" rotation="!rotation!" position="!position!" team="!team!"/> 
         
         
    </element> 
  
    <element name="passage" friendlyname="Teleport" instructions="Place your teleport, emigrants need to reach USA!" icon="teleport.png" > 
        <data name="position" type="coord3d" default="0,0,0" /> 
         
        <data name="size" type="number" required="false" default="2"/> 
        <data name="color" type="color" required="false" default="##0ff94dff" /> 
         
  
        <marker type="cylinder" size="!size!" color="!color!" /> 
         
         
        <marker size="0.5" type="cylinder" color="#ffff00ff" /> 
         
         
         
    </element> 
    <element name="mine" friendlyname="Mine" instructions="Place your mine wherever you want, police need do defend USA!" icon="mine.png" > 
        <object editorOnly="true" model="3053" posZ="0" /> 
        <data name="position" type="coord3d" default="0,0,0" /> 
        <data name="rotation" type="coord3d" default="0,0,0" /> 
         
    </element> 
     
  
   
  
  
  
  
</def> 
  

And my resource folder:

resource.png

Thanks in advance guys, It was working one hour before!! But know, I tryed to put it on a folder named edf inside my resource folder, and changing the directory on meta.xml file and such... and didnt worked, then I put again on resource folder, but cant see the settings now on map editor :S

Thanks.

Link to comment
there is nothing wrong with the edf file, there may be a typo in meta.xml, but i would have to create a lot of dummy files to test it...

mtascreen20110715161432.th.jpg

Thanks for ur reply, u say a typo in meta.xml ?

What do you mean bro?

Thanks.

EDIT: Found the problem bro! Ehehe thanks alot!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...