Page 1 of 1
Start Position Editor
Posted: 29 Sep 2006, 06:42
by Maelstrom
After having Quanto scream at me over in
this thread, I made a start position editor thingy. You can download it from unknown-files here
http://www.unknown-files.net/index.php? ... &dlid=1739
If you find a bug or have a suggestion or anything, give us a yell and ill see what I can do.
Posted: 29 Sep 2006, 09:08
by Quanto042
I wasn't screaming
>_>
<_<
I was just giving suggestive nudges...
Btw
WOOOOT
Posted: 29 Sep 2006, 10:43
by LBPB
That's really usefull !!!
thanks

Posted: 29 Sep 2006, 10:45
by NOiZE
nice work
btw quanto:
in a other thread, Quanto042 wrote:BUT I WANT A FANCY PROGRAM >_<!!!
I think i can call that screaming

Posted: 29 Sep 2006, 11:40
by jcnossen
Looks nice, maybe you can add the ability to place trees and features? I need that for SM3 maps...
Posted: 29 Sep 2006, 15:17
by Hellspawn
Good work!
Make something like that for metal layout now

.
Posted: 29 Sep 2006, 19:36
by PauloMorfeo
Let me laugh a little at that whole thing. hahaha.
It was so easy to place start positions... While in game, move cursor to where you wanted the spawn point and check for the coordinates in bottom left (?). It is actually more correct because you see much better where the spawn point is.
Anyway, here it is a "FANCY PROGRAM"!
Good job, Maelstrom.
Are you planning on adding the sugestion of jcnossen? That would be sweet.
Posted: 29 Sep 2006, 21:26
by genblood
NICE ...
Great util ... Keep up the good work ...
Posted: 29 Sep 2006, 22:14
by hollowsoul
Question is the image of map created from unitsync making map preview ?
If so, how do u convert X Y Position from Map info to position on map preview i.e on MIP Level 2.5 for example ?
Just roughly in maths plz...
Be wishing to add ability to display Player Start Positions when mouse hovers over player list. Just really need to know how u worked out position on map preview
Thx for any help...
Posted: 30 Sep 2006, 00:16
by LOrDo
Sweetness. Im sick of using gimp to find the exact numbers for start locations, its a bitch to handle 8192x8192 images more then you have to.
Posted: 30 Sep 2006, 07:57
by Maelstrom
jcnossen wrote:Looks nice, maybe you can add the ability to place trees and features? I need that for SM3 maps...
How do you place features in SM3 Maps? I can make the editor for that pretty easily, but I dont know how to output the position data.
Posted: 30 Sep 2006, 13:29
by jcnossen
I have added a bit of info to
http://taspring.clan-sy.com/wiki/SM3_Ma ... _placement , and I've made a sample app to input the feature data:
http://user.supradigital.org/jcnossen/FeaturePlacer.zip
The app code is included, but I'll document it here a bit:
Code: Select all
FileStream fs = new FileStream(sfd.FileName, FileMode.Create);
if (fs != null)
{
fs.WriteByte(0); // version
BinaryWriter bw = new BinaryWriter(fs);
bw.Write((UInt32)features.Count); // number of features, 32 bit unsigned int
foreach (feature f in features)
{
bw.Write(f.type); // feature type, 32 bit int (indexes into feature type list)
bw.Write(f.x); // X position, 32 bit float
bw.Write(f.y); // Y position, 32 bit float
bw.Write(f.z); // Z position, 32 bit float
bw.Write(f.rotation); // rotation, 32 bit float, probably radians but I'm not sure.
}
}
fs.Close();
The latest test release doesn't read the feature types this way though, so you can't test it until the 0.73b1 release...