Sorry to bug y'all... I asked AF first, but he doesn't have commit access to the changelog...
Please document the following tags, and their usage / paths in Changelog.txt:
shownanoframe
shownanospray
nanocolor
impulseBoost
craterMult
craterBoost
Also, the following line (from UnitDefHandler.cpp) seems redundant, and could probably be removed. If nothing else, it'd be trivial to remove it from the relevant mods- such things are a modder's job, imo, not Spring's... if you want me to fix that one-liner in XTA, just lemme know, and I'll post the file.
if(ud.builder && !ud.buildSpeed) //core anti is flagged as builder for some reason
ud.builder=false;
And... hey, I didn't know this... I guess I've never had this bug, because I keep all of my weapons defined...
while(ud.weapons.size()<a){
if(!weaponDefHandler->GetWeapon("NOWEAPON")) {
info->AddLine("Error: Spring requires a NOWEAPON weapon type to be present as a placeholder for missing weapons");
break;
} else
ud.weapons.push_back(UnitDef::UnitDefWeapon("NOWEAPON",weaponDefHandler->GetWeapon("NOWEAPON"),0,float3(0,0,1),-1,0,0,0));
}
...therefore, I'll change NullWeapon (the weapon class I put into NanoBlobs for placeholder purposes) to NOWEAPON, so that NanoBlobs is closer to being compliant with Spring.
Minor Code Documentation Request
Moderator: Moderators
My guess:
Shownanoframe: whether or not the unit will appear in stages as it does now, or just appear when completed, for mods that don't exist in the TA universe.
shownanospray: whether or not a nanospray shows up
nanocolor: probably an R G B thing just like rgbcolor. So if you want a blue nanospray, "nanocolor=0 0 1;". This is probably overridden by that other tag that shows team colored nanospray.
Impulseboost: dunno
cratermult: something to do with crater depth, lots of fun to play with
craterboost: same as above
Shownanoframe: whether or not the unit will appear in stages as it does now, or just appear when completed, for mods that don't exist in the TA universe.
shownanospray: whether or not a nanospray shows up
nanocolor: probably an R G B thing just like rgbcolor. So if you want a blue nanospray, "nanocolor=0 0 1;". This is probably overridden by that other tag that shows team colored nanospray.
Impulseboost: dunno
cratermult: something to do with crater depth, lots of fun to play with
craterboost: same as above
Tested tags with newest version of Spring I could get my paws on:
I would think this would result in units appearing only when 100% built. This is not what happens. Instead, I get team-colored nanospray.
Code: Select all
[nanospray]
{
allow_team_colours=0;
shownanoframe=0;
shownanospray=0;
nanocolor=0;
}
- FoeOfTheBee
- Posts: 557
- Joined: 12 May 2005, 18:26