Nexus Modding > Game Assets

Game crashes

(1/2) > >>

Wadimich:
I made a model, put it in the tacticstypes, changed some of SETs. After that, i made a mission in skirmisher, with new model, and i can't play it. When it almost started, game crashes without any errors.
I'm sending out model if it broken, or something is undone.

Please help.

Arparso:
The model isn't broken, as far as I can tell. It works just fine in game.

The cause of the crash is most likely an error in your changes to the tacticstypes.ini. If you could post the tacticstypes.ini or at least the changes you made, I could likely help you.

For my quick testing I made this SHIPCLASS for the "NEXUS Skirmisher" mod, after converting the model and textures:


--- Code: ---SHIPCLASS 220
Name "cls_xxx"
Mesh "punisher"
Serial "NDF CO.%03u"
GUIIcon "icons\frigate"
Efx 5 1
ImpactEfx 1 0.6
FinalEfx 2 0.6
ChannelEfx 3 1
FinalTime 8
Civilization 0
Velocity 315
RotVelFact 350
RangeBehav 2 2
Behaviour 0
TargetType 9
SupportOutput 30
SupportIn 25
WeapCntFact 1
HPmax 3000
DeviceRepairHP 40
DetectBase 120
Security 2
Slots ;
Slots ;
Slots 51 55 ;
Slots 61 61/63/67   66 66 ;
Slots 71 ;
Carrier 0
MaxCarried 0
MPValue 0
SHIPCLASS
--- End code ---

This was copied from vanilla Nexus' corvette shipclass, with only the Mesh changed and weapon slots removed (I didn't look how many weapon slots you have on your model, so to be safe I just removed all weapon slots). Then I created a quick mission with the Skirmisher tool featuring the new shipclass and it worked just fine, no crash whatsoever.

Wadimich:
Well, it seem's like there' some weapons, that causes that crash (in example a phaser from SAMPLE 2).
Now it's crashes, when i press Esc.

I send my tacticstypes, i need to know, there is a problem.

After deleting all errors, i think, i can make a new big mod (this will take a few months, to create a basis).

Arparso:
It'd be helpful to know what kind of errors you're getting. Are you using the mission editor for playtesting? If not, then please do so or you'll have no clue about the cause of a crash and I won't be able to help you.

To start the mission editor, use the "mod_tools.exe" in the "mod_tools" subdirectory of your Nexus install.

What I discovered:


--- Code: ---Slots 51 52 55 ;
--- End code ---
(in SHIPCLASS "cls_xxx")

... caused a crash for me when launching the mission editor. Removing either 51 or 52 from that line solved it. Not sure, why this happens... you probably tried to mount two main drive slots on one ship!?


--- Code: ---SHIPTYPE 1
Name "Punisher"
Class #cls_xxx
Devices #weap_phaser #weap_phaser #weap_phaser ;
Devices #shld_b123 ;
Devices #eng_bFusEng #eng_secFusEng ;
Devices #supp_sensor #supp_bSgen #supp_ecm #supp_res #supp_bWGen ;
SHIPTYPE
--- End code ---

... causes another crash when loading the mission. The devices #eng_secFusEng, #supp_bSgen and #supp_bWGen don't fit into any of the slots on this shipclass, removing them fixes the issue (but makes the ship unusable, because there are no generators anymore).



You know how slots, devices and sets work? Here's a quick rundown:

- every device belongs to one or multiple sets, each identified by a different number, e.g.:


--- Code: ---DEVICETYPE ...
...
Sets 23 70 73 124 ;
...
DEVICETYPE
--- End code ---

- a shipclass has "slots", where you can fit devices into

- each slot only accepts a single device from one or multiple sets

- you tell the slot which sets to accept by using the set's number, e.g.:


--- Code: ---SHIPCLASS ...
...
Slots 61 61/62;
...
SHIPCLASS
--- End code ---

=> these two slots will accept ALL devices belonging to set 61 and the second slot will ALSO accept devices from set 62

- if you try to fit a device to a shipclass, the game will try to find a valid slot for it by looking at the set numbers of the device and the open slots
- if there are no available slots for this device anymore, the game will give you an error saying as much and exit*




*) you'll only get the error when using the editor - when playing through the normal game's exe it'll just crash

Wadimich:
I used Nexus Skirmisher, to make mission. I did some tests (also with my turret model). I discovered, that some weapons will crash game, when ships with this weapon approach to distance. on that weapon CAN fire, weapon is starting to charge (not always) and game crash. Only energy bomb work properly. I was checking SETs, and slots, and how that working on manuals. I looked to find, is there SETs has properly set. In your discovering about engines won't working is because SETs not right. I have issue only with weapons, engines work fine, support work also fine. Is weapons crashing because of SETs ?

Navigation

[0] Message Index

[#] Next page

Go to full version