An idea

Do you have any feedback for us? Are you looking for a file that you think we should post? Please don't hesitate to tell us about it!
Nemphis
Ghargoil 1
Ghargoil 1
Posts: 81
Joined: Sun Jun 21, 2009 8:06 am

An idea

Post by Nemphis » Tue Jul 14, 2009 3:43 pm

i was thinking we could possibly bring activity back to the game if we make an Urban assault Gaming clan your thoughts

UrbanAce3
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 152
Joined: Mon Jul 07, 2008 12:39 am
Location: New Zealand

Re: An idea

Post by UrbanAce3 » Tue Jul 14, 2009 10:44 pm

I play the game every day
UrbanAce3~
:/i163.photobucket.com/albums/t318/Al-Khabir/UrbanAssaultSig7.gif[/img]
://i529.photobucket.com/albums/dd333/pete_kaboom/SulgogarsUB2.png[/img]

Nemphis
Ghargoil 1
Ghargoil 1
Posts: 81
Joined: Sun Jun 21, 2009 8:06 am

Re: An idea

Post by Nemphis » Wed Jul 15, 2009 7:35 am

no i mean to get people interested in the multiplayer of the a reason to play and possibly get new members into the UA community

UrbanAce3
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 152
Joined: Mon Jul 07, 2008 12:39 am
Location: New Zealand

Re: An idea

Post by UrbanAce3 » Wed Jul 15, 2009 7:45 am

Oh sure why not
UrbanAce3~
:/i163.photobucket.com/albums/t318/Al-Khabir/UrbanAssaultSig7.gif[/img]
://i529.photobucket.com/albums/dd333/pete_kaboom/SulgogarsUB2.png[/img]

User avatar
Jake wedding
Mnosjetz
Mnosjetz
Posts: 67
Joined: Fri Jul 03, 2009 9:42 am
Location: NZ
Contact:

Re: An idea

Post by Jake wedding » Wed Jul 15, 2009 8:22 pm

it will be good, it may also improve support for modding.

we need some more modding guides and maybe translated game files
Please hold, Your Teleportation Services Provided By TelePort. If your under attack and cant teleport
please Phone one of our Help Desks.....you are 2075.33 in que 5075

TelePort is a Branch of Telecom, all rights reserved

UrbanAce3
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 152
Joined: Mon Jul 07, 2008 12:39 am
Location: New Zealand

Re: An idea

Post by UrbanAce3 » Wed Jul 15, 2009 10:32 pm

Modding guides are yes i wish i had a Level making guide that showed my the sectors key thingy
UrbanAce3~
:/i163.photobucket.com/albums/t318/Al-Khabir/UrbanAssaultSig7.gif[/img]
://i529.photobucket.com/albums/dd333/pete_kaboom/SulgogarsUB2.png[/img]

User avatar
leftylink
Useless Bystander Admin
Useless Bystander Admin
Posts: 799
Joined: Sat Dec 01, 2007 8:41 pm
Location: To your left. No, your other left.

Re: An idea

Post by leftylink » Fri Jul 17, 2009 8:25 am

What do you mean by the "sectors key thingy"? I think I can help you with that...

If you're talking about the numbers in the blg_map, that's easily done by looking at the Unit/Building guides in each faction and converting the building numbers to hexadecimal...

If you want a more comprehensive and consolidated list, just let me pull out the list from when I made the Urban Assault LDF Reader to convert the LDFs to Excel maps...

Code: Select all

