Skip to content

Commit

Permalink
adds bikes and assets for other vehicles / structures
Browse files Browse the repository at this point in the history
  • Loading branch information
Peptide90 committed Aug 19, 2023
1 parent 1257243 commit 4e7b42e
Show file tree
Hide file tree
Showing 23 changed files with 309 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
- type: entity
parent: BaseVehicle
id: N14VehicleBikeGreen
name: green motorbike
description: A clean green motorbike.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
sprite: N14/Objects/Vehicles/bikesbuggy.rsi
layers:
- state: bike2
map: ["enum.VehicleVisualLayers.AutoAnimate"]
netsync: false
noRot: true
# - type: RandomMetadata
# descriptionSegments: [ATVDescriptions]
- type: MovementSpeedModifier
acceleration: 1
friction: 1
baseWalkSpeed: 4.5
baseSprintSpeed: 7
- type: Strap
buckleOffset: "0.1, -0.05"
maxBuckleDistance: 1
- type: UnpoweredFlashlight
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: ItemSlots
slots:
key_slot:
name: Keys
whitelist:
requireAll: true
tags:
- VehicleKey
- ATVKeys # TODO: Change this
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -3
- type: entity
parent: N14VehicleBikeGreen
id: N14VehicleBikeFlamey
name: flamey motorbike
description: A motorbike with a flame decal.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
layers:
- state: bike_flamey2
map: ["enum.VehicleVisualLayers.AutoAnimate"]

- type: entity
parent: N14VehicleBikeGreen
id: N14VehicleBikeGreen2
name: flamey motorbike
description: A green motorbike.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
layers:
- state: bike_green
map: ["enum.VehicleVisualLayers.AutoAnimate"]

- type: entity
parent: N14VehicleBikeGreen
id: N14VehicleBikeRustLight
name: rusty motorbike
description: A rusty motorbike.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
layers:
- state: bike_rust_light
map: ["enum.VehicleVisualLayers.AutoAnimate"]

- type: entity
parent: N14VehicleBikeGreen
id: N14VehicleBikeRustMedium
name: rusty motorbike
description: A really rusty motorbike.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
layers:
- state: bike_rust_med
map: ["enum.VehicleVisualLayers.AutoAnimate"]

- type: entity
parent: N14VehicleBikeGreen
id: N14VehicleBikeScrambler
name: scrambler motorbike
description: A scrambler type motorbike.
components:
- type: Vehicle
northOverride: -0.1
southOverride: 0.1
- type: Sprite
layers:
- state: bike_scrambler2
map: ["enum.VehicleVisualLayers.AutoAnimate"]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
187 changes: 187 additions & 0 deletions Resources/Textures/Nuclear14/Objects/Vehicles/bikesbuggy.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from Nukapop13 at https://github.com/SeeminglyTypicalUsername/Nukapop13/commit/704aa5e9e3b86d6e1dbf64a29ba976f7ef53a4ab",
"size": {
"x": 64,
"y": 64
},
"states": [
{
"name": "bike1",
"directions": 4
},
{
"name": "bike2",
"directions": 4,
"delays": [
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
]
]
},
{
"name": "bike_no_wheels",
"directions": 4
},
{
"name": "bike_rust_light",
"directions": 4
},
{
"name": "rust_light_no_wheels",
"directions": 8
},
{
"name": "bike_rust_med",
"directions": 4
},
{
"name": "bike_rust_med_no_wheels",
"directions": 4
},
{
"name": "bike_green",
"directions": 4
},
{
"name": "bike_green",
"directions": 4,
"delays": [
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
]
]
},
{
"name": "bike_flamy1",
"directions": 4
},
{
"name": "bike_flamy2",
"directions": 4,
"delays": [
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
]
]
},
{
"name": "bike_scrambler1",
"directions": 4
},
{
"name": "bike_scrambler2",
"directions": 4,
"delays": [
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
],
[
0.030000001,
0.030000001,
0.030000001
]
]
},
{
"name": "buggy_dune",
"directions": 4
},
{
"name": "buggy_dune_cover",
"directions": 4
},
{
"name": "buggy_olive",
"directions": 4
},
{
"name": "buggy_olive_cover",
"directions": 4
},
{
"name": "buggy_red",
"directions": 4
},
{
"name": "buggy_red_cover",
"directions": 4
},
{
"name": "buggy_hot",
"directions": 4
},
{
"name": "buggy_hot_cover",
"directions": 4
},
{
"name": "derelict",
"directions": 8
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e7b42e

Please sign in to comment.