Announcement

Collapse
No announcement yet.

S.o.s!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • S.o.s!!

    If any pros happen to read this, I would really appreciate it if you gave me a hand. I recently downloaded some of Tom Davies' new units to add to my game. I altered the units.txt file, but I not sure what else I need to do to get it to work. PLease help me out if you have time.
    -Chris B

  • #2
    Here a little Help:

    At first open the SpriteID.txt File.

    Make a new Sprite with individually ID:

    SPRITE_PLASMA_DESTROYER 62
    SPRITE_FUSION_TANK 78
    SPRITE_SAMURAI 06
    SPRITE_PLASMATICA 70
    SPRITE_CYBER_NINJA 48
    SPRITE_WARRIOR 03
    SPRITE_CARAVAN 77
    SPRITE_SLAVE 89
    SPRITE_NOBLE 92
    SPRITE_NEW_UNIT 94

    Then you must open the Uniticon.txt File.

    Write the files of your graphics down:

    ICON_UNIT_SIEGE_ENGINE "CU037F.tga" "CU037A.avi" "GAMEU093.txt" "HISTU093.txt" "PREQU093.txt" "VARIU093.txt" "UPUA37.tga" "STATU093.txt"
    ICON_UNIT_HORSE_ARCHER "CU005F.tga" "CU005A.avi" "GAMEU094.txt" "HISTU094.txt" "PREQU094.txt" "VARIU094.txt" "UPUA05.tga" "STATU094.txt"
    ICON_UNIT_CRUISE_MISSILE "CU040F.tga" "CU040A.avi" "GAMEU095.txt" "HISTU095.txt" "PREQU096.txt" "VARIU095.txt" "UPUA40.tga" "STATU095.txt"
    ICON_UNIT_HELICOPTER "CU054F.tga" "CU054A.avi" "GAMEU096.txt" "HISTU096.txt" "PREQU096.txt" "VARIU096.txt" "UPUA54.tga" "STATU096.txt"
    ICON_UNIT_MISSILE_CRUISER "CU049F.tga" "CU049A.avi" "GAMEU097.txt" "HISTU097.txt" "PREQU097.txt" "VARIU097.txt" "UPUA49.tga" "STATU097.txt"
    ICON_UNIT_NEW_UNIT "CU094F.tga" "CU094A.avi" "GAMEU094.txt" "HISTU094.txt" "PREQU094.txt" "VARIU094.txt" "UPUA94.tga" "STATU094.txt"

    (The txt Files are for the great library.)

    Now to the Unit.txt:

    Write your new unit like this

    UNIT_NEW_UNIT
    SHIELD_COST 800 (the cost of this Unit)
    POWER_POINTS 200 (How powerfull is the Unit)
    MAX_HP 15 (the Hitpoints of the Unit
    ATTACK 120
    DEFENSE 120
    FIREPOWER 4
    ZB_RANGE_ATTACK 240

    BATTLEFIELD_RANGE 3
    BATTLEFIELD_RADIUS 1

    VISION_RANGE 3 (The "See-Radius)

    ACTIVE_DEFENSE_RANGE 1
    ELECTRONIC_COMBAT_FACTOR 0 (I don't know)

    MAX_MOVEMENT 700
    FUEL 0

    SHIELD_HUNGER 75 (Support Costs)
    FOOD_HUNGER 0 (Support Costs)

    DEFAULT_SPRITE SPRITE_MOBILE_SAM (Here you must write you the Sprite Name)
    DEFAULT_ICON ICON_UNIT_MISSILE_CRUISER
    DESCRIPTION DESCRIPTION_UNIT_CHARIOT
    # #id string of the default sprite

    SOUND_SELECT1 SOUND_SELECT1_PLASMA_DESTROYER
    SOUND_SELECT2 SOUND_SELECT2_PLASMA_DESTROYER
    SOUND_MOVE SOUND_MOVE_PLASMA_DESTROYER
    SOUND_ACKNOWLEDGE SOUND_ACKNOWLEDGE_PLASMA_DESTROYER
    SOUND_CANTMOVE SOUND_CANTMOVE_PLASMA_DESTROYER
    SOUND_ATTACK SOUND_ATTACK_PLASMA_DESTROYER
    SOUND_WORK SOUND_WORK_PLASMA_DESTROYER
    SOUND_VICTORY SOUND_VICTORY_PLASMA_DESTROYER
    SOUND_DEATH SOUND_DEATH_PLASMA_DESTROYER
    (Here you must write, what soundfiles you use for this unit)

    ENABLING_ADVANCE ADVANCE_ROBOTICS
    OBSOLETE_ADVANCE NULL

    ############## special flags #############################
    (the flags describe the abilities of your Unit)

    MOVEMENT_TYPE_WATER
    MOVEMENT_TYPE_SHALLOW_WATER
    LOSS_MOVE_TO_DMG_NONE
    CAN_CARRY_SMALL_AIR
    SIZE_LARGE
    TRANSPORT_CAPACITY 3
    SOUND_ID_AIRCRAFT_CARRIER_LOAD SOUND_ID_AIRCRAFT_CARRIER_UNLOAD
    CANT_CAPTURE_CITY

    VISIBILITY_CLASS_0

    VISIBILITY_CAN_SEE_0
    VISIBILITY_CAN_SEE_1
    VISIBILITY_CAN_SEE_6

    EXERTS_MARTIAL_LAW

    CANT_ENTRENCH
    CAN_EXPEL_POP
    DEATH_EFFECTS_HAPPY
    CAN_REFORM SOUND_ID_REFORM_CITY SPECEFFECT_REFORMCITY
    CAN_PILLAGE
    CAN_EXPEL
    CAN_PIRATE
    CAN_BOMBARD_LAND
    CAN_BOMBARD_WATER
    CAN_BOMBARD_MOUNTAIN
    BOMBARD_ROUNDS 20

    CAN_COUNTER_BOMBARD
    DEFEND_AIR

    AIR_ATTACK
    SHALLOW_WATER_ATTACK
    UNDERWATER_ATTACK

    CHEAT_INDEX 2
    }
    ### UNIT DONE ###

    or this:

    UNIT_CYBER_NINJA {
    SHIELD_COST 2250
    POWER_POINTS 2500
    MAX_HP 15
    ATTACK 0
    DEFENSE 30
    FIREPOWER 2
    ZB_RANGE_ATTACK 0

    BATTLEFIELD_RANGE 1
    BATTLEFIELD_RADIUS 1

    VISION_RANGE 3

    ACTIVE_DEFENSE_RANGE 0
    ELECTRONIC_COMBAT_FACTOR 0

    MAX_MOVEMENT 400
    FUEL 0

    SHIELD_HUNGER 67.5
    FOOD_HUNGER 0

    DEFAULT_SPRITE SPRITE_CYBER_NINJA
    DEFAULT_ICON ICON_UNIT_CYBER_NINJA
    DESCRIPTION DESCRIPTION_UNIT_CYBER_NINJA
    # #id string of the default sprite

    SOUND_SELECT1 SOUND_SELECT1_CYBER_NINJA
    SOUND_SELECT2 SOUND_SELECT2_CYBER_NINJA
    SOUND_MOVE SOUND_MOVE_CYBER_NINJA
    SOUND_ACKNOWLEDGE SOUND_ACKNOWLEDGE_CYBER_NINJA
    SOUND_CANTMOVE SOUND_CANTMOVE_CYBER_NINJA
    SOUND_ATTACK SOUND_ATTACK_CYBER_NINJA
    SOUND_WORK SOUND_WORK_CYBER_NINJA
    SOUND_VICTORY SOUND_VICTORY_CYBER_NINJA
    SOUND_DEATH SOUND_DEATH_CYBER_NINJA
    ENABLING_ADVANCE ADVANCE_NEURAL_SILICON_INTERFACE
    OBSOLETE_ADVANCE NULL

    ############## special flags #############################
    MOVEMENT_TYPE_LAND
    MOVEMENT_TYPE_MOUNTAIN
    LOSS_MOVE_TO_DMG_NONE
    SIZE_SMALL

    CANT_CAPTURE_CITY

    VISIBILITY_CLASS_5

    VISIBILITY_CAN_SEE_0
    VISIBILITY_CAN_SEE_4
    VISIBILITY_CAN_SEE_5


    CANT_ENTRENCH
    CANT_PATROL
    IS_SPECIAL_FORCES
    IGNORE_ZOC
    HAS_NO_ZOC
    CAN_BE_EXPELLED


    DEFEND_AGAINST_SPIES 0.25

    INVESTIGATE_CITY 0.75 0.1 0.25
    STEAL_TECHNOLOGY 0.5 0.25 0.25 SOUND_ID_STEAL_TECHNOLOGY_CN SPECEFFECT_STEAL_TECHNOLOGY
    INCITE_REVOLUTION 0.4 0.25 0.25 SOUND_ID_INCITE_REVOLUTION_CN SPECEFFECT_INCITE_REVOLUTION
    PLANT_NUKE 0.25 0.5 SOUND_ID_PLANT_NUKE_CN SPECEFFECT_PLANT_NUKE
    SPACE_CITY_CAN_BUILD
    CHEAT_INDEX 5
    }

    At last you must open you language File
    gl_str.txt and write the name of unit for your language:

    UNIT_CANNON "Kanone"
    UNIT_CAVALRY "Kavallerie"
    UNIT_SHIP_OF_THE_LINE "Dreimaster"
    UNIT_MUSKETEERS "Musketier"
    UNIT_LAWYER "Anwalt"
    UNIT_FASCIST "Faschist"
    UNIT_ABOLITIONIST "Freiheitskämpferin"
    UNIT_MACHINE_GUNNER "MG-Schütze"
    UNIT_ARTILLERY "Artillerie"
    UNIT_NEW_UNIT "Neue Einheit"


    I hope, I had help you. Sorry for my poor english.

    [This message has been edited by El Xadier (edited October 21, 2000).]
    KEEP EVIL SMILE }:-)

    Comment

    Working...
    X