Tuesday, April 17, 2012

Modify units cost - mass & energy

Hello,
I m new in supcom 2 mod and i only want to change the mass & enery cost of somes units. (no change of texture etc.)
I tried to follow this topic and i only modify the bp of the unit, mass & energy section:
viewtopic.php?f=19&p=829443#p829443
But it doesn't work and i have no idea where is the problem?
FI: i use winrar to zip the .scd . When i put the .scd in the gamedata directory, the game seems to not see it.
I give you the code34.scd file that i try:
http://www.gamefront.com/files/20240909/code34.scd
Can someone help or give me a link to a topic where i can find some help ?|||Ok forget the way you were trying because its wrong you want to do a bp merge on the units you want to edited so read though this and download the template mod and just edit that to your liking so you get a understanding how bps merges work.
http://forums.gaspowered.com/viewtopic.php?f=19&t=50438|||Thanks you very much :D I will test it.
If someone is interest by my mod, i will post it.
It will be only a little balancing mod.|||I certainly have a problem that is not described into the tutorial, cause i tested the mod above, i only use this part of code:
Quote:|||you didn't need to rezipped the template mod how its set up is how it ment to be any other way will not work, you can make changes to the files inside by opening it up with winrar after you have made your changes winrar will ask you to update the file, PS how you have rezipped it into another folder in side your scd you have a zzz_code34 folder the game wont read any think not in a folder used by the game already moving the files out of the zzz_code34 folder will fix the problem.|||i don t understand why :(
I do exactly what you say:
- just edit the bp file without open archive, save update with winrar
- put the Template_MOD.scd into the gamedata/
and nothing happens :( just try to increase the cost of the ucx101 unit
http://www.gamefront.com/files/20242290 ... te_MOD.scd|||Works fine for me just tested your scd make sure your placing it into C:\Program Files (x86)\Steam\SteamApps\common\supreme commander 2\gamedata or even try the mod manager download it from here http://forums.gaspowered.com/viewtopic.php?f=7&t=50303
Image
Uploaded with ImageShack.us|||Not to go against what LoD said, but the tactic i used is to just replace the entire units folder in bp.scd with the one from uncompiled_lua.scd.
Then simply find the unit you want to change and modify it. This method works on xbox 360, so it should work for the pc version as well.
Only try this if you continue having issues.
Hope this helps.|||damusolja|||Do not edit the blueprints directly - that's fine for modding the 360 version, but the PC version has many other modding options available, and that is the least compatible and most difficult to troubleshoot. In addition, when you're running the DLC, the DLC overrides original blueprints, so that method is worse in every conceivable way for the PC version.

The tutorial DOES actually tell you what to do in this situation:
1) Don't put your files in an actual .scd to start - just use a folder with an .scd name. This eliminates any compression/recompression issues from the equation.
2) Put a log message at the top of your merge file, outside of the UnitBlueprint table. If you don't see that log message being printed shortly after 'Loading blueprints', then you have a parse error somewhere in the file, OR you're placing the blueprint file somewhere where it's not being loaded at all.
If you DO see the message but don't see your changes, chances are you got the blueprint table structure wrong, or you put the file somewhere where it will be overridden by the DLC's blueprints.|||liveordie|||dman, forget my last answer ! :))) In fact, it works. Thanks you for your screenshot!
I do a big mistake each time i tested, i was looking for the wrong unit in game with wrong faction ! :)) Thanks you for your help, i m sorry i m a big newbie :D|||-- sorry forgot what i said :)

No comments:

Post a Comment