Missing Assets

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Darsithis
Posts: 51
Joined: Wed Jul 24, 2013 6:31 pm

Missing Assets

Post by Darsithis »

I have the asset set downloaded. I can view the dds files that make up the items.dds and item2.dds. However I can't seem to find a few things:

- Machine Parts. I can't find where they are and I don't know how to reference them in a custom object. machine_junk1, machine_junk2...don't exist
- Weapons like Venom Edge. It's listed as venom_edge in the editor but that too is missing. model = "assets/models/items/venom_edge.fbx" does not work.

Also, for the life of me, I can't figure out how to get a receptor or something to shoot a spell. I can fire a projectile like a fire_bomb or something but spells? Nope. There aren't really any references I can find anywhere that list the spells as they'd be in the editor (same with assets and gfxIcon indexes) which is making this a little frustrating.

Any help?
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Missing Assets

Post by msyblade »

You will use a "spawner" to shoot a spell. You will also need to manually place an object (Daemon head, etc.) appearing to fire the shot. The receptor "catches" the spell (or "blob" if you don't want the player to be hurt by it), and this must be set manually also. Quite easy to set along the right side of the editor, similar to how you set an alcove item, etc. Then you can connect the receptor to trigger whatever you need. Word of caution, they must be placed on walls, no floating catchers. (This rule also applies to "Hidden receptors".) I'm not sure about the missing assets, never needed those specific assets, myself. I would guess that (as is the case with some items) the model is a generic longsword.fbx or similar, simply using a different icon from the atlas. Basically meaning the Venom Edge doesn't look different until you actually pick it up. I know it is used in the ORRR2, so the icon is around. I believe the atlas is in .tga format, only REFERRED to as .dds in the scripts. Why? Because. It's that simple ;)

Hope this helps!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Allanius2
Posts: 124
Joined: Mon Apr 14, 2014 10:12 pm

Re: Missing Assets

Post by Allanius2 »

Darsithis wrote: - Weapons like Venom Edge. It's listed as venom_edge in the editor but that too is missing. model = "assets/models/items/venom_edge.fbx" does not work.
Venom Edge uses Dagger.fbx for a model. It is listed in the Script/items.lua file as follows:

Code: Select all

defineObject{
		name = "venom_edge",
		class = "Item",
		uiName = "Venom Edge",
		model = "assets/models/items/dagger.fbx",
		description = "Noxious fumes rise from the blade of this dagger.",
		skill = "daggers",
		gfxIndex = 213,
		attackPower = 7,
		accuracy = 0,
		coolDownTime = 5,
		attackMethod = "castWandSpell",
		spell = "poison_bolt",
		wandPower = 25,
		charges = 9,
		emptyItem = "venom_edge_empty",
		attackSwipe = "vertical",
		attackSound = "swipe",
		impactSound = "impact_blade",
		weight = 0.8,
	}
The model is for how it shows up on the ground and since it looks like any other dagger, that's the model is uses. Other items will follow this format.
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Missing Assets

Post by Isaac »

Darsithis wrote: - Machine Parts. I can't find where they are and I don't know how to reference them in a custom object. machine_junk1, machine_junk2...don't exist
All of the machine parts are defined in /scripts/items.lua
SpoilerShow

Code: Select all

defineObject{
		name = "machine_part_north",
		class = "Item",
		uiName = "Ore",
		model = "assets/models/items/machine_part/machine_part_north.fbx",
		gfxIndex = 96,
		weight = 10.0,
		scrambleText = "\"This mineral is rich with energy.\"",
	}

	defineObject{
		name = "machine_part_east",
		class = "Item",
		uiName = "Bladed Gear",
		model = "assets/models/items/machine_part/machine_part_east.fbx",
		gfxIndex = 97,
		weight = 2.0,
		scrambleText = "\"A finely machined gear. We need it.\"",
	}

	defineObject{
		name = "machine_part_south",
		class = "Item",
		uiName = "Infusor",
		model = "assets/models/items/machine_part/machine_part_south.fbx",
		gfxIndex = 99,
		weight = 1.0,
		scrambleText = "\"An assembly of small pumps and valves.\nIt still seems functional.\"",
	}

	defineObject{
		name = "machine_part_west",
		class = "Item",
		uiName = "Steel Gear",
		model = "assets/models/items/machine_part/machine_part_west.fbx",
		gfxIndex = 98,
		weight = 5.0,
		scrambleText = "\"A small gear.\"",
	}

	defineObject{
		name = "machine_junk1",
		class = "Item",
		uiName = "Metal Frame",
		model = "assets/models/items/machine_part/machine_part_junk1.fbx",
		gfxIndex = 100,
		weight = 2.0,
		scrambleText = "\"This is just old scrap.\"",
	}

	defineObject{
		name = "machine_junk2",
		class = "Item",
		uiName = "Steam Canister",
		model = "assets/models/items/machine_part/machine_part_junk2.fbx",
		gfxIndex = 101,
		weight = 7.5,
		scrambleText = "\"A container for corrosive gases. It's beyond repair.\"",
	}

	defineObject{
		name = "machine_junk3",
		class = "Item",
		uiName = "Pipe",
		model = "assets/models/items/machine_part/machine_part_junk3.fbx",
		gfxIndex = 102,
		weight = 4.0,
		scrambleText = "\"A pipe for circulating dangerous fumes.\"",
	}

	defineObject{
		name = "machine_junk4",
		class = "Item",
		uiName = "Large Gear",
		model = "assets/models/items/machine_part/machine_part_junk4.fbx",
		gfxIndex = 103,
		weight = 21.0,
		scrambleText = "\"The teeth are too numerous on this gear. We need\na smaller one.\"",
	}

	defineObject{
		name = "machine_junk5",
		class = "Item",
		uiName = "Shaft",
		model = "assets/models/items/machine_part/machine_part_junk5.fbx",
		gfxIndex = 104,
		weight = 15.0,
		scrambleText = "\"The shaft is in good condition but\nwe have no need for one.\"",
	}

	defineObject{
		name = "machine_junk6",
		class = "Item",
		uiName = "Fume Nozzle",
		model = "assets/models/items/machine_part/machine_part_junk6.fbx",
		gfxIndex = 105,
		weight = 15.0,
		scrambleText = "\"A nozzle used to spout fire and flames.\nIt's covered with soot.\"",
	}
