:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sun Sep 15, 2019 12:33 pm
All times are UTC + 0
 Forum index » Featured Projects » Dawn of the Tiberium Age
Custom units
Moderators: Dawn of the Tiberium Age Staff
Post new topic   Reply to topic Page 1 of 1 [13 Posts] View previous topic :: View next topic
Author Message
Uniform
Civilian


Joined: 23 Jul 2017
Location: Paris, France

PostPosted: Thu May 02, 2019 5:18 pm    Post subject:  Custom units Reply with quote

Hello everyone,

I was wondering how I could add in new units to customize my (sp only, no cheating) DTA experience. I already played with the Rules.ini to add the Badger as a Soviet unit and make it able to drop napalm.
Aside from the INI editing, what should I know when trying to modify DTA ? Does it work like TS/RA2 modding ? Is there anything specific to consider ?

Thank you for your help.

Back to top
View user's profile Send private message
twistedconversion
Cyborg Soldier


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Thu May 02, 2019 6:18 pm    Post subject: Reply with quote

DTA is a TS mod, so modding it like it's TS works, but you should know that CloakStop is replaced with TooBigForCarryalls.
_________________
I change my profile picture based on my rank name.

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Thu May 02, 2019 10:44 pm    Post subject: Reply with quote

CloakStop never worked in TS in the first place, so that's not really anything to worry about #Tongue
But yeah, modding DTA is pretty much like modding TS as long as you take the added features into account (just take existing objects in DTA as an example in such cases).
_________________

Back to top
View user's profile Send private message Send e-mail ModDB Profile ID YouTube User URL Facebook Profile URL
Colos
Vehicle Driver


Joined: 12 Nov 2014

PostPosted: Fri May 03, 2019 11:10 pm    Post subject: Reply with quote

I don't have the time nor the knowledge for testing these out. But I'm sure someone could check? If SHP Builder is right, then these two should show up. I don't have any stats for it. So maybe just a Nod Buggy clone would work for now?


D2KTRI.shp
 Description:
Cameo SHP.

Download
 Filename:  D2KTRI.shp
 Filesize:  2.92 KB
 Downloaded:  2 Time(s)


TRI.shp
 Description:
Sprite SHP.

Download
 Filename:  TRI.shp
 Filesize:  10.48 KB
 Downloaded:  3 Time(s)


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 04, 2019 12:05 am    Post subject: Reply with quote

They are in the wrong format (unit not centered, no separate shadow frames) and in the wrong palette to work in DTA.
Extract a unit from DTA and look how it is done. Then change your SHP accordingly.

You can find the DTA unittem.pal palette in MIX\Cache.mix
In ecache02.mix you can find bike.shp which is a similar unit and shows you how to change yours.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Colos
Vehicle Driver


Joined: 12 Nov 2014

PostPosted: Thu May 16, 2019 10:33 pm    Post subject: Reply with quote

This is as close as I can get it to be centered. It uses the unittemp extracted from the mod. The cameo uses the cameo palette as well.


D2KTRI.shp
 Description:

Download
 Filename:  D2KTRI.shp
 Filesize:  2.64 KB
 Downloaded:  2 Time(s)


TRIKE.shp
 Description:

Download
 Filename:  TRIKE.shp
 Filesize:  15.55 KB
 Downloaded:  2 Time(s)


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri May 17, 2019 6:46 am    Post subject: Reply with quote

look at the DTA bike again. The first frame isn't exactly north (A quirk of the TS engine 32 facing hack).
Your shadows wobble and don't fit to the unit.

If you want the unit remappable, you have to use the purple color range in the bottom left of the palette.


SHPBuilder_trike.png
 Description:
 Filesize:  25 KB
 Viewed:  1447 Time(s)

SHPBuilder_trike.png



_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Colos
Vehicle Driver


Joined: 12 Nov 2014

PostPosted: Mon Jun 10, 2019 12:56 am    Post subject: Reply with quote

Alright, I took a shot at the Sardaukar. Its not spelled right, but whatever. I'll include the trike as well. Its still a bit haphazard.


D2KTRI.shp
 Description:
Cameo

