Sp I´m trying to add this unit but I can´t find out what is not working with it. Any one has an idea? NOTE: I´m using the kisckstarter comm mod as a base. { "base_spec":"/pa/units/land/base_bot/base_bot.json", "display_name": "Mayor", "description": "Attack Sub commander", "attachable": { "offsets": { "root": [0, 0, 0], "head": [0, 0, 12.2] } }, "max_health":10000, "build_metal_cost":8000, "show_in_orbital_layer":true,"armor_type":"AT_Commander", "unit_types":[ "UNITTYPE_Bot", "UNITTYPE_Fabber", "UNITTYPE_Construction", "UNITTYPE_SupportCommander", "UNITTYPE_Mobile", "UNITTYPE_Land", "UNITTYPE_Advanced", "UNITTYPE_FactoryBuild" ], "command_caps":[ "ORDER_Move", "ORDER_Patrol", "ORDER_Build", "ORDER_Attack", "ORDER_Reclaim", "ORDER_Repair", "ORDER_Assist", "ORDER_Use", "ORDER_FireSecondaryWeapon" ], "buildable_types":"FabAdvBuild", "transportable":{"size":1}, "navigation":{ "type":"amphibious","acceleration":60,"brake":-1,"move_speed":6,"turn_speed":90,"turn_in_place":false, "park_stamp":{ "shape":"sphere","cost":20, "type_data":[{"move_type":"land-small","stamp_type":"simple"},{"move_type":"amphibious","stamp_type":"simple"}]}}, "physics":{"radius":9,"sync_radius_to_extents":true}, "recon":{"observer":{"items":[{"layer":"surface_and_air","channel":"sight","shape":"capsule","radius":150},{"layer":"underwater","channel":"sight","shape":"capsule","radius":150}]}}, "teleportable":{}, "model": { "filename": "/pa/units/land/mayor/mayor.papa" }, "headlights": [{ "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa", "offset": [0.0, -1.7, 1.9], "orientation": [0.0, 45.0, 0.0], "near_width": 5.0, "near_height": 5.0, "near_distance": 3.0, "far_distance": 30.0, "color": [1.0, 1.0, 1.0], "intensity": 6.0, "bone": "bone_spine", "shadow_resolution": 128 }], "lamps": [{ "offset": [0.0, -1.7, 1.9], "radius": 2.0, "color": [1.0, 1.0, 1.0], "intensity": 5.0, "bone": "bone_spine" }, { "offset": [0.07, -3.85, 0.2], "radius": 4.0, "color": [0.4, 1.0, 0.01], "intensity": 2.0, "bone": "bone_leftElbow" }], "tools": [{ "spec_id": "/pa/tools/commander_build_arm/commander_build_arm.json", "aim_bone": "bone_turret" }, { "spec_id": "/pa/units/commanders/base_commander/base_commander_tool_bullet_weapon.json", "aim_bone": "bone_turret", "muzzle_bone": "socket_rightMuzzle2", "primary_weapon": true }, { "spec_id": "/pa/tools/uber_cannon/uber_cannon.json", "aim_bone": "bone_turret", "muzzle_bone": "socket_rightMuzzle2", "secondary_weapon": true }, { "spec_id": "/pa/units/commanders/base_commander/base_commander_tool_aa_weapon.json", "aim_bone": "bone_turret", "muzzle_bone": "socket_rightMuzzle2", "primary_weapon": false, "show_range": false }, { "spec_id": "/pa/units/commanders/base_commander/base_commander_tool_torpedo_weapon.json", "aim_bone": "bone_turret", "muzzle_bone": "socket_rightMuzzle2", "primary_weapon": false, "show_range": false }], "events": { "fired": { "effect_spec": "/pa/effects/specs/default_muzzle_flash.pfx socket_rightMuzzle2" }, "died":{"audio_cue":"/SE/Death/Bot","effect_spec":"/pa/effects/specs/default_explosion_bot_t2.pfx","effect_scale":1.7} }, "fx_offsets": [{ "type": "build", "filename": "/pa/effects/specs/fab_spray.pfx", "bone": "socket_leftMuzzle2" }], "selection_response":{"cue":"/SE/Selection/bot/sub_commander"}, "mesh_bounds": [12.6,7,12.2193] }
You didn't define "not working" Typical things to check are pa/units/unit_list.json and ui/main/shared/js/build.js
Use the unitlist.json from /media/pa_ex1, but your mod should have a /pa/ folder, not a /pa_ex1/ folder.