Jump to content


Photo

Unit names, descriptions & one special Slingshot-issue


  • Please log in to reply
1 reply to this topic

#1 Zeal

Zeal
  • New Members
  • 1 posts

Posted 07 September 2012 - 10:10 AM

Hey Folks,

after a long workout with the TW SDK and WrathEd SDK I was able to create my own mod just by try-and-error. Just in an early state with changing some unit-data (like new weapons on existing units) and implementing own models for new units, I hit my first showstopper now:

Due to there are no really substanding documents nor tutorials in the internet to the specific values of an XML in Tiberium Wars, I really don't find the place, where I can edit a Unit-Name or Description, like how its readable in the buildmenu. Can someone explain me, in which database, template or XML I could change a unit's name?
I studied the SampleMod to find, where the MirageTank got its Description "Stealthed when not moving" but I never found it...

That leads me to my seconds problem. I've exported the XML-Data of the Slingshot from the Ep1-File and was able to implement it in my own mod. Its no problem to change some specific values like the price or whatever but I'm not able to make it similar to the Tiberian-Sun Hovercraft MLRS as a rocket-unit with ground-attack abilities.

i.E. it was no problem to change the weapon of the pitbull to the APC-Autocannon and to give him a new HUMMVEE-Model like we all know it from C&C 1 Tiberian Dawn.
BUT now I tried to give the Slingshot the pitbull-missiles. But it's still not able to attack the ground. I guess this is a major change in the behavior (maybe by an commandfile?) and I have no clue where to find it.

So, at all two problems:
- where to change a unit-name or description
- how to make the slingshot (with a ground-attacking weapon) to attack ground-units
As I said, I try to make a Tiberian-Sun Hovercraft MSLRS using the Slingshot, giving it an existing missile-weapon (for example from the pitbull or the Nod Bike) and later, changing a the model a little bit.

Is there anybody who can help me or show me a hint where to lern the basics about this issues?

Thank you very much


And sorry for my english, it's not that well at all, I'm just a german guy Posted Image

Greetings from Afghanistan

#2 Azuzak001

Azuzak001
  • Members
  • 64 posts

Posted 21 September 2012 - 09:48 PM

Sorry if this is a late reply, it's been awhile since I've been on here.

to modify a units description you have to edit the .str file of the mod. You can find a complete "vanilla" version of the CNC3 1.09 STR file online. This file has to be in the root directory of your mod but thats it, you don't have to actually link to it in your mod.xml file. It just automatically gets compiled in and used in the game.

As for the slingshot attacking ground units it's also pretty easy to do. you have to edit the weapon.xml file (I would suggest starting a new weapon.xml file for all new / edited weapons to make things easier on you and then link to that new file in your mod.xml file, like updatedweapons.xml) and make sure that it can effect ground units there. The section has to do with the anti-mask I believe, there are 4 common anti-masks that are used. Anti_Ground, Anti_Structure, Anti_AirbornInfantry, and Anti_AirbornVehicle is what I think they are. You need to make sure the weapon and the weapon warhead have the proper anti-mask in it to work properly.

Good luck bud.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users