Battlezone Universe

Battlezone Universe => Maps and Modding => Battlezone 2 => Modding Tools => Topic started by: BS-er on May 26, 2009, 06:01:53 PM

Title: Reverse Scriptor version 1.1
Post by: BS-er on May 26, 2009, 06:01:53 PM
I've made some changes to the Reverse Scriptor:

It reverse-scripts DLLs created with DLL Scriptor 1.7.

An object array is created if it detects object slots that aren't directly referenced, following a referenced object.  For example:
Object21 <13>
In this case, there were 12 object slots that were not directly referenced by any instructions, following Object21, resulting in a total array of 13 objects.

It should be ok to convert an array to a single object reference (by removing the <#> portion), if it is never actually treated like an array (via GetByIndex or SetByIndex).

the link is the same: http://www.orderlymayhem.com/downloads/rev_scriptor.zip (http://www.orderlymayhem.com/downloads/rev_scriptor.zip).
Title: Re: Reverse Scriptor version 1.1
Post by: bigbadbogie on May 26, 2009, 09:04:24 PM
Wow!!

You didn't need to do this man... but thanks a heap!!
Title: Re: Reverse Scriptor version 1.1
Post by: BS-er on May 27, 2009, 02:44:47 PM
Well, General BlackDragon needed to reverse a 1.7 DLL.  It wasn't a lot of work to make it 1.7-compatible, and it makes sense to have it compatible with the latest (and maybe last) Scriptor version.
Title: Re: Reverse Scriptor version 1.1
Post by: bigbadbogie on May 27, 2009, 09:46:55 PM
Quote(and maybe last) Scriptor version

NO!! THIS CANNOT BE!!!  :cry:

Maybe after M.A.D is all finished and you have free time again, (and of course, if any modders are still around and you wanted to), could you possibly update the scriptor then for the latest 1.3 patch? There must be many new dll commands that the scriptor doesn't recognise yet...
Title: Re: Reverse Scriptor version 1.1
Post by: General BlackDragon on May 28, 2009, 01:40:20 AM
I'm fairly sure there are some... :|
Title: Re: Reverse Scriptor version 1.1
Post by: BS-er on May 30, 2009, 07:52:39 PM
1.7 does have some 1.3 features.  I don't know if more have been added since then.  I would be open to adding support for additional 1.3 operations if the need arises.
Title: Re: Reverse Scriptor version 1.1
Post by: bigbadbogie on May 30, 2009, 11:40:41 PM
And also, I don't know whether this is a bug or intentional but if I have an aircraft class unit and give it an infinite looping animation with:

SetAnimation,Aircraft1,"fly",0
StartAnimation,Aircraft1

The unit seems to fly rapidly up into the sky and can't come down... but without the animation it stays at it's intended height...

This is really odd and has been bugging me since QF1 development. It could be a 1.3 thing... but I really can't tell.
Title: Re: Reverse Scriptor version 1.1
Post by: OvermindDL1 on May 31, 2009, 03:53:06 AM
We did the same thing for Dune Command (using C++ though, but should have the same effect).

Are you sure your center positions and model and properly aligned and so forth, and not barely offset up/down?
(http://www.overminddl1.com/image_scripts/image_sig.php?type=ODL1signitures&image/sig.gif)
Generated by OvermindDL1's Signature Auto-Add Script (http://overminddl1.com) via GreaseMonkey (http://greasemonkey.mozdev.org/)

Title: Re: Reverse Scriptor version 1.1
Post by: bigbadbogie on May 31, 2009, 04:22:11 AM
Quote from: OvermindDL1 on May 31, 2009, 03:53:06 AM
Are you sure your center positions and model and properly aligned and so forth, and not barely offset up/down?

Positive. The pivot is centred exactly.
Title: Re: Reverse Scriptor version 1.1
Post by: Nielk1 on May 31, 2009, 04:49:45 AM
All key frames need position keys, if you have just rotations sometimes it reverts to a strange location.
Title: Re: Reverse Scriptor version 1.1
Post by: bigbadbogie on May 31, 2009, 05:09:34 AM
This isn't the animation... the actual object moves up.
Title: Re: Reverse Scriptor version 1.1
Post by: Nielk1 on May 31, 2009, 06:15:35 AM
odd
Title: Re: Reverse Scriptor version 1.1
Post by: BNG Da BZ Fool on July 09, 2009, 09:31:30 PM
Is there a download link for the reverse scriptor?
Title: Re: Reverse Scriptor version 1.1
Post by: Red Devil on July 09, 2009, 09:33:18 PM
Yes.
Title: Re: Reverse Scriptor version 1.1
Post by: General BlackDragon on July 09, 2009, 10:17:40 PM
Quote from: BS-er on May 26, 2009, 06:01:53 PM
the link is the same: http://www.orderlymayhem.com/downloads/rev_scriptor.zip (http://www.orderlymayhem.com/downloads/rev_scriptor.zip).

From the FIRST post  :-P
Title: Re: Reverse Scriptor version 1.1
Post by: BNG Da BZ Fool on July 10, 2009, 04:19:50 PM
I must be getting old. Thanks GBD.
Title: Re: Reverse Scriptor version 1.1
Post by: Red Devil on July 10, 2009, 05:01:15 PM
*hands BNG a walker*  :-P