controlling explosion groundscars
Posted: 12 Aug 2012, 01:52
It seems there is not much controll about the groundscar texture that projectiles leave on impact?
Basically atm:
1) texture is randomly chosen
2) size is based on "default" damage
3) all weapons must use same textures
At least it seems so to me from eg
https://github.com/spring/spring/blob/d ... r.cpp#L940
but maybe I am missing something.
Is there more to control 1,2,3?
Would be nice to if something like this was possible in weapondef:
(maybe also lifetime and some others if you want to get really fancy)
Similiar thread from 2007:
http://springrts.com/phpbb/viewtopic.ph ... rs&start=0
Or maybe someone already made a lua to draw groundscars without the engine's system?
If so, please post kkthxbye :)
Basically atm:
1) texture is randomly chosen
2) size is based on "default" damage
3) all weapons must use same textures
At least it seems so to me from eg
https://github.com/spring/spring/blob/d ... r.cpp#L940
but maybe I am missing something.
Is there more to control 1,2,3?
Would be nice to if something like this was possible in weapondef:
Code: Select all
groundscars = {
[1] = {texture="crater1.png", size=25},
[2] = {texture="crater2.png", size=60},
[3] = {texture="crater1.png", size=25},
}
Similiar thread from 2007:
http://springrts.com/phpbb/viewtopic.ph ... rs&start=0
Or maybe someone already made a lua to draw groundscars without the engine's system?
If so, please post kkthxbye :)