Tempust85 Posted December 2, 2014 Posted December 2, 2014 This isn't working for me in SP: - trigger_push doesn't work with the "multiple" flag applied- NPC_Jedi doesn't spawn even if he's hooked to a trigger_once- func_breakable doesn't work with the "no_explosion" flag applied Can someone please verify these? All of these work fine when running JKA base with my map. I thought it was something I did to DF2 Mod, but I've just tried it with a fresh copy of OpenJK with the same results.
ensiform Posted December 2, 2014 Posted December 2, 2014 What flag bit is on the trigger_push, it should be 2048 for MULTIPLE in SP. npc spawn jedi works. Friendly jedis are spawned on kor1 and kor2 for me. Not sure.
Tempust85 Posted December 2, 2014 Author Posted December 2, 2014 func_breakable's "no_explosion" & trigger_push's "multiple" are 256. The code for both look to say 2048. :\ I've decompiled kor1 and for their no_explosion, it's 2048. Seems as though anything located in the spot of "no_explosion" or "shy" has to be 2048 and not 256 that gtkradiant says.
ensiform Posted December 3, 2014 Posted December 3, 2014 The flags that gtkradiant says are not going to be 100% accurate since the developers did not make the ents files. Tempust85 likes this
ensiform Posted December 3, 2014 Posted December 3, 2014 Sounds to me like you are comparing JAMP and SP spawnflags on entities perhaps? They are not guaranteed to be the same. You need to specifically tell radiant SP mapping mode or MP mapping mode as well.
Tempust85 Posted December 3, 2014 Author Posted December 3, 2014 I'm mapping in single player mode. Like I said, it works fine in JKA base. Seems like Raven added a "2048 or 256" for any spawnflag at the lowest left of the spawnflag choosing area as any entity with a spawnflag in this spot gives the same issue of the spawnflag and thus rendering the entity unavailable in the map. This would explain why it works in JKA base and not in OpenJK, which only uses 2048 in that spawnflag spot.
ensiform Posted December 3, 2014 Posted December 3, 2014 I'm mapping in single player mode. Like I said, it works fine in JKA base. Seems like Raven added a "2048 or 256" for any spawnflag at the lowest left of the spawnflag choosing area as any entity with a spawnflag in this spot gives the same issue of the spawnflag and thus rendering the entity unavailable in the map. This would explain why it works in JKA base and not in OpenJK, which only uses 2048 in that spawnflag spot.But the code never changed in OpenJK. And there is no reference to 256 in the original code release for trigger code or func_breakable code either. https://github.com/jedis/jediacademy/blob/master/code/game/g_breakable.cpp#L551 https://github.com/jedis/jediacademy/blob/master/code/game/g_trigger.cpp#L623
Tempust85 Posted December 4, 2014 Author Posted December 4, 2014 I know, I had a look but perhaps the released source code is ever so slightly outdated compared to what's in base JKA.
eezstreet Posted December 4, 2014 Posted December 4, 2014 They would've had to rebuild their maps with different flags then. I'm not sure they would go through that much effort. From what I recall, there's no difference in flags between JK2 SP and JKA SP (I never had to alter any way back when I was hooking JASP to run JK2SP). It's probably a case of GTKRadiant having incorrect project settings. You can alter the ents that Radiant has, and their flags by modifying a specific file, can't recall the name of it.
ensiform Posted December 4, 2014 Posted December 4, 2014 I know, I had a look but perhaps the released source code is ever so slightly outdated compared to what's in base JKA.Very highly unlikely.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now