phasmatis6 Posted June 3, 2008 Share Posted June 3, 2008 I doubt this is possible at all, but I figured it was worth asking. Is there any way to read arbitrary key/value pairs from the bsp, in the vm code? For example, I'd like to be able to add extra options to FUNC_BREAKABLE entites. Link to comment Share on other sites More sharing options...
DarthDie Posted June 3, 2008 Share Posted June 3, 2008 Well you can add extra options to func_breakable's in g_mover.c function SP_func_breakable. Link to comment Share on other sites More sharing options...
phasmatis6 Posted June 3, 2008 Author Share Posted June 3, 2008 Aha! Thanks much, that's exactly what I'm looking for. Hmm... Seems like the game only reads spawnVars when the objects are being loaded? Link to comment Share on other sites More sharing options...
razorace Posted June 3, 2008 Share Posted June 3, 2008 Yeah, basically. What are you trying to add? Link to comment Share on other sites More sharing options...
phasmatis6 Posted June 3, 2008 Author Share Posted June 3, 2008 I'm trying to do something with the physics system, maybe make force push able to push things through a func_breakable, depending on how "breakable" the object is. Link to comment Share on other sites More sharing options...
Maxstate Posted June 3, 2008 Share Posted June 3, 2008 That sounds pretty awesome. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.