/*
 * Copyright © 2009 Lefty Link
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

package ualr.info;

public enum Building {
    
    // Singleplayer
    None (0, "None", false),
    RP4 (1, "Resistance Power 1+ (Level 4)", false),
    RF2 (2, "Resistance Flak 2", false),
    RR1 (3, "Resistance Radar 1", false),
    NF1 (8, "Small Flak Station", false),
    MP3 (10, "Mykonian Power (Level 3)", false),
    RP4x (11, "Resistance Power 2 (Level 4 w/ flaks)", false),
    GP4 (12, "Ghorkov Power 2 (Level 4)", false),
    MF (13, "Mykonian Flak", false),
    RP6 (14, "Resistance Power (Level 6)", false),
    TP4 (17, "Taerkasten Power 2 (Level 4)", false),
    BF (18, "Black Sect Flak", false),
    BDF1 (19, "Boden Flak", false),
    NF2ew (20, "Small Flak Station (East/West)", false),
    NF2ns (21, "Small Flak Station (North/South)", false),
    BDF2 (22, "Boden Flak", false),
    BDF3 (23, "Boden Flak", false),
    BDF4 (24, "Boden Flak", false),
    RF1 (28, "Resistance Flak 1", false),
    MGF1 (29, "Small Myko Ground Flak", false),
    GF (30, "Ghorkov Flak", false),
    TF (31, "Taerkasten Flak", false),
    MGF2 (33, "Small Myko Ground Flak", false),
    MGF3 (34, "Small Myko Ground Flak x3", false),
    GP2 (52, "Ghorkov Power 1 (Level 2)", false),
    TP2 (53, "Taerkasten Power 1 (Level 2)", false),
    RR2 (54, "Resistance Radar 2", false),
    BDF5 (55, "Boden Flak", false),
    BDF6 (55, "Boden Flak", false),
    SHP8 (62, "Stonehenge Power (Level 8)", false),
    RP2 (63, "Resistance Power 1 (Level 2)", false),
    RP6x (64, "Resistance Power 2 (Level 6 w/ flaks)", false),
    GR (71, "Ghorkov Radar", false),
    MR (72, "Mykonian Radar", false),
    TR (73, "Taerkasten Radar", false),
    TFx (74, "Taerkasten Flak (Weak version)", false),
    
    // Multiplayer
    mNone (0, "None", true),
    mRP2 (1, "Resistance Power 1 (Level 2)", true),
    mRP4 (54, "Resistance Power 2 (Level 4)", true),
    mRP6 (61, "Resistance Power 3 (Level 6)", true),
    mRF (2, "Resistance Flak" , true),
    mRR (3, "Resistance Radar", true),
    
    mGP2 (12, "Ghorkov Power 1 (Level 2)", true),
    mGP4 (55, "Ghorkov Power 2 (Level 4)", true),
    mGP6 (62, "Ghorkov Power 3 (Level 6)", true),
    mGF (25, "Ghorkov Flak" , true),
    mGR (28, "Ghorkov Radar", true),
    
    mMP2 (10, "Mykonian Power 1 (Level 2)", true),
    mMP4 (56, "Mykonian Power 2 (Level 4)", true),
    mMP6 (63, "Mykonian Power 3 (Level 6)", true),
    mMF (26, "Mykonian Flak" , true),
    mMR (29, "Mykonian Radar", true),
    
    mTP2 (17, "Taerkasten Power 1 (Level 2)", true),
    mTP4 (57, "Taerkasten Power 2 (Level 4)", true),
    mTP6 (64, "Taerkasten Power 3 (Level 6)", true),
    mTF (27, "Taerkasten Flak" , true),
    mTR (30, "Taerkasten Radar", true),

    mSHP8 (62, "Stonehenge Power (Level 8)", true),
    mAAF (59, "Small Anti-Air Flak", true),
    mBDF (60, "Boden Flak", true),
    ;
    
    /**
     * Numeric code identifying the building.
     */
    private final int code;
    /**
     * Full name of the building.
     */
    private final String fullName;
    /**
     * Whether the building is for multiplayer
     */
    private final boolean isMultiplayer;
    
    /**
     * Whether to use multiplayer buildings...
     */
    private static boolean useMultiplayer = false;
    
    Building(int code, String fullName, boolean isMultiplayer) {
        this.code = code;
        this.fullName = fullName;
        this.isMultiplayer = isMultiplayer;
    }
    
    /**
     * Returns the building designated by the code given.
     * @param code Numeric code identifying a building.
     * @return The matching Building, or None if not found.
     */
    public static Building buildingFromCode(int code) {
        // Funky thing I found about multiplayer
        // Apparently the singleplayer buildings that are not overridden
        // Will still appear if used. This forces me to use this code...
        Building foundSingle = None;
        Building foundMulti = None;
        for (Building building : values()) {
            if (building.code == code) {
                if (building.isMultiplayer) {
                    foundMulti = building;
                } else {
                    foundSingle = building;
                }
            }
        }
        if (useMultiplayer) {
            return foundMulti != None ? foundMulti : foundSingle;
        }
        return foundSingle;
    }
    
    /**
     * Sets whether to use multiplayer buildings.
     * @param flag True for multiplayer buildings, false for singleplayer.
     */
    public static void setMultiplayer(boolean flag) {
        useMultiplayer = flag;
    }
    
    /**
     * Returns the numeric code identifying this building.
     * @return Numetic code identifying this building.
     */
    public int getCode() {
        return code;
    }
    
    /**
     * Returns the short name of this building.
     * The short name is the full name from getFullName() without anything
     * in parentheses.
     * @return
     */
    public String getName() {
        String name = fullName;
        if (name.contains(" (")) {
            name = name.substring(0, name.indexOf(" ("));
        }
        return name;
    }
    
    /**
     * Returns the full name of this building.
     * @return Full name of this building.
     */
    public String getFullName() {
        return fullName;
    }
    
    /**
     * Returns the on-map representation of the building.
     * This will be a few letters to abbreviate the full name of the building.
     * @return On-map representation of building.
     */
    @Override
    public String toString() {
        String text = super.toString();
        
        // "None" isn't a building
        if (text.equals("None") || text.equals("mNone")) {
            return "";
        }
        
        // If it's multiplayer, don't show the m in front
        if (isMultiplayer) {
            return text.substring(1);
        }

        return text;
    }
}
Again, you'll need to convert all the numbers to hexadecimal if you want to use them in blg_map.

