Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 12:24:47] <[Evo]Forboding_Angel> I'm getting these types of errors in infolog in 87
- [12:24:52] <[Evo]Forboding_Angel> [f=0000000] Failed to load: lups_shockwaves.lua ([string "LuaRules/Gadgets/lups_shockwaves.lua"]:22: ERROR_TYPE in WeaponDefs __index)
- [12:25:10] <[Evo]Forboding_Angel> Is that caused by using rendertype instead of weapontype tag in the weapon?
- [12:28:27] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
- [12:28:33] ** nixtux_lostpassword joined the channel.
- [12:28:43] <[LCC]jK> https://github.com/spring/spring/blob/develop/doc/changelog.txt#L8
- [12:29:09] <[Evo]Forboding_Angel> !!!!!
- [12:29:13] <[Evo]Forboding_Angel> and replace with what???
- [12:29:51] <[Evo]Forboding_Angel> You're saying that those tags were removed???
- [12:32:08] <[Evo]Forboding_Angel> please respond?
- [12:33:04] <[LCC]jK> https://github.com/spring/spring/blob/develop/rts/Lua/LuaWeaponDefs.cpp#L478
- [12:33:34] <[Evo]Forboding_Angel> so it was split into two tags?
- [12:33:54] <[Evo]Forboding_Angel> And you guys didn't mark that in the changelog... Might I ask why?
- [12:34:17] <[LCC]jK> blame kloot
- [12:34:21] <[Evo]Forboding_Angel> That is a huge deal, but the only mention it gets is:
- [12:34:22] <[Evo]Forboding_Angel> remove the following Lua consts: wdef[id].areaOfEffect, wdef[id].maxVelocity & wdef[id].onlyTargetCategories
- [12:34:24] <[Evo]Forboding_Angel> Arugh
- [12:34:26] <[Evo]Forboding_Angel> ok nuff said
- [12:34:39] <[Evo]Forboding_Angel> so were all those tags basically split?
- [12:34:45] <[Evo]Forboding_Angel> into multiples?
- [12:35:05] <[LCC]jK> no, 2nd is replaced and 3rd is removed as a whole
- [12:35:57] <[Evo]Forboding_Angel> pardon my frustration, but I do not understand
- [12:36:25] <[Evo]Forboding_Angel> what has maxvelocity changed to?
- [12:36:42] <[Evo]Forboding_Angel> and why would only target categories be removed?
- [12:36:43] <[LCC]jK> it always was projectilespeed * GAME_SPEED
- [12:37:03] <[Evo]Forboding_Angel> ok so projectilespeed, rgr
- [12:37:15] <[Evo]Forboding_Angel> but why onlytargetcategories???
- [12:37:21] <[Evo]Forboding_Angel> << Extremely frustrated
- [12:37:27] <[LCC]jK> and there were 2 otc, unit & weapon one, weapon one was only used for aironly weapons
- [12:37:37] <[LCC]jK> I am frustrated too
- [12:37:52] <[Evo]Forboding_Angel> so wait
- [12:38:01] <[Evo]Forboding_Angel> I have units that can't shoot other units
- [12:38:02] <[Evo]Forboding_Angel> on the ground
- [12:38:07] <[Evo]Forboding_Angel> wtf am I supposed to do now?
- [12:38:16] <[LCC]jK> use unit one?
- [12:38:33] <[Evo]Forboding_Angel> unit one?
- [12:38:42] <[Evo]Forboding_Angel> oh you mean
- [12:38:51] <[Evo]Forboding_Angel> unit onlytargetcategory
- [12:39:09] <[Evo]Forboding_Angel> well taht's fricking stupid though! That's an entire unit rule instead of a per eapon rule!
- [12:39:20] ** [V]sheep left the channel( Quit ).
- [12:39:26] <[LCC]jK> it's not stupid
- [12:39:49] <[Evo]Forboding_Angel> what if I have unit with 2 weapons
- [12:39:54] <[Evo]Forboding_Angel> one that shoots only air
- [12:39:58] <[LCC]jK> this is the only change of those 3 that makes sense
- [12:39:58] <[Evo]Forboding_Angel> and one that shoots only ground
- [12:40:14] <[LCC]jK> check your unitdef rules
- [12:40:21] <[LCC]jK> and where it defines otc
- [12:41:06] <[Evo]Forboding_Angel> so wait, I now have to jump through 5 hoops to do what I could do before with just one
- [12:41:11] <[Evo]Forboding_Angel> great.
- [12:41:23] <[Evo]Forboding_Angel> otc should be in weapondefs, not unitdefs
- [12:41:25] <[LCC]jK> o_O
- [12:41:25] <[Evo]Forboding_Angel> imo
- [12:41:43] <[Evo]Forboding_Angel> now to do what I mentioned above
- [12:41:50] <[Evo]Forboding_Angel> oi
- [12:41:57] <[LCC]jK> [09:40:15] <[LCC]jK> check your unitdef rules
- [12:41:57] <[LCC]jK> [09:40:21] <[LCC]jK> and where it defines otc
- [12:42:06] <[LCC]jK> your complains are not valid
- [12:42:39] <[Evo]Forboding_Angel> I disagree, and I would be willing to be that smoth would agree with me. It's removing flexibility
- [12:42:51] <[Evo]Forboding_Angel> -be +bet
- [12:43:03] <[Evo]Forboding_Angel> Thank you for explaining this to me btw
- [12:43:21] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
- [12:43:26] ** nixtux_lostpassword joined the channel.
- [12:43:30] <[Evo]Forboding_Angel> Nice that kloot basically fucked everyone over without a reacharound
- [12:43:33] <[Evo]Forboding_Angel> that was nice of him
- [12:44:03] <[LCC]jK> YOU NEVER EVER WAS ABLE TO WRITE TO THE WEAPONDEF ONE!
- [12:44:39] <[LCC]jK> IT WAS _ONLY_ USED FOR TOAIR_ONLY WEAPONS
- [12:45:26] <[LCC]jK> and that's a stupid TA-ism crap (handling a special case, that is already handled somewhere else)
- [12:46:06] <[LCC]jK> as said it is the only change of those 3 that makes sense
- [12:46:08] <[Evo]Forboding_Angel> I didn't know that
- [12:46:12] <[Evo]Forboding_Angel> thanks for the info
- [12:46:20] <[Evo]Forboding_Angel> but wait
- [12:46:31] <[Evo]Forboding_Angel> well nm
- [12:46:44] <[Evo]Forboding_Angel> nm screwit. Okiedoke
- [12:46:52] <[LCC]jK> :)
- [12:47:04] <[Evo]Forboding_Angel> I will upadte wiki
- [12:47:30] <[Evo]Forboding_Angel> is the crater tag necessary?
- [12:47:38] <[Evo]Forboding_Angel> or does it default to the new aoetag?
- [12:47:56] <[Evo]Forboding_Angel> damageAreaOfEffect
- [12:48:08] <[LCC]jK> that's in the changelog of 85
- [12:48:58] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
- [12:49:24] <[Evo]Forboding_Angel> areaofeffect is now damageAreaOfEffect correct?
- [12:49:59] ** nixtux_lostpassword joined the channel.
- [12:50:03] <[LCC]jK> yup
- [12:51:21] <[LCC]jK> but only as output https://github.com/spring/spring/blob/develop/rts/Sim/Weapons/WeaponDefHandler.cpp#L166
- [12:51:47] <[LCC]jK> as said this is the part that doesn't make sense
- [12:54:11] <[Evo]Forboding_Angel> so what do i change in the weapondefs?
- [12:54:32] <[Evo]Forboding_Angel> I am so confused
- [12:55:23] <[LCC]jK> weapondefs got a new tag craterAreaOfEffect that defaults to areaofeffect
- [12:57:33] <[Evo]Forboding_Angel> ok
- [12:57:43] <[Evo]Forboding_Angel> so why is infolog bitching about error type?
- [12:58:06] <[Evo]Forboding_Angel> is that referring to use of rendertype instead of weapontype?
- [13:00:08] ** _koshi_ joined the channel.
- [13:00:21] ** _koshi_ left the channel( Quit: Exiting ).
- [13:01:46] <[LCC]jK> cause you use areaofeffect
- [13:02:46] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
- [13:03:50] ** nixtux_lostpassword joined the channel.
- [13:04:10] ** [LCC]jK left the channel( Ghosted ).
- [13:04:11] ** [LCC]jK joined the channel.
- [13:07:02] <[Evo]Forboding_Angel> but
- [13:07:11] <[Evo]Forboding_Angel> you said it only change the name for output?
- [13:07:58] <[LCC]jK> yup
- [13:09:07] <[Evo]Forboding_Angel> so I need to change all areaofeffect to damageAreaOfEffect yes?
- [13:10:16] <[LCC]jK> ... it is inconsistent, but not that complicated ...
- [13:11:02] <[LCC]jK> in LUA SCRIPTS areaofeffect was replaced with damageAreaOfEffect, in your WEAPONDEFs you still use aoe
- [13:11:23] <[Evo]Forboding_Angel> oh my fucking god
- [13:11:31] <[Evo]Forboding_Angel> now I understand
- [13:11:41] <[Evo]Forboding_Angel> wtf kind of dick move is that supposed to be?
- [13:12:26] <[LCC]jK> blame kloot
- [13:13:59] <[Evo]Forboding_Angel> can't fine "areaofeffect" in lups flamejitter
- [13:14:55] <[LCC]jK> shockwave
- [13:15:08] <[LCC]jK> not flamejitter
- [13:15:31] <[Evo]Forboding_Angel> oh
- [13:17:00] ** nixtux_lostpassword left the channel( Quit: IRC connection timeout ).
- [13:17:05] ** nixtux_lostpassword joined the channel.
- [13:18:05] <[Evo]Forboding_Angel> Once again, thanks for the help... gonna test this out
- [13:20:27] <[Evo]Forboding_Angel> It's still throwing errors like crazy
- [13:20:34] <[Evo]Forboding_Angel> same error
- [13:20:49] <[LCC]jK> it tells you the file and line
- [13:21:50] <[Evo]Forboding_Angel> local ballisticRange = weaponDef.maxVelocity * weaponDef.maxVelocity / gravity
- [13:21:53] <[Evo]Forboding_Angel> ahh
- [13:21:56] <[Evo]Forboding_Angel> projectilespeed
- [13:22:02] <[Evo]Forboding_Angel> what a fucking prick
- [13:22:09] <[Evo]Forboding_Angel> what that entirely fuckign necessary?
- [13:22:17] <[Evo]Forboding_Angel> asshole >:(
- [13:24:09] <[Evo]Forboding_Angel> I don't get it
- [13:24:26] <[Evo]Forboding_Angel> does that mean taht maxvelocity in weapondefs needs to be changed to projectilespeed?
- [13:24:44] <nixtux_lostpassword> No
- [13:25:20] <[Evo]Forboding_Angel> nope
- [13:25:26] <[Evo]Forboding_Angel> yeah jsut tested
- [13:25:28] <[Evo]Forboding_Angel> what the fuck?
- [13:25:34] <[Evo]Forboding_Angel> that doesn't even make sense!
- [13:25:50] <[Evo]Forboding_Angel> So in lua
- [13:25:58] <[Evo]Forboding_Angel> instead of weaponDef.maxVelocity
- [13:26:01] <[Evo]Forboding_Angel> you ahve to use weaponDef.projectilespeed
- [13:26:08] <[Evo]Forboding_Angel> which makes no sense at all!
- [13:26:19] <[Evo]Forboding_Angel> how are these changes not outright reverted?
- [13:26:41] <[LCC]jK> weaponDef.projectilespeed / Game.gameSpeed
- [13:27:10] <[LCC]jK> I reverted them for 85.0 and kloot raged that the would leave spring
- [13:27:26] <[LCC]jK> and since that he didn't joined a single meeting
- [13:27:31] <[Evo]Forboding_Angel> ... ffs this isn't frigging wikipedia...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement