/bostra-fameboy-old

A QBCore FiveM Portable Arcade Game System

Primary LanguageCSSMIT LicenseMIT

Preview:

Medal Clip

Dependencies:

MenuAPI
Progressbar

Optional:

RPEmotes

INSTALL INSTRUCTIONS:

Add these items to your qb-core/shared/items.lua-

	['fameboy']                   = { ['name'] = 'fameboy', ['label'] = 'Fameboy', ['weight'] = 125,
		['type'] = 'item', ['image'] = 'fameboy.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true,
		['combinable'] = { accept = { 'trojan_usb' }, reward = 'fameboyadvanced',
		anim = { ['dict'] = 'anim@amb@business@weed@weed_inspecting_high_dry@',
			['lib'] = 'weed_inspecting_high_base_inspector', ['text'] = 'Doing techy stuff...', ['timeOut'] = 7500, } }, ['description'] = 'The Famed and fabled Fameboy' },
	["brokenretrofameboy"]        = { ["name"] = "brokenretrofameboy", ["label"] = "Broken Retro Fameboy", ["weight"] = 200,
		["type"] = "item",
		["image"] = "retrofameboy.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false,
		['combinable'] = { accept = { 'electronickit' }, reward = 'retrofameboy',
			anim = { ['dict'] = 'anim@amb@business@weed@weed_inspecting_high_dry@',
				['lib'] = 'weed_inspecting_high_base_inspector', ['text'] = 'Doing techy stuff...', ['timeOut'] = 7500, } },
		["description"] = "The electronics look fried..." },
	['retrofameboy']              = { ['name'] = 'retrofameboy', ['label'] = 'Retro Fameboy', ['weight'] = 125,
		['type'] = 'item', ['image'] = 'retrofameboy.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true,
		['combinable'] = { accept = { 'usb_drive' }, reward = 'fameboy',
		anim = { ['dict'] = 'anim@amb@business@weed@weed_inspecting_high_dry@',
			['lib'] = 'weed_inspecting_high_base_inspector', ['text'] = 'Doing techy stuff...', ['timeOut'] = 7500, } }, ['description'] = 'The classic and reliable Retro Fameboy' },
	['fameboyadvanced']           = { ['name'] = 'fameboyadvanced', ['label'] = 'Fameboy Advanced', ['weight'] = 125,
		['type'] = 'item', ['image'] = 'fameboyadvanced.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true,
		['combinable'] = nil, ['description'] = 'The advanced Fameboy model' },

Place the fameboy-bostra folder in [prop], inside of the stream folder for RPEmotes.

AnimationListCustom.lua prop emote additions (thanks to ΛII#6257 for better fitting emote)-

-- scully_emotemenu
    {
        Label = 'Fameboy',
        Command = 'fameboy',
        Animation = 'static',
        Dictionary = 'amb@code_human_wander_texting_fat@male@base',
        Options = {
            Flags = {
                Loop = true,
                Move = true,
            },
            Props = {
                {
                    Bone = 28422,
                    Name = 'fameboy',
                    Placement = {
                        vector3(0.000000, 0.000000, -0.050000),
                        vector3(0.000000, 0.000000,  0.000000),
                    },
                },
            },
        },
    }

    -- RPemotes
    ["fameboy"] = { --- Custom Emote By MissSnowie I am just using the animation for my prop
    "amb@code_human_wander_texting_fat@male@base",
    "static",
    "fameboy",
    AnimationOptions = {
        Prop = 'fameboy',
        PropBone = 28422, --- Chest bone, works fine for sitting down, not soo much with emote moving.
        PropPlacement = {
            0.0000,
            0.0000,
           -0.0500,
            0.0000,
            0.0000,
            0.0000
        },
        EmoteLoop = true,
        ExitEmote = "getup",
        ExitEmoteType = "Exits"
    }

Credits:


This fork is focused on optimizing the original rcore_arcade and d3-arcade fork for QBCore, while adding some new features like levels of crafting the different consoles to accessing different games, and using the game system as items in the inventory.

Support

Bostra-Development Discord

md-scripts Discord