Doominick Posted April 17, 2021 Hey Doomworld Doominck here I'm currently coding Tord Larsson from Eddsworld and I was wondering am I coding him right or not cus I really want to make a proper NPC cus I really don't know if I'm doing the coding right? 0 Quote Share this post Link to post
MFG38 Posted April 17, 2021 Your Obituary line (line 33) is missing a quotation mark at the end. 0 Quote Share this post Link to post
Doominick Posted April 17, 2021 1 minute ago, MFG38 said: Your Obituary line (line 33) is missing a quotation mark at the end. AAAA really is that how the text thing works? 0 Quote Share this post Link to post
MFG38 Posted April 17, 2021 25 minutes ago, Doominick said: AAAA really is that how the text thing works? Yes. All string properties have to be enclosed in a pair of quotation marks, otherwise the port will error out. Now that I'm looking at the code more closely, I have no idea what you're trying to do with the "#include" on line 1 - while that directive does work in DECORATE, you're using it incorrectly in this case. It's generally used for specifying additional DECORATE lumps for the port to parse, and judging by the rest of the code, that's not what you're doing here. Replace that with "actor". Also, the Speed and FastSpeed properties can probably be truncated. I'd imagine that the commas cause the port to error out - they should be replaced with periods (.) at the very least. Really, though, the zeroes are just redundant and should be done away with entirely. 1 Quote Share this post Link to post
Doominick Posted April 17, 2021 42 minutes ago, MFG38 said: 4 minutes ago, MFG38 said: Yes. All string properties have to be enclosed in a pair of quotation marks, otherwise the port will error out. Now that I'm looking at the code more closely, I have no idea what you're trying to do with the "#include" on line 1 - while that directive does work in DECORATE, you're using it incorrectly in this case. It's generally used for specifying additional DECORATE lumps for the port to parse, and judging by the rest of the code, that's not what you're doing here. Replace that with "actor". Also, the Speed and FastSpeed properties can probably be truncated. I'd imagine that the commas cause the port to error out - they should be replaced with periods (.) at the very least. Really, though, the zeroes are just redundant and should be done away with entirely. Mhmm mhmm whatelse 0 Quote Share this post Link to post
Doominick Posted April 18, 2021 19 hours ago, MFG38 said: Yes. All string properties have to be enclosed in a pair of quotation marks, otherwise the port will error out. Now that I'm looking at the code more closely, I have no idea what you're trying to do with the "#include" on line 1 - while that directive does work in DECORATE, you're using it incorrectly in this case. It's generally used for specifying additional DECORATE lumps for the port to parse, and judging by the rest of the code, that's not what you're doing here. Replace that with "actor". Also, the Speed and FastSpeed properties can probably be truncated. I'd imagine that the commas cause the port to error out - they should be replaced with periods (.) at the very least. Really, though, the zeroes are just redundant and should be done away with entirely. 0 Quote Share this post Link to post
MFG38 Posted April 18, 2021 Looking a lot better now. The SOLID and SHOOTABLE flags are redundant, though, as they're automatically set by the Monster flag combo. You can safely remove them. Also, are you sure you want the monster to move at the speed of light? 0 Quote Share this post Link to post
Doominick Posted April 18, 2021 19 minutes ago, MFG38 said: Looking a lot better now. The SOLID and SHOOTABLE flags are redundant, though, as they're automatically set by the Monster flag combo. You can safely remove them. Also, are you sure you want the monster to move at the speed of light? Yes 0 Quote Share this post Link to post
MFG38 Posted April 18, 2021 Well, I'm not one to stop you in that case. I am curious now as to what a speed of 5000 looks in-engine, though. For comparison, the speed of an Imp fireball is 10, FYI. 1 Quote Share this post Link to post
Doominick Posted April 18, 2021 8 minutes ago, MFG38 said: Well, I'm not one to stop you in that case. I am curious now as to what a speed of 5000 looks in-engine, though. For comparison, the speed of an Imp fireball is 10, FYI. Oh alrighty then I just want to Tord move like hes in mutiplayer 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.