SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Outdated Releases (0.X & 1.X) (https://mb.srb2.org/forumdisplay.php?f=61)
-   -   soc frame editing utility [MultiFrame.exe] (https://mb.srb2.org/showthread.php?t=29677)

Morph 02-13-2009 01:42 AM

soc frame editing utility [MultiFrame.exe]
 
Some time ago I created a program to help me creating socs and I just thought it might be useful for everyone else, too.

The idea works as follows. Sometimes you need an enormemous ammount of soc states/frames to evoke certain effects. An object that rotates around another one for just a short period of time, for example, can only be created by using thousands of frames with A_RotateSpikeBall and a duration of 1 tic. To use socedit or type these into the MSEditor is stupid and time consuming even with ctrl c + ctrl v.
This is where the program comes in handy. You just need to insert the information where to start, how to start and how many frames you want to create. Then the program will do the rest for you.
Depending on what you want to do you can store the data directly into already existing socs or even create new files.

Oh and take a look at the readme. ^^'



--------------------

Features:
- create frame cycle
- search and replace
- find doubles
- shift frames
- clean up soc


Download links:
- version 6, alternate mirror
- version 5
- version 4
- version 3
- version 2
- version 1

(Note: The site may sometimes be not available because of traffic.)
Criticism or suggesting features that might be useful to add are welcome.

Spazzo 02-13-2009 03:01 AM

Moved to Releases - Misc.

Morph 02-13-2009 11:30 AM

Update 2.01

To improve the functionality of the program I implemented cycles.
It is now possible to create frame cycles with as many different frame types as you want.

EXAMPLE:
Code:

FRAME 1600
SPRITENUMBER = 90
SPRITESUBNUMBER = 0
DURATION = 8
NEXT = 1601
ACTION A_BunnyHop
VAR1 = 13
VAR2 = 7

FRAME 1601
SPRITENUMBER = 95
SPRITESUBNUMBER = 1
DURATION = 7
NEXT = 1602
ACTION A_FireShot
VAR1 = 3
VAR2 = 0

FRAME 1602
SPRITENUMBER = 90
SPRITESUBNUMBER = 0
DURATION = 8
NEXT = 1603
ACTION A_BunnyHop
VAR1 = 13
VAR2 = 7

FRAME 1603
SPRITENUMBER = 95
SPRITESUBNUMBER = 1
DURATION = 7
NEXT = 1604
ACTION A_FireShot
VAR1 = 3
VAR2 = 0

...


Arf 02-13-2009 09:33 PM

This seems like a very useful tool. I look forward to a next release.
Keep up the good job!

Morph 02-14-2009 05:15 PM

Update 3.01

Search and replace function has been implemented.
You can now run through the whole soc script, search for a certain string and replace all of them with a new one.

I wish would have had this idea earlier... (All those wasted years!!!)

;)

Morph 02-15-2009 01:16 PM

Update 4.01

Find frame doubles function has been implemented.
Very often combining socs is difficult because same frame freestates are used. Now you can check this by putting all soc scripts you want to use in one file and tell the program to run through this file. The search results will be stored into "log.txt" which will be created or recreated, if necessary, by the program itself.



Any ideas left what might be helpful, or how the functions could be improved?

Morph 02-17-2009 11:48 AM

Update 5.01

"Find frame doubles" has been changed to "Find doubles.
Now thing doubles will be recognized, too.

Shift frames has been implemented.
This helps a lot if you want to combine socs which use same freestates. You just can shift all of the first one and then add it to the second one and your problems are solved.
Note: This even effects the objectstates like SPAWNSTATE, DEATHSTATE, RAISESTATE... etc.



BIG NOTE: Everything works fine IF your file is using SocEdit's orthography.
Examples:
Code:

THING 3        --->    no !
tHiNg 3        --->    still no !!!

Thing 3        --->    YEAH !!!

frame 1337      --->    no !
Frame 1337      --->    no -_-

FRAME 1337      --->    YEAH!!!


Morph 02-18-2009 10:00 AM

Update 6.01

[I am working on this faster than you are able to post. :-P ]

Clean up soc function has been implemented.
The programm will rearrange all things and frames according to their size and than attach levelheaders, comments... etc to the end of the file.

"Find doubles" and "Shift frames" should now work independent from the capitalization issues I mentioned in my last post.

Chaos Knux 02-18-2009 03:29 PM

Morph's Internet Safe contents: 500467488836 internets.
Cue's Internet safe content: 50046788837 internets.

You are officially a god around here.

Autosaver 02-18-2009 09:45 PM

Quote:

Originally Posted by Chaos Knux
Morph's Internet Safe contents: 500467488836 internets.
Cue's Internet safe content: 50046788837 internets.

You are officially a god around here.

I'm just going to butt in, but whats your point? Coming with random numbers?

Nice program thingy BTW


All times are GMT. The time now is 11:18 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.