Download
 Filename:  D2KTRI.shp
 Filesize:  2.64 KB
 Downloaded:  1 Time(s)


TRIKE.shp
 Description:
Sprite

Download
 Filename:  TRIKE.shp
 Filesize:  14.85 KB
 Downloaded:  2 Time(s)


SADAUKAR.shp
 Description:
Sprite

Download
 Filename:  SADAUKAR.shp
 Filesize:  56.41 KB
 Downloaded:  2 Time(s)


SADAUKARCAMEO.shp
 Description:
Cameo

Download
 Filename:  SADAUKARCAMEO.shp
 Filesize:  2.68 KB
 Downloaded:  1 Time(s)


Back to top
View user's profile Send private message
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Mon Jun 10, 2019 12:10 pm    Post subject: Reply with quote

Those look usable, although the icons have a transparent outline (in other words, the outer pixels of the icons use color #0), which might cause slight graphical glitches ingame.
I also notice some slight wobbling for both units between certain frames (for the infantry it's mostly when it fires and during the death frames).

Is there no way to automatically center all frames without having to fix them by hand when converting graphics from Dune?
_________________

Back to top
View user's profile Send private message Send e-mail ModDB Profile ID YouTube User URL Facebook Profile URL
Colos
Vehicle Driver


Joined: 12 Nov 2014

PostPosted: Mon Jun 10, 2019 9:57 pm    Post subject: Reply with quote

If there is some setting in Image Shaper that can center the sprite without causing it to wobble around; then I'm all ears. It does have a "prevent TS wobbling," option, but that hasn't really done much for me.

I'll try to adjust the Sardaukar. A few frames look chopped.


SAUDCAMfix.shp
 Description:

Download
 Filename:  SAUDCAMfix.shp
 Filesize:  2.79 KB
 Downloaded:  1 Time(s)


TRIKECamfix.shp
 Description:

Download
 Filename:  TRIKECamfix.shp
 Filesize:  2.79 KB
 Downloaded:  0 Time(s)


Back to top
View user's profile Send private message
Colos
Vehicle Driver


Joined: 12 Nov 2014

PostPosted: Mon Jun 10, 2019 11:23 pm    Post subject: Reply with quote

Ok. here is a more fixed Sadaukar. Also forgot the sounds for him.

If there's any other units, like the Fremen, or the Carryall, or some effect, let me know.


SadaukarSFX.zip
 Description:

Download
 Filename:  SadaukarSFX.zip
 Filesize:  57.02 KB
 Downloaded:  1 Time(s)


SADfix.shp
 Description:

Download
 Filename:  SADfix.shp
 Filesize:  56.31 KB
 Downloaded:  2 Time(s)


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Jun 11, 2019 6:37 am    Post subject: Reply with quote

Colos wrote:
If there is some setting in Image Shaper that can center the sprite without causing it to wobble around; then I'm all ears. It does have a "prevent TS wobbling," option, but that hasn't really done much for me.

That's not possible.
Dune has all images perfectly cropped around the object and stores offset values for each frame, telling the game how this frame needs to be adjusted to fit to the other frames.
Without those offset values, Image Shaper can't know what the main center of the unit is and how to position it correct in the image.
A human knows the head of an infantry has to be centered in each frame and extrusions like a long weapon can go far to the side. A program that simply centers an image according to the topleft and bottomright most pixel would not keep the head in the same place.
See attached image

Prevent TS Wobbling is a fix for turreted SHP vehicles only.


DuneFrames.png
 Description:
 Filesize:  6.95 KB
 Viewed:  1181 Time(s)

DuneFrames.png



_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Sat Jun 15, 2019 3:18 pm    Post subject: Reply with quote

Colos wrote:
If there's any other units, like the Fremen, or the Carryall, or some effect, let me know.

We could possibly put the Sardaukar to use, but I don't think any of Dune's other graphics would be fitting for DTA's graphical style.
_________________

Back to top
View user's profile Send private message Send e-mail ModDB Profile ID YouTube User URL Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [13 Posts] View previous topic :: View next topic
 Forum index » Featured Projects » Dawn of the Tiberium Age
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.3563s ][ Queries: 15 (0.0334s) ][ Debug on ]