dim3 Forum

Full Version: Dim 3 beta engine
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have another question. I'm trying to use the most recently released Beta. I added my Data folder to it but when I start the engine all that shows up is the background to the main menu. Do I have to add something or press a certain button?
The new beta has a different structure to Interface.xml IIRC.

Duno if the new demo folder is still up for download, have a look in the beta thread.
For reference:

Code:
<Interface>

    <Scale x="640" y="480" />

    <Bitmaps>
    
        <Bitmap name="Hammer Icon">
            <Image file="icon_hammer" />
            <Position x="5" y="390" />
            <Size width="64" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Pistol Icon">
            <Image file="icon_pistol" />
            <Position x="5" y="390" />
            <Size width="64" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Machine Gun Icon">
            <Image file="icon_machine_gun" />
            <Position x="5" y="390" />
            <Size width="128" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Ray Gun Icon">
            <Image file="icon_raygun" />
            <Position x="5" y="390" />
            <Size width="128" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>

        <Bitmap name="Missile Icon">
            <Image file="icon_missile" />
            <Position x="5" y="390" />
            <Size width="128" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>

        <Bitmap name="Mine Icon">
            <Image file="icon_mine" />
            <Position x="5" y="390" />
            <Size width="64" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>

        <Bitmap name="Shock Cube Icon">
            <Image file="icon_shock" />
            <Position x="5" y="390" />
            <Size width="128" height="64" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Grenade Icon">
            <Image file="icon_grenade" />
            <Position x="580" y="420" />
            <Size width="32" height="32" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Bullets Background">
            <Image file="bullet_empty" />
            <Position x="200" y="463" />
            <Size width="4" height="8" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
            <Repeat on="true" count="0" x="5" y="0" />
        </Bitmap>
    
        <Bitmap name="Bullets">
            <Image file="bullet_full" />
            <Position x="200" y="463" />
            <Size width="4" height="8" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
            <Repeat on="true" count="0" x="5" y="0" />
        </Bitmap>

        <Bitmap name="Clips Background">
            <Image file="clip_empty" />
            <Position x="100" y="443" />
            <Size width="8" height="8" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
            <Repeat on="true" count="0" x="9" y="0" />
        </Bitmap>

        <Bitmap name="Clips">
            <Image file="clip_full" />
            <Position x="100" y="443" />
            <Size width="8" height="8" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" />
            <Repeat on="true" count="0" x="9" y="0" />
        </Bitmap>

        <Bitmap name="Ammo Background">
            <Image file="ammo_background" />
            <Position x="5" y="459" />
            <Size width="300" height="16" />
            <Settings alpha="0.1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Ammo Clip Background">
            <Image file="ammo_background" />
            <Position x="205" y="439" />
            <Size width="100" height="16" />
            <Settings alpha="0.1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>
        
        <Bitmap name="Grenade Background">
            <Image file="ammo_background" />
            <Position x="574" y="459" />
            <Size width="48" height="16" />
            <Settings alpha="0.1" flip_horizontal="false" flip_vertical="false" />
        </Bitmap>

        <Bitmap name="Flag Icon">
            <Image file="icon_flag" />
            <Position x="603" y="5" />
            <Size width="32" height="32" />
            <Settings alpha="1" flip_horizontal="false" flip_vertical="false" hide="true" flash="true" />
        </Bitmap>
        
    </Bitmaps>
    
    <Texts>
    
        <Text name="Weapon Name">
            <Position x="12" y="474" />
            <Settings data="" color="00FF00" />
        </Text>
        
        <Text name="Grenade Ammo">
            <Position x="580" y="474" />
            <Settings data="" color="00FF00" />
        </Text>
        
        <Text name="Dead">
            <Position x="350" y="465" />
            <Settings data="[ Press SPACE to respawn ]" color="FFFFFF" hide="true" />
        </Text>
        
    </Texts>

    <Bars>
    
        <Bar name="Health">
            <Position x="628" y="376" />
            <Size width="8" height="100" />
            <Outline on="true" color="000000" alpha="1" />
            <Fill alpha="0.5" start_color="AA0000" end_color="FF3333" />
            <Settings vert="true" />
        </Bar>
        
    </Bars>
    
    <Menus>
    
        <Menu name="MainMenu">
            <Items>
                <Item id="0" data="Continue" />
                <Item id="1" data="Setup" multiplayer_disable="true" />
                <Item id="2" data="Save or Load Game" multiplayer_disable="true" />
                <Item id="3" data="Interface Examples" sub_menu="InterfaceMenu" multiplayer_disable="true" />
                <Item id="4" data="Quit" quit="true" />
            </Items>
        </Menu>
        
        <Menu name="InterfaceMenu">
            <Items>
                <Item id="10" data="Title" />
                <Item id="11" data="Story Page" />
                <Item id="12" data="Chooser" />
                <Item id="13" data="Movie" />
                <Item id="14" data="Main Menu" sub_menu="MainMenu" />
            </Items>
        </Menu>
        
    </Menus>
    
    <Choosers>

        <Chooser name="MapChooser">
            <Texts>
                <Text id="0" data="Choose a Map" x="320" y="95" just="center" large="true" clickable="false" />
                <Text id="0" data="This is a regular text item.{r}These items can have returns and be clickable." x="90" y="290" just="left" large="false" clickable="false" />
                <Text id="0" data="{0}" x="90" y="330" just="left" large="false" clickable="false" />
                <Text id="0" data="{1}." x="90" y="350" just="left" large="false" clickable="false" />
            </Texts>
            <Items>
                <Item id="100" file="demo" x="90" y="120" clickable="true" />
                <Item id="101" file="deathmatch" x="256" y="120" clickable="true" />
                <Item id="102" file="ctf" x="422" y="120" clickable="true" />
                <Item id="103" file="cancel" x="422" y="385" clickable="true" />
            </Items>
        </Chooser>
            
    </Choosers>
    
    <Color base="FFFFFF" header="FF3FFF" disabled="3F3F3F" mouse_over="3F3FFF" hilite="009000" />
    <Progress left_x="26" right_x="615" top_y="395" bottom_y="422" base_color_start="00005F" base_color_end="0000FF" hilite_color_start="5F005F" hilite_color_end="FF00FF" text_color="000000" />
    <Chat x="637" y="370" last_add_life_sec="15" next_life_sec="5" />
    <Fade title_msec="1000" map_msec="300" />
    
    <Buttons>
        <Game x="5" y="80" width="128" height="32" on="true" />
        <Game_New x="133" y="48" width="128" height="32" on="true" />
        <Game_Load x="133" y="80" width="128" height="32" on="true" />
        <Game_Setup x="133" y="112" width="128" height="32" on="true" />
        <Game_New_Easy x="261" y="16" width="128" height="32" on="true" />
        <Game_New_Medium x="261" y="48" width="128" height="32" on="true" />
        <Game_New_Hard x="261" y="80" width="128" height="32" on="true" />
        <Multiplayer x="5" y="400" width="128" height="32" on="true" />
        <Multiplayer_Host x="133" y="368" width="128" height="32" on="true" />
        <Multiplayer_Join x="133" y="400" width="128" height="32" on="true" />
        <Multiplayer_Setup x="133" y="432" width="128" height="32" on="true" />
        <Credit x="500" y="379" width="128" height="32" on="true" />
        <Quit x="500" y="415" width="128" height="32" on="true" />
    </Buttons>
    
    <Sound click="Click" />
    <Music intro="" />
    
    <Project name="dim3 Demo" />

    <Games>
        <Game type="Death Match" />
        <Game type="Team Death Match" />
        <Game type="CTF" />
    </Games>

