Skip to content

Commit

Permalink
The “eco” etype
Browse files Browse the repository at this point in the history
The “eco” etype allows you to put eco blobs on the ground without having to break a crate to access them.
You can technically use anything that you can put “eco-info”. But using things that aren’t eco in these can become very confusing so I’d advise against doing so.

Here some example of eco types:

1 Yellow eco blob
1 Red eco blob
1 Blue eco blob
1 Green eco blob
1 Green eco pill

You can also set the quantity value for green eco pills to a higher number than one. This won’t spawn multiple ones but will make the one that does count for more. This only works with eco pills and not the other eco types.

1 Green eco pill that counts for 10

Note that using “9” in the eco-info for the collectible's type will crash the game. This is only usable with crates. If you want several green eco pills on the ground, you’ll need to add them individually as different actors.
  • Loading branch information
Kuitar5 committed Jan 22, 2023
1 parent 238370a commit 509199c
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Expand Up @@ -197,6 +197,76 @@
"name":"MFL-crate-darkeco-01",
"crate-type":"'darkeco"
}
},
// eco :
//// Full blobs
{
"trans": [-510.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-510.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-01",
"eco-info": ["int32", 1, 1] // 1 Yellow eco blob
}
},
{
"trans": [-505.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-505.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-02",
"eco-info": ["int32", 2, 1] // 1 Red eco blob
}
},
{
"trans": [-500.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-500.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-03",
"eco-info": ["int32", 3, 1] // 1 Blue eco blob
}
},
{
"trans": [-495.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-495.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-04",
"eco-info": ["int32", 4, 1] // 1 Green eco blob
}
},
//// Green eco pills
{
"trans": [-490.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-490.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-05",
"eco-info": ["int32", 7, 1] // 1 Green eco pill
}
},
//// Eco quantity increase
{
"trans": [-485.0, 7.0, 410.0], // translation
"etype": "eco", // actor type
"game_task": 0, // associated game task (for powercells, etc)
"quat" : [0, 0, 0, 1], // quaternion
"bsphere": [-485.0, 7.0, 410.0, 10], // bounding sphere
"lump": {
"name":"MFL-eco-06",
"eco-info": ["int32", 7, 10] // 1 Green eco pill which gives you 10x
}
}
]
}

0 comments on commit 509199c

Please sign in to comment.