dummies.txt problem

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

dummies.txt problem

Post by Anubitus »

hi,

while working on a mod i have to make continius changes to the dummies file, and to this far i didnt have any problems with it, it became pretty standard routine and didnt even make any mistakes anymore..

but now i have a problem, when i added the last turret im working on atm, the turret worked but all others dont anymore, for some reason the game dont change the dummies into the actual turrets anymore.. when i spawn a ship, the turret bodies are not there and when i add lasers to them, the dummies apear (the static turret dummies you add to the ship scene file)..

this is realy frustrating.. i have tried everything i could think of to get this solved but the only thing that does work is revert to the previous version of the dummies file.. can i not add anymore turrets or something..? current amount in my dummies file is 38..

perhaps there is some tool i can use to add turrets to the dummies file or so..?

realy hope somebody can help me with this or this will severly cripple the stuff im working on..
User avatar
Killjaeden
Posts: 5366
Joined: Sun, 3. Sep 06, 18:19
x3tc

Post by Killjaeden »

but now i have a problem, when i added the last turret im working on atm, the turret worked but all others dont anymore, for some reason the game dont change the dummies into the actual turrets anymore.. when i spawn a ship, the turret bodies are not there and when i add lasers to them, the dummies apear (the static turret dummies you add to the ship scene file)..
Best tip: revert to the previous working version of your dummies.txt and make the entry for your turret new. It's very likely that you missed a semicolon or something else somewhere.
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
Image
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

thing is, i just copy/past a other entry and adapt it for the turret i wanna use it for..

first i copy/past a entry and after that i copy/past all the path names from whitin the scene files to make sure i have no typos.. after i have done that i checked and double checked it but it still didnt work.. it seems i just cant enter another entry.. *sigh*

ps: what is a semicolon..?
User avatar
urbanfreak
Posts: 298
Joined: Thu, 18. Feb 10, 03:08

Post by urbanfreak »

BACKTRACK ~ When editing, did you do something extra, something you've done to in this round yet not to the previous successful attempts ?


semicolon → ;
[ external image ][ external image ]
If you are in a spaceship that is traveling at the speed of light, and you turn on the headlights, does anything happen?
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

nope, nothing extra.. nothing extra at all..

just copy/past a existing entry and edited it by copying/pasting the path file names from the scene files.. here is the part i am talking about..

Code: Select all

SDTYPE_GUN;30;
106;GUNF_FIXED;2;GUNSTATUS_INITIAL;4291;GUNSTATUS_FIRING;4292;0;
107;GUNF_FIXED;2;GUNSTATUS_INITIAL;4293;GUNSTATUS_FIRING;4294;0;
91;GUNF_ROTATE;1;GUNSTATUS_INITIAL;4290;2;90;GUNPARTF_ROTATEALPHA;89;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
708;GUNF_ROTATE;1;GUNSTATUS_INITIAL;4295;2;980;GUNPARTF_ROTATEGAMMA;981;GUNPARTF_ROTATEBETA|GUNPARTF_ROTATEGAMMA;
19018;GUNF_FIXED;0;0;
19019;GUNF_FIXED;0;0;
19080;GUNF_FIXED;0;0;
19081;GUNF_FIXED;0;0;
19082;GUNF_FIXED;0;0;
19083;GUNF_FIXED;0;0;
ships\props\bigturret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret_scene;3;ships\props\bigturret_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\bigturret_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\bigturret2_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret2_scene;3;ships\props\bigturret_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\bigturret_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m6maingun_static;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\m6maingun_scene_static;GUNSTATUS_FIRING;ships\props\m6maingun_scene_moving;0;
ships\props\m3gun1d_static;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\m3gun1d_scene_static;GUNSTATUS_FIRING;ships\props\m3gun1d_scene_moving;0;
ships\props\m3turret1d_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m3turret1d_scene;2;ships\props\m3turret1d_body;GUNPARTF_ROTATEALPHA;ships\props\m3turret1d_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\m6turret4_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\m6turret4_scene;3;ships\props\m6turret4_body;GUNPARTF_ROTATEALPHA;ships\props\m6turret4_leftweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;ships\props\m6turret4_rightweapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\gatlingf_body;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\gatlingf_scene_static;GUNSTATUS_FIRING;ships\props\gatlingf_scene_moving;0;
ships\props\gatlingf_body_right;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\props\gatlingf_right_scene_static;GUNSTATUS_FIRING;ships\props\gatlingf_right_scene_moving;0;
ships\props\bigturret4_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret4_scene;2;ships\props\bigturret4_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret4_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\props\bigturret5_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\props\bigturret5_scene;2;ships\props\bigturret4_body;GUNPARTF_ROTATEALPHA;ships\props\bigturret4_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\Destroyer\props\HDTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\Destroyer\props\HDTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\Destroyer\props\HDTurret_body;GUNPARTF_ROTATEGAMMA;ships\Anubitus\Homeworld\Hiigaran\Destroyer\props\HDTurret_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGSmallTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGSmallTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGSmallTurret_body;GUNPARTF_ROTATEGAMMA;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGSmallTurret_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGBigTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGBigTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGBigTurret_body;GUNPARTF_ROTATEALPHA;ships\Anubitus\Homeworld\Hiigaran\PulsarMechGunship\props\HPMGBigTurret_weapon;GUNPARTF_ROTATEALPHA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\AdvDestroyer\props\HAdvDTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\AdvDestroyer\props\HAdvDTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\AdvDestroyer\props\HAdvDTurret_body;GUNPARTF_ROTATEGAMMA;ships\Anubitus\Homeworld\Hiigaran\AdvDestroyer\props\HAdvDTurret_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCArbiterTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCArbiterTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCArbiterTurret_body;GUNPARTF_ROTATEGAMMA;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCArbiterTurret_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCPulsarTurret_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCPulsarTurret_scene;2;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCPulsarTurret_body;GUNPARTF_ROTATEGAMMA;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCPulsarTurret_weapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCIonCannonTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCIonCannonTurret_scene;1;ships\Anubitus\Homeworld\Hiigaran\BattleCruiser\props\HBCIonCannonTurret_body;GUNPARTF_ROTATEALPHA;
ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_scene;1;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_body;GUNPARTF_ROTATEALPHA;
ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;0;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_body;
ships\Killjaeden\props\ALDG_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Killjaeden\props\ALDG_Scene;3;ships\Killjaeden\props\ALDG_Body;GUNPARTF_ROTATEGAMMA;ships\Killjaeden\props\ALDG_Leftweapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;ships\Killjaeden\props\ALDG_Rightweapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
at first the turret killjaeden made worked fine but then i added another turret and not only the new turret didnt work, none of the others worked anymore either.. since i couldnt repair this, i made a new dummies file starting from the vanilla one.. i copied all my entries and now they all work again, except for the one killjaeden made.. i didnt change any paths or anything.. besides with the first dummies file this turret worked just fine.. also when i add a new one, it doesnt work..