</Interface>

[>] Brian
What would I have to change in the script to make the main menu work? And I'm guessing it's in the interface script.

Edit: I have found something weird. The </Menu>

<Menu name="InterfaceMenu">

and the other menu once you finish the code are in orange. Does that mean that that's what I have to change?
No.
I'm guessing that you're using Taco to edit your scripts and xml?
Taco just thinks that you are refering to the <menu> tag in HTML and colors it correctly.
It doesnt know anything about Dim3 and will not tell you how to make your game, lol. :D
Just get the newest data folder and add your content. That's a lot easier. :/
I use Text Wrangler and it's tons easier then using Text Edit like I used too... Smile
The problem is that the current beta builds of 2.5 do not include a appropriate data folder, afair the 2.5b4 had one. That version does not reside on Brian's website any longer, does it? That means if 2.5b>4 is your first download, you are screwed.
Bradamante Wrote:The problem is that the current beta builds of 2.5 do not include a appropriate data folder, afair the 2.5b4 had one. That version does not reside on Brian's website any longer, does it? That means if 2.5b>4 is your first download, you are screwed.

Thats because the beta's are for U83r 31337 h4X0rs who know what they are doing, and have the new releases 10 seconds after brian posts the link. XD
So could someone give me a link or someway of getting a data folder so I can use?
shooks Wrote:So could someone give me a link or someway of getting a data folder so I can use?

I'll include the data with the next beta, in a couple days.

[>] Brian
Pages: 1 2
Reference URL's