Darsithis
Posts: 51
Joined: Wed Jul 24, 2013 6:31 pm

Re: Missing Assets

Post by Darsithis »

Isaac wrote:
Darsithis wrote: - Machine Parts. I can't find where they are and I don't know how to reference them in a custom object. machine_junk1, machine_junk2...don't exist
All of the machine parts are defined in /scripts/items.lua
SpoilerShow

Code: Select all

defineObject{
		name = "machine_part_north",
		class = "Item",
		uiName = "Ore",
		model = "assets/models/items/machine_part/machine_part_north.fbx",
		gfxIndex = 96,
		weight = 10.0,
		scrambleText = "\"This mineral is rich with energy.\"",
	}

	defineObject{
		name = "machine_part_east",
		class = "Item",
		uiName = "Bladed Gear",
		model = "assets/models/items/machine_part/machine_part_east.fbx",
		gfxIndex = 97,
		weight = 2.0,
		scrambleText = "\"A finely machined gear. We need it.\"",
	}

	defineObject{
		name = "machine_part_south",
		class = "Item",
		uiName = "Infusor",
		model = "assets/models/items/machine_part/machine_part_south.fbx",
		gfxIndex = 99,
		weight = 1.0,
		scrambleText = "\"An assembly of small pumps and valves.\nIt still seems functional.\"",
	}

	defineObject{
		name = "machine_part_west",
		class = "Item",
		uiName = "Steel Gear",
		model = "assets/models/items/machine_part/machine_part_west.fbx",
		gfxIndex = 98,
		weight = 5.0,
		scrambleText = "\"A small gear.\"",
	}

	defineObject{
		name = "machine_junk1",
		class = "Item",
		uiName = "Metal Frame",
		model = "assets/models/items/machine_part/machine_part_junk1.fbx",
		gfxIndex = 100,
		weight = 2.0,
		scrambleText = "\"This is just old scrap.\"",
	}

	defineObject{
		name = "machine_junk2",
		class = "Item",
		uiName = "Steam Canister",
		model = "assets/models/items/machine_part/machine_part_junk2.fbx",
		gfxIndex = 101,
		weight = 7.5,
		scrambleText = "\"A container for corrosive gases. It's beyond repair.\"",
	}

	defineObject{
		name = "machine_junk3",
		class = "Item",
		uiName = "Pipe",
		model = "assets/models/items/machine_part/machine_part_junk3.fbx",
		gfxIndex = 102,
		weight = 4.0,
		scrambleText = "\"A pipe for circulating dangerous fumes.\"",
	}

	defineObject{
		name = "machine_junk4",
		class = "Item",
		uiName = "Large Gear",
		model = "assets/models/items/machine_part/machine_part_junk4.fbx",
		gfxIndex = 103,
		weight = 21.0,
		scrambleText = "\"The teeth are too numerous on this gear. We need\na smaller one.\"",
	}

	defineObject{
		name = "machine_junk5",
		class = "Item",
		uiName = "Shaft",
		model = "assets/models/items/machine_part/machine_part_junk5.fbx",
		gfxIndex = 104,
		weight = 15.0,
		scrambleText = "\"The shaft is in good condition but\nwe have no need for one.\"",
	}

	defineObject{
		name = "machine_junk6",
		class = "Item",
		uiName = "Fume Nozzle",
		model = "assets/models/items/machine_part/machine_part_junk6.fbx",
		gfxIndex = 105,
		weight = 15.0,
		scrambleText = "\"A nozzle used to spout fire and flames.\nIt's covered with soot.\"",
	}
Oh sweet, thank you so much.
Post Reply