Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Spoon on February 22, 2011, 10:38:24 am
-
I'm getting this crash when giving a capital ship a weapon that has substitute defined
Assert: position != NULL
File: weapons.cpp
Line: 4966
'LSF Challenger 1' is trying to fire a weapon that is not selected
And from the debug log:
ASSERTION: "position != NULL" at weapons.cpp:4966
'LSF Challenger 1' is trying to fire a weapon that is not selected
Int3(): From g:\fso\fs2_open_0\code\globalincs\windebug.cpp at line 970
-
Hmm, I will have to take a look at it when I get home. Unfornatly, I never tested the feature with capships.
-
Doesn't work with beam weapons either
"WARNING: "An attempt to fire a beam ('Ravagerbeam') through weapon_create() was made." at weapons.cpp:4946
Int3(): From g:\fso\fs2_open_0\code\globalincs\windebug.cpp at line 1277"
-
Doesn't work with beam weapons either
"WARNING: "An attempt to fire a beam ('Ravagerbeam') through weapon_create() was made." at weapons.cpp:4946
Int3(): From g:\fso\fs2_open_0\code\globalincs\windebug.cpp at line 1277"
What is the expected result of using beams with this system. Because beams work so differently from every other weapon I am not sure if it is doable.
Because of how the engine handles turrets I am consulting with SCP as to what we figure will be the best solution.
-
:bump:
Any progress on this?
I've recently tried to make a realistic ZSU-23-4 style turret and ran into this problem.
-
:bump:
Any progress on this?
I've recently tried to make a realistic ZSU-23-4 style turret and ran into this problem.
Not really. Primarily because I don't have time until August to actually sit down and actually spend the time to work on this.
Also, nobody answered my question about the expected behavior of substituting beams.
-
Substituting beams would fire a beam down the turret normal?
If only it were that easy...
-
Substituting beams would fire a beam down the turret normal?
If only it were that easy...
:D
I didn't really want to have to rewrite the entire weapons code...