Also, if you're talking about typ_map...
http://www.metropolisdawn.com/files/mod ... images.zip and
http://www.metropolisdawn.com/files/mod ... signer.zip might be able to help you.
Last edited by leftylink on Tue Aug 09, 2016 7:05 am, edited 1 time in total.
~Leftylink, the former Useless Bystander Admin.
Retired from UA since university. May play again someday...

"SERP RUSH KEKEKEKEKEKEKEKE!!!"
"OMG I SAID NO RUSH 15 MINS!!!!!!" *dies*

Proud creator of the Urban Assault Campaign Guides [Resistance] [Ghorkov] [Taerkasten], the Urban Assault LDF Reader, and the Excel maps

User avatar
Fra6160
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 337
Joined: Sun Jun 29, 2008 12:56 pm
Location: Italy

Re: An idea

Post by Fra6160 » Fri Jul 17, 2009 2:28 pm

Nemphis wrote:i was thinking we could possibly bring activity back to the game if we make an Urban assault Gaming clan your thoughts
It's what I did time ago: I made a clan but then there was no multiplayer gaming and not many people. I think we might make some clans, so that things get well started. Actually we've GamesRanger to play on with.
THE FALL OF SDU MOD WORKS IN PROGRESS (16%) - STOPPED - ABANDONED

Download it here: http://www.gamefront.com/files/20703518 ... a+Demo.rar


Image

UrbanAce3
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 152
Joined: Mon Jul 07, 2008 12:39 am
Location: New Zealand

Re: An idea

Post by UrbanAce3 » Fri Jul 17, 2009 10:16 pm

Yes hexadecimals r what i need
UrbanAce3~
:/i163.photobucket.com/albums/t318/Al-Khabir/UrbanAssaultSig7.gif[/img]
://i529.photobucket.com/albums/dd333/pete_kaboom/SulgogarsUB2.png[/img]

User avatar
leftylink
Useless Bystander Admin
Useless Bystander Admin
Posts: 799
Joined: Sat Dec 01, 2007 8:41 pm
Location: To your left. No, your other left.

Re: An idea

Post by leftylink » Sat Jul 18, 2009 7:40 pm

So is there a problem...? I've already given you the list of all the numbers in decimal (Just scroll down in the code window... and ignore the true/false values, they aren't useful for this purpose), all you have to do is convert from decimal (base 10) to hexadecimal (base 16)...

If for some reason you need help with that conversion... I would point you to my explanation of hexadecimal, or O Y ME's explanation. Or of course... google or wikipedia it...
~Leftylink, the former Useless Bystander Admin.
Retired from UA since university. May play again someday...

"SERP RUSH KEKEKEKEKEKEKEKE!!!"
"OMG I SAID NO RUSH 15 MINS!!!!!!" *dies*

Proud creator of the Urban Assault Campaign Guides [Resistance] [Ghorkov] [Taerkasten], the Urban Assault LDF Reader, and the Excel maps

Post Reply