Code center > Bugs and fixes
Ties in 2.4
PurpleYouko:
I like this a lot Eric.
You might need to increase the size of the stack though if we go this route. I can see some pretty complex stuff around the corner where 30 or 4 numbers could be stacked with mathematical operators to acheive some pretty spectacular dynamic combinations of effects.
Elite:
You've got some great ideas Eric
Generally, there has to be some way of manipulating multiple ties at once. For example, if I want to change the length of four ties I shouldn't have to:
1 .tienum store
10 .tielen store
then next cycle
2 .tienum store
20 .tielen store
Instead, it should be something simple like (using your idea):
10 20 .tielenV store
That way you can quickly and simply manipulate multiple ties
*********
Another thing, could we have a sysvar .birthtie that reads back 1 when a bot is attached to another bot via a birth tie
Numsgil:
You can check out the New Tie Paradigm for the C++ version. We should try bringing the two versions (2.4 and C++) together. I'm open to entirely scrapping the system I have there for a new one. I'm just saying let's be careful about creating a new system if it's just going to be supplanted a little later.
PurpleYouko:
--- Quote ---However, I don't see the point of .tieang, as it's just the same as .fixang, isn't it?
--- End quote ---
Just noticed this while re-reading the thread.
I have to point out that the two are definitely NOT the same. They serve an entirely different purpose.
Tieang was actually the first command that changed the angle of a tie just as Tielen was the first to change its length. The difference is that both these commands act on a temporary basis and will spring right back again as soon as they are able to.
Use of these commands allow a worm structure to "wiggle" and thus propel itself along. Check out Carlo's Vermis_P.
Also this
--- Quote ---These would fix ties in particular angles and lengths, setting them to zero would cancel the effect, making the ties flexible again. If you want to set a tie angle to 0 just use 1256
And I think they should work on soft ties too, since then you can ready MB structures faster
--- End quote ---
If they work on soft ties then the ties aren't soft any more are they?
I don't have an objection to allowing ties to become hard faster at the expense of some energy perhaps.
Maybe .stifftie can be redesigned somewhat to fill this role. it never worked that well for its intended purpose anyway.
in summary, Fixang and Fixlen permanently change the default angle and length of a tie while Tieang and Tielen temporarily change the length and angle of the tie.
All tie commands can only work on a hardened tie since prior to that the whole system is soft, squishy and deformable. Additionally angles are free to be changed as much as you like during the initial non-hardened time.
Elite:
--- Quote from: PurpleYouko ---Just noticed this while re-reading the thread.
I have to point out that the two are definitely NOT the same. They serve an entirely different purpose.
Tieang was actually the first command that changed the angle of a tie just as Tielen was the first to change its length. The difference is that both these commands act on a temporary basis and will spring right back again as soon as they are able to.
Use of these commands allow a worm structure to "wiggle" and thus propel itself along. Check out Carlo's Vermis_P.
--- End quote ---
Ah right, I get it, thanks for clearing that up
.fixang and .fixlen = permanent
.tielen and .tieang = temporary
.tieang1-4 act more like .fixang though, and likewise with .tielen1-4 ... I think that what's happening is that they're not getting reset and so are permanently forcing the tie to the value stored in them
--- Quote from: PurpleYouko ---Also this
If they work on soft ties then the ties aren't soft any more are they?
I don't have an objection to allowing ties to become hard faster at the expense of some energy perhaps.
Maybe .stifftie can be redesigned somewhat to fill this role. it never worked that well for its intended purpose anyway.
in summary, Fixang and Fixlen permanently change the default angle and length of a tie while Tieang and Tielen temporarily change the length and angle of the tie.
All tie commands can only work on a hardened tie since prior to that the whole system is soft, squishy and deformable. Additionally angles are free to be changed as much as you like during the initial non-hardened time.
--- End quote ---
Ok, so hardened ties only for setting permanent angles and lengths
Hold on, Endy's Alga Tier uses .tielen1 to violently fling other bots away from it, and it does this while the tie is soft, so you can change the length of soft ties?
I'm confused
I've got to do some experimenting in 2.37.6 ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version