Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created new module for ship-GCI Task #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/bidi/assets/configs/playerSpawnConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Bidi Tiny": {
"hull": "bidi:bidiTiny",
"items": "3*rep bidi:dualBlaster-1",
"money": 20
}
}
10 changes: 10 additions & 0 deletions modules/bidi/assets/configs/startingStation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hull": "core:station",
"items": "core:gun core:gun",

"guard": {
"hull": "core:imperialBig",
"items": "core:fixedGun core:fixedShotGun core:mediumArmor+core:heavyArmor core:shield+core:bigShield",
"density": 3
}
}
19 changes: 19 additions & 0 deletions modules/bidi/assets/configs/systemsConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"hard": {
"hard": true,
"constantAllies": [
{
"hull": "bidi:bidiTiny",
"items": "bidi:dualBlaster bidi:dualBlaster",
"repairer": true,
"density": 1,

"guard": {
"hull": "bidi:bidiTiny",
"items": "bidi:dualBlaster core:mediumArmor core:smallShield",
"density": 4
}
}
]
}
}
19 changes: 19 additions & 0 deletions modules/bidi/assets/items/guns/dualBlaster/dualBlaster.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"fixed": false,
"maxAngleVar": 12,
"angleVarDamp": 4,
"angleVarPerShot": 1.5,
"timeBetweenShots": 0.45,
"reloadTime": 3,
"price": 100,
"clipName": "core:blasterClip",
"gunLength": 0.15,
"displayName": "Dual Blaster",
"lightOnShot": true,
"shootSounds": [
"core:blasterShoot"
],
"reloadSounds": [
"core:gunReload"
]
}
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.
225 changes: 225 additions & 0 deletions modules/bidi/assets/ships/bidiTiny/bidiTiny.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"size": 0.6,
"maxLife": 14,
"type": "std",
"price": 150,
"ability": {
"type": "sloMo",
"factor": 0.5,
"rechargeTime": 4
},
"e1Pos": "0.25 0.37",
"e2Pos": "0.25 0.6",
"displayName": "Escort",
"engine": "core:pirateEngine",
"gunSlots": [
{
"position": "0.40 0.5",
"isUnderneathHull": false,
"allowsRotation": true
}
],
"rigidBody": {
"origin": {
"x": 0.6022728681564331,
"y": 0.5094696879386902
},
"polygons": [
[
{
"x":0.3203125,
"y":0.453125
},
{
"x":0.265625,
"y":0.421875
},
{
"x":0.265625,
"y":0.3671875
},
{
"x":0.3046875,
"y":0.3359375
},
{
"x":0.4453125,
"y":0.3359375
},
{
"x":0.6875,
"y":0.3984375
}
],
[
{
"x":0.8203125,
"y":0.546875
},
{
"x":0.8671875,
"y":0.578125
},
{
"x":0.84375,
"y":0.609375
},
{
"x":0.6875,
"y":0.609375
}
],
[
{
"x":0.6875,
"y":0.609375
},
{
"x":0.328125,
"y":0.53125
},
{
"x":0.8203125,
"y":0.4609375
},
{
"x":0.8203125,
"y":0.546875
}
],
[
{
"x":0.328125,
"y":0.53125
},
{
"x":0.3203125,
"y":0.453125
},
{
"x":0.6875,
"y":0.3984375
},
{
"x":0.8515625,
"y":0.3984375
},
{
"x":0.8671875,
"y":0.4375
},
{
"x":0.8203125,
"y":0.4609375
}
],
[
{
"x":0.6875,
"y":0.609375
},
{
"x":0.4453125,
"y":0.671875
},
{
"x":0.296875,
"y":0.671875
},
{
"x":0.265625,
"y":0.640625
},
{
"x":0.265625,
"y":0.5859375
},
{
"x":0.328125,
"y":0.53125
}
]
],
"circles": [
],
"shapes": [
{
"type": "POLYGON",
"vertices": [
{
"x":0.296875,
"y":0.671875
},
{
"x":0.4453125,
"y":0.671875
},
{
"x":0.6875,
"y":0.609375
},
{
"x":0.84375,
"y":0.609375
},
{
"x":0.8671875,
"y":0.578125
},
{
"x":0.8203125,
"y":0.546875
},
{
"x":0.8203125,
"y":0.4609375
},
{
"x":0.8671875,
"y":0.4375
},
{
"x":0.8515625,
"y":0.3984375
},
{
"x":0.6875,
"y":0.3984375
},
{
"x":0.4453125,
"y":0.3359375
},
{
"x":0.3046875,
"y":0.3359375
},
{
"x":0.265625,
"y":0.3671875
},
{
"x":0.265625,
"y":0.421875
},
{
"x":0.3203125,
"y":0.453125
},
{
"x":0.328125,
"y":0.53125
},
{
"x":0.265625,
"y":0.5859375
},
{
"x":0.265625,
"y":0.640625
}
]
}
]
}
}
Binary file added modules/bidi/assets/ships/bidiTiny/bidiTiny.png
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.
6 changes: 6 additions & 0 deletions modules/bidi/module.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"id" : "bidi",
"version" : "0.0.1",
"displayName" : "Bidi",
"description" : "Ships and other content to enable the Bidi in-game."
}