something hardcoded .. help making the last step PLZ!!
maybe some of you remember i have asked for this already once .. but i have not given up .. i`m now only missing the very last unknown
i need to change the weapon classes,
more concrete as i have figured out: just the numbers 1-10
here`s what i got: (from resources.dll)
;used within the equipment info
917, "Gun/Missile Class:"
918, "Turret Class:"
;used within the equipment name/info for weapons AND shields as well !!
991, " (Class "
992, ""
;used for the hardpoints (working)
1525, "Gun/Missile-Class 1"
1526, "Gun/Missile-Class 2"
1527, "Gun/Missile-Class 3"
1528, "Gun/Missile-Class 4"
1529, "Gun/Missile-Class 5"
1530, "Gun/Missile-Class 6"
1531, "Gun/Missile-Class 7"
1532, "Gun/Missile-Class 8"
1533, "Gun/Missile-Class 9"
1534, "Gun/Missile-Class 10"
1731, "Turret-Class 1"
1732, "Turret-Class 2"
1733, "Turret-Class 3"
1734, "Turret-Class 4"
1735, "Turret-Class 5"
1736, "Turret-Class 6"
1737, "Turret-Class 7"
1738, "Turret-Class 8"
1739, "Turret-Class 9"
1740, "Turret-Class 10"
;no effect (?)
946, "Gun-Class 1"
947, "Gun-Class 2"
948, "Gun-Class 3"
949, "Gun-Class 4"
950, "Gun-Class 5"
951, "Gun-Class 6"
952, "Gun-Class 7"
953, "Gun-Class 8"
954, "Gun-Class 9"
955, "Gun-Class 10"
956, "Missile-Class 1"
957, "Missile-Class 2"
958, "Missile-Class 3"
959, "Missile-Class 4"
960, "Missile-Class 5"
961, "Missile-Class 6"
962, "Missile-Class 7"
963, "Missile-Class 8"
964, "Missile-Class 9"
965, "Missile-Class 10"
ok now conclusion:
here`s the tricky part ..
the number of the class is a variable declared somewhere else (i would think it`s hardcoded i`ve been looking all through resources.dll) guessing common.dll or content.dll .. i have tried with the hex editor i got, but i`m no good there ..
991, " (Class "
992, ""
will be added to ALL GUNS AND SHIELDS !!
result "Liberty Cannon (Class X)" / "Adv. Barrier Shield (Class X)" for example .. X is the variable i`m looking for ..
i hope some brave modder can help out, i really need this or else my mod will have to die ..
sincerely,
RimShot
ps. i have tried removing all "%" entries in resources.dll that looked suspicious, but it`s not there i`m very sure ..
EDIT:
one thing i thought of may be somehow important ..
if i`m not wrong, i remember that if you scan other ships > it does NOT show the class of a weapon ..
if it`s possible to copy this, that would even help me out .. i just can`t get back to class 1-10
thx
Edited by - RimShot on 9/2/2004 12:07:56 PM