Search found 8 matches
- Thu May 12, 2022 9:52 am
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
- Wed May 11, 2022 3:22 pm
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Re: Arachnids, would you like to know more...? Data.raw function replacement help!
Im trying to replace the {tint = bloodtint()} to my own value
make_particle
{
name = "blood-particle",
life_time = 180,
pictures = particle_animations.get_blood_particle_pictures({tint = bloodtint()}),
shadows = particle_animations.get_blood_particle_pictures({ tint = shadowtint(), shift ...
make_particle
{
name = "blood-particle",
life_time = 180,
pictures = particle_animations.get_blood_particle_pictures({tint = bloodtint()}),
shadows = particle_animations.get_blood_particle_pictures({ tint = shadowtint(), shift ...
- Wed May 11, 2022 10:43 am
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Re: Arachnids, would you like to know more...? Data.raw function replacement help!
thank you, but i still get a nill value
function arachnids_bloodtint()
return {r = 172, g = 51, b = 204}
end
data.raw["particles"].bloodtint = arachnids_bloodtint()
could it be because its a global variable? ( underFactorio\data\base\prototypes\particles.lua )
I tried to use particle ...
function arachnids_bloodtint()
return {r = 172, g = 51, b = 204}
end
data.raw["particles"].bloodtint = arachnids_bloodtint()
could it be because its a global variable? ( underFactorio\data\base\prototypes\particles.lua )
I tried to use particle ...
- Wed May 11, 2022 10:07 am
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Re: Arachnids, would you like to know more...? Data.raw function replacement help!
Now i need to do the same with the bloodtint particle
but this return me a nill value
Code: Select all
local function arachnids_bloodtint()
return {r = 50, g = 204, b = 50}
end
data.raw["particles"].bloodtint = arachnids_bloodtint
- Wed May 11, 2022 10:06 am
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Re: Arachnids, would you like to know more...? Data.raw function replacement help!
just needed this at the end data.raw["corpse"]["small-biter-corpse"].ground_patch = arachnids_ground_patch
- Wed May 11, 2022 9:38 am
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Re: Arachnids, would you like to know more...? Data.raw function replacement help!
i tryied this, but i get an error, return nil value.
arachnids_ground_patch = {
sheet = {
filename = "__base__/graphics/entity/biter/blood-puddle-var-main.png",
flags = {
"low-object"
},
frame_count = 1,
height = 68,
hr_version = {
filename = "__base__/graphics/entity/biter/hr-blood ...
arachnids_ground_patch = {
sheet = {
filename = "__base__/graphics/entity/biter/blood-puddle-var-main.png",
flags = {
"low-object"
},
frame_count = 1,
height = 68,
hr_version = {
filename = "__base__/graphics/entity/biter/hr-blood ...
- Tue May 10, 2022 5:43 pm
- Forum: Modding help
- Topic: Arachnids, would you like to know more...? Data.raw function replacement help!
- Replies: 8
- Views: 2496
Arachnids, would you like to know more...? Data.raw function replacement help!
Hello, im trying to make a mod to replace base biter appearance with Arachnids from starship troopers. I am a 3d/2d artist so the artistic part is easy (still tweaking the textures, speed , etc, this is a wip) and i have someone that is taking care of the rig/animation. But im not a coder, aldo im ...
- Tue Sep 03, 2019 5:09 pm
- Forum: Mods
- Topic: [0.17+] Space Exploration WIP
- Replies: 396
- Views: 329090
Re: [0.17+] Space Exploration WIP
Same here