Information and discussion for custom maps and mods.
-
SoScared
- Posts: 1116
- Joined: Wed Apr 11, 2012 6:16 pm
- Location: Oslo
-
Contact:
Post
by SoScared »
I've been trying to look into how other modded maps do this but I can't seem to figure it out.
I have the SHP files ready alongside the yaml file already containing a modded medium tank:
Code: Select all
2TNK.Germany:
Inherits: 2TNK
Buildable:
Prerequisites: fix, ~vehicles.germany, ~techlevel.medium
Valued:
Cost: 1050
Tooltip:
Name: German Medium Tank
Description: German Main Battle Tank.\n Strong vs Vehicles\n Weak vs Infantry, Aircraft
Turreted:
TurnSpeed: 4
Armament:
Weapon: 90mm.Germany
RenderSprites:
Image: 2tnkger
Any help would be greatly appreciated!
-
Attachments
-
- 2tnkgericon.shp
- German Medium Tank icon
- (2.45 KiB) Downloaded 315 times
-
- 2tnkger.shp
- Medium Tank with prolonged barrel
- (13.09 KiB) Downloaded 293 times
-
Graion Dilach
- Posts: 277
- Joined: Fri May 15, 2015 5:57 pm
Post
by Graion Dilach »
Code: Select all
Sequences:
2tnkger:
idle:
Facings: 32
UseClassicFacingFudge: True
turret:
Start: 32
Facings: 32
UseClassicFacingFudge: True
muzzle: gunfire2
Length: 5
icon: 2tnkgericon
2tnkger.destroyed:
idle: 2tnkger
Facings: 32
UseClassicFacingFudge: True
ZOffset: -512
turret: 2tnkger
Start: 32
Facings: 32
UseClassicFacingFudge: True
ZOffset: -512
You forgot the art code.
-
SoScared
- Posts: 1116
- Joined: Wed Apr 11, 2012 6:16 pm
- Location: Oslo
-
Contact:
Post
by SoScared »
Fixed. Got it to work. Thanks!
