Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: shiv on March 19, 2008, 12:16:46 pm
-
I'm currently playing with "spawn" flag in tables. Here're two flags that I've included in one weapon:
"Spawn Cluster Bomb Baby, 14" "Spawn Cluster Baby,18"
The problem is that Cluster Bomb Baby is spawned, but Cluster baby not. Is there any chance to fix it or it's game engine limit?
-
I made a triple spawning bomblet before derelict came out. I put it on the volition watch archives but got nil response. Called the murphy warhead. Dunno what happened to it :(
-
Check the debug spew from fs2_open.log from data directory (especially after running the debug build that is)...
There is something in the code along these lines which might appear in the log as well...
Illegal to have two spawn types for one weapon.
Ignoring weapon ...
EDIT: That is not to say it would be impossible to do it. It just shouldn't be possible with just using the weapons.tbl. It might be possible via some semi-arcane FRED magic but it certainly is possible to do so by using Lua scripting.
-
I didn't run debug (recent debug builds are crashing game :( ) but I see that code doesn't allow to spawn two things.
Would it be very hard to allow game code to spawn more than one spawn type for weapon?
-
If the game crashes when using debug build there usually is a very good and valid reason why it does this and such issues should be fixed. Check for example the fs2_open.log for possible problems.
-
Yeah... I've got it.
WARNING: "Illegal to have two spawn types for one weapon. Ignoring weapon Infyrno II"