it cant be that im the only one having this problem right..?

if you guys see a mistake, pls say so.. its the last one that isnt working.. :s

EDIT: so i done a little test.. i cut/past killjaeden's turret to the top of the list of turrets i added and guess what.. it works perfecly fine now.. only problem is, none of the others work anymore.. WTF..!
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

it seems like there is a limit of 30 entries at the SDTYPE_GUN; section of the file..
when i add one more, it wont work..

can anyone confirm this..?
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

guys.. i realy need help here..

thanks..
User avatar
Killjaeden
Posts: 5366
Joined: Sun, 3. Sep 06, 18:19
x3tc

Post by Killjaeden »

I don't think it's forbidden to say that we are at 33 entries in XTC now and all of them still work. So can't confirm it for the moment.

If you add an entry on top and the rest does not work anymore the entry you added on top is wrong/has failure.
May be that my entry is wrong, i'm not perfect after all but i can't see an error there atm.
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
Image
User avatar
urbanfreak
Posts: 298
Joined: Thu, 18. Feb 10, 03:08

Post by urbanfreak »

Anubitus wrote:

Code: Select all

SDTYPE_GUN;30;......
...
...
...
ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_scene;1;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFAssaultTurret_body;GUNPARTF_ROTATEALPHA;
ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;0;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_body;
ships\Killjaeden\props\ALDG_Dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Killjaeden\props\ALDG_Scene;3;ships\Killjaeden\props\ALDG_Body;GUNPARTF_ROTATEGAMMA;ships\Killjaeden\props\ALDG_Leftweapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;ships\Killjaeden\props\ALDG_Rightweapon;GUNPARTF_ROTATEGAMMA|GUNPARTF_ROTATEBETA;
Dude, you crashed your codes.. lol
Look at your second last entry.

Code: Select all

ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_dummy;GUNF_ROTATE;1;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;0;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_body;
Specifically this two sections

Code: Select all

......F_ROTATE;1;..........Launcher_body;
You set Rotate=1 but where are your rotating statements at the back? GUNPARTF_ROTATEGAMMA.etc ????
You induced an endless loop cycle.. lol

If you don't want it to rotate, then change it to Fixed..
[ external image ][ external image ]
If you are in a spaceship that is traveling at the speed of light, and you turn on the headlights, does anything happen?
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

thanks.. i didnt know that..

it seems we learn every day..

thanks again.. :)
User avatar
urbanfreak
Posts: 298
Joined: Thu, 18. Feb 10, 03:08

Post by urbanfreak »

(: No problem
[ external image ][ external image ]
If you are in a spaceship that is traveling at the speed of light, and you turn on the headlights, does anything happen?
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

Code: Select all

ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_dummy;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;0;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_body;0;
will this line work then..? or do i remove the 0 after the ...VAFMissileLauncher_scene;... part..? or is it something else entirely.. :p
User avatar
urbanfreak
Posts: 298
Joined: Thu, 18. Feb 10, 03:08

Post by urbanfreak »

Code: Select all

ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_dummy;GUNF_FIXED;2;GUNSTATUS_INITIAL;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;GUNSTATUS_FIRING;ships\Anubitus\Homeworld\Vagyr\AssaultFrigate\props\VAFMissileLauncher_scene;0;
Try that instead... Anyway why would you want to create a missile launcher turret? it would be simpler if you had the invisible weapons in your ship's scene, with the launcher model appended to the ship.

Saves on dummies and load times.
[ external image ][ external image ]
If you are in a spaceship that is traveling at the speed of light, and you turn on the headlights, does anything happen?
Anubitus
Posts: 693
Joined: Fri, 21. Jan 05, 00:44
x4

Post by Anubitus »

you are right, but i wanted to have a missile launcher that i could use for other ships aswell.. but again, you are right.. :)

that line works perfect, thanks again mate..

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”