• entries
570
2427
• views
217131

# Untitled

85 views

Whee! Finally finished the component set export code. Which is only like 20 lines. It helped that Gamedev is essentially down. hur hur hur.

Sample output - this

Produces -

#ComponentSet$name=_set1.txt#Textures%texture=Tank1.bmp#Components%name=Light Chasis%class=Chasis%tex=42,31,40,64%cen=62,62%dir=62,62%rotspeed=12%movspeed=36%armor=30%weight=22$hardpoints%hpname=Main Turret%hpclass=22mm%pos=0,0%defori=0%minori=-120%maxori=120

Yeah, I know its not "efficient" by any means (as compared to just serializing the classes into fixed-length binary strings or something), but its hand-edittable. And I like it like that.

Booyeah.

As a sidenote, I'm going to the land-without-internet over the weekend. Which sucks, because I'm going to lose 2-3 days in 4E5. And we all know, those first few days are crucial.

Then again, I plan on using all of this code, so perhaps I won't be that far behind. Lets just hope the elements themselves aren't too cruel to me. Superpig, if you're reading this, your cheque should be arriving any day, I swear!! Don't back out because the post is slow [sad]

I'll definitely have to check those out.

## Create an account

Register a new account