Posted: Sat Apr 16, 2022 6:29 pm Post subject:
Misc TS editing q's
Subject description: orig: Does [Colors] showing through shroud bug happen in SP?
I've heard about certain colors not being okay to use for players since they have this bug where objects with it are visible through the shroud. Do I need to worry about certain player colors showing through the shroud in campaign or is that a multiplayer-only issue? Last edited by gameaddict11707 on Sun Apr 17, 2022 6:54 pm; edited 1 time in total QUICK_EDIT
Assuming you use the Tiberian Sun Client, for multiplayer the colors are defined not by name (only), but by internal color index. You can only use the "wrong" colors by assigning specific internal color indexes to players.
New question - if I were to add a playable subfaction, for example CABAL as an offshoot of the basic Nod side with certain exclusive units/structures, and giving Crewed=no to clones of the shared vehicles and structures, could I make the campaign flow between missions played as Nod and missions as CABAL but all during a single Nod campaign (e.g. in nod1a.map [Basic]?Player=Nod and once it's finished the game moves onto nod2a.map, where [Basic]?Player=CABAL) Or is that just impossible because of engine limits since each would technically be their own Side so I could give them things like a different BuildConst entry, etc.
i'm pretty sure it works. Even the original campaign had missions where you played Nod in one, and GDI in the next mission.
Hmm? I can't remember ones. Only in the Firestorm campaign Nod started using EVA instead of CABAL, that was achieved through SpeechSide=.
Lin Kuei Ominae wrote:
What you play as Player=, is independant from NextScenario=.
NextScenario= is actually somewhat obsolete. For example, IIRC most vanilla TS mission maps just define NextScenario= as gdi02, yet you obviously don't jump to GDI mission 2 from, say Nod mission 3.
Instead, the campaign progression is defined by mapsel.ini. There, unfortunately, the game uses the house's name to figure out how the campaign progression should go, which means you can't change the player house during a campaign if you want to have working campaign progression.
...the campaign progression is defined by mapsel.ini. There, unfortunately, the game uses the house's name to figure out how the campaign progression should go, which means you can't change the player house during a campaign if you want to have working campaign progression.
Good day, I am totally new to this client and modding TS, learned everything I did now in just a few hours. I have been trying to create a Nod unit that uses the Chemical Spray Infantry sprites but it is always invisible in-game.
No matter what I do, I can't seem to make it use this sprite, even tho it's in the game files so there's no need to create separate mix file, as I understand it:
https://tcrf.net/File:C%26C-TS-WeedGuy.gif
Here is my rules.ini for it
[BLACKHAND]
Name=Black Hand
Category=Soldier
Primary=FireballLauncher2
Prerequisite=NAHAND
CrushSound=SQUISH6
Strength=125
Fearless=yes
Armor=light
Pip=green
TechLevel=1
Sight=10
Speed=5
Owner=Nod
Cost=400
AllowedToStartInMultiplayer=no
Points=5
VoiceSelect=15-I032,15-I048
VoiceMove=15-I008,15-I014,15-I026
VoiceAttack=15-I008,15-I014,15-I026,15-I050,15-I060
VoiceFeedback=
VoiceDie=DEDMAN1,DEDMAN2,DEDMAN2,DEDMAN4,DEDMAN5,DEDMAN6
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
Thank you for the awesome client! Also would be nice if someone had any Oxanna/Slavik cameos
EDIT: It seems the art entry for this sprite is "WEED" in game files, so I managed to add it using that in-game, but it also seems like the same entry is used for the Weed Eater vehicle, so they conflict? How can I separate these two?
Also, I tried adding TypeImmune=yes to the unit but it is still being damaged by same type units? Is this because the FireballLauncher weapon is AOE? QUICK_EDIT
even tho it's in the game files so there's no need to create separate mix file
Unlike VXL, you can't simply place the file in the folder.
TS reads SHPs from ecache##.mix files (## being a number from 02 to 99, 01 is used by firestorm iirc)
Quote:
would be nice if someone had any Oxanna/Slavik cameos
I tried adding TypeImmune=yes to the unit but it is still being damaged by same type units? Is this because the FireballLauncher weapon is AOE?
If your FireballLauncher2 is also using a FireStream particlesystem, then it's most likely because of this. Since the particlesystem is independant from the unit and acts like any random damaging object.
Only ordinary projectile based weapons still "remember" which object fired them and in turn make TypeImmune work on their warheads. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Unlike VXL, you can't simply place the file in the folder. TS reads SHPs from ecache##.mix files (## being a number from 02 to 99, 01 is used by firestorm iirc)
Good to know for when I try to add custom SHPs, thank you!
However the problem is the weed guy sprite is already inside mix files since he is cut content, I can call it in-game now and I didn't need to add or place any extra files in folders. All I did was edit rules.ini and art.ini.
But it also seems like the entry that calls the sprite in art.ini is used for the Weed Eater vehicle, it is very strange and it looks like they conflict. Both units can be called with " [WEED] " entry.
I don't even understand how unmodded TS manages to be consistent when it only loads the vehicle since I once produced a Weed Eater vehicle unit with the Weedguy sprite out of a war factory in my testing.
What specifically do I need to edit to split these two units?
Also, I tried opening conquer.mix with XCC Mixer 1.47 but it won't show previews of assets, just black squares, any utility that does this?
EDIT: Breakthrough time plus some noob realisations after some exploring:
I now understand that Tiberian Sun uses sprites for infantry and voxels for vehicles! I initially thought that a unit needed both a SHP and VXL file hehe but this makes much more sense. This is what I deserve for never taking the time to understand voxels all this years of gaming, shame on me!
I have found that the conflict is being produced because infantry unit WEED.SHP conflicts with vehicle unit WEED.VXL.
As for XCC utils, I went ahead and downloaded the PPM variant and I also got OS SHP Builder which helped me reach the realization. It also looks like while PPM XCC also doesn't preview SHP files, it's only for SOME SHP files, at least the ones in conquer.mix.
So one new question I have is, my wording was "entry" when I initially talked about the conflicting SHP and VXL, but is it true in fact that rules.ini and art.ini simply directly call graphical assets instead of calling a different entry in a different file that worked directly with graphical assets?
As in rules.ini/art.ini <-> asset instead of rules.ini/art.ini <-> other .ini/other file type <-> assets?
I now have a new problem. I wanted to make the power turbine upgrade for GDI upgrade the power plant twice instead of once since I wanted to do less clicking.
So I changed "PowersUpToLevel=-1" to PowersUpToLevel=2" from [GAPOWRUP] and it works, it upgrades the Power Plant from 1 turbine to 3.
However, when I try to sell the upgraded power plant, the game crashes. Tested with fresh rules.ini with only this change applied. Any ideas? QUICK_EDIT
positive PowersUpToLevel has the special logic for the component tower applied, which is a hardcoded feature. So this is most likely the cause of the crash.
As an alternative, give the powerplant Upgrades=1 and simply create a new SHP with 2 turbines in it, which you use as the upgrade. Then let the upgrade give twice the amount of power. _________________ SHP Artist of Twisted Insurrection: Nod buildings
What controls the order of options in the build panel? I'd like to order things like regular buildings first and defensive structures second for instance. QUICK_EDIT
Though by reordering this list, you also have to adjust scripts in ai.ini that point to one building.
ai.ini adds to the [BuildingTypes] index a multiple of 65536 with different effects. Not sure how exactly that works.
I think 65536 for scan for nearest enemy,
131072 scan for farthest enemy
196608 scan for nearest friendly
262144 scan for farthest friendly
something like that. Usually only the 131072 (2*65536) value is used anyway.
script example from TS ai.ini, which has pointers to 2=PROC and 3=GASILO in the buildingtypes list
I would suggest checking out DTAs rules.ini, as Bittah used the common ai.ini numbers directly as index for rules.ini [BuildingTypes], so it's easier to match them.
e.g
Oh God. I re-ordered the vehicle and infantry list too, please don't tell me I have to do the AI thing for those as well, oh my god noooo xD QUICK_EDIT
Nope. [BuildingTypes] is the only one you need to worry about with regards to how the AI interacts. Otherwise, like for example [VehicleTypes], list order doesn't matter. I don't even think it affects what order buildable units appear in the sidebar. QUICK_EDIT
All lists set the order ingame for the respective type. Though often the order is changed by the way you tech up ingame.
But if you have all tech buildings, then sell the last factory and build one again, all the units provided are in the order of the list. _________________ SHP Artist of Twisted Insurrection: Nod buildings
How does the radar color for tiberium work? I changed the blue tiberium [Vinifera] to be purple in-game, and used Nyerguds' radar color editor to edit the shps so they'd be purple on radar too, and inserted the edited files into a new ecache mix.
Upon testing, I see that the new tiberium, while purple on the main battlefield, is a yellowish-green on the minimap. What gives?
You cannot post new topics in this forum You cannot 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