Modme

New Modme platform coming soon!
Brutus Fight + Reward
Viewed 2694 time(s)
Topic created on 1490465032
Reply #15 on 1494100686
Modme User
50 wins

hmmm... check your KVPs. I believe it is something to do with a discrepancy between powerupstruct and powerup_struct. so either it's in script or you set a KVP wrong.


Reply #16 on 1494113566
Modme User
3 wins

Abnormal202

hmmm... check your KVPs. I believe it is something to do with a discrepancy between powerupstruct and powerup_struct. so either it's in script or you set a KVP wrong.

 I fixed a script error where a bracket was missing (I re-added the script again), but now this is what showing up in the mod tools launcher when I link the map:

^1}
^1^
^1ERR(6E) scripts/zm/zm_nightmare_bar.gsc (622,1)  : Compiler Internal Error :  Uninitialized local variable 'doors_parts'

 


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #17 on 1494172041
Modme User
50 wins

XxRaPiDK3LLERxX

Abnormal202 hmmm... check your KVPs. I believe it is something to do with a discrepancy between powerupstruct and powerup_struct. so either it's in script or you set a KVP wrong.  I fixed a script error where a bracket was missing (I re-added the script again), but now this is what showing up in the mod tools launcher when I link the map: ^1} ^1^ ^1ERR(6E) scripts/zm/zm_nightmare_bar.gsc (622,1) : Compiler Internal Error : Uninitialized local variable 'doors_parts'  

 well it should be defined in the line:

door_parts = GetEntArray("brutus_door","targetname");

is there a chance you didn't give anything the "brutus_door" targetname, but had "door" as one of the rewards anyway?


Reply #18 on 1494278549
Modme User
3 wins

Abnormal202

XxRaPiDK3LLERxX Abnormal202 hmmm... check your KVPs. I believe it is something to do with a discrepancy between powerupstruct and powerup_struct. so either it's in script or you set a KVP wrong.  I fixed a script error where a bracket was missing (I re-added the script again), but now this is what showing up in the mod tools launcher when I link the map: ^1} ^1^ ^1ERR(6E) scripts/zm/zm_nightmare_bar.gsc (622,1) : Compiler Internal Error : Uninitialized local variable 'doors_parts'    well it should be defined in the line: door_parts = GetEntArray("brutus_door","targetname"); is there a chance you didn't give anything the "brutus_door" targetname, but had "door" as one of the rewards anyway?

 Sorry for late reply.

I did give a door targetname of brutus_door but that was in the boss fight arena


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #19 on 1494367330
Modme User
50 wins

hmm... I'm sorry but I don't really know what to say. It's bizarre that you got all those different errors that no one else has gotten before, so it's probably something on your end, either you didn't install the script correctly, set your level vars correctly, or set KVPs correctly.


Reply #20 on 1494372156
Modme User
3 wins

Abnormal202

hmm... I'm sorry but I don't really know what to say. It's bizarre that you got all those different errors that no one else has gotten before, so it's probably something on your end, either you didn't install the script correctly, set your level vars correctly, or set KVPs correctly.

 I did try doing this on a newly created test map but it still says the same error, could do make a video tutorial? Perhaps there's some I'm just missing... This was supposed to be an EE for my map...

 

btw what do you mean by level vars?


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #21 on 1494376754
Modme User
50 wins

XxRaPiDK3LLERxX

Abnormal202 hmm... I'm sorry but I don't really know what to say. It's bizarre that you got all those different errors that no one else has gotten before, so it's probably something on your end, either you didn't install the script correctly, set your level vars correctly, or set KVPs correctly.  I did try doing this on a newly created test map but it still says the same error, could do make a video tutorial? Perhaps there's some I'm just missing... This was supposed to be an EE for my map...   btw what do you mean by level vars?

 by level vars I mean the code you can edit inside the script in your GSC. For example:

level.reward = "door"; //what happens when you kill all the Brutuses. Right now, options are: ("door","powerup","gun")

Reply #22 on 1495133857
Modme User
3 wins

Abnormal202

XxRaPiDK3LLERxX Abnormal202 hmm... I'm sorry but I don't really know what to say. It's bizarre that you got all those different errors that no one else has gotten before, so it's probably something on your end, either you didn't install the script correctly, set your level vars correctly, or set KVPs correctly.  I did try doing this on a newly created test map but it still says the same error, could do make a video tutorial? Perhaps there's some I'm just missing... This was supposed to be an EE for my map...   btw what do you mean by level vars?  by level vars I mean the code you can edit inside the script in your GSC. For example: level.reward = "door"; //what happens when you kill all the Brutuses. Right now, options are: ("door","powerup","gun")

 Hmm.... I've been trying for some time to fix this issue, but no luck.

Is it possible for you to copy the same code out from any of your map GSC and put it in a new post, just in case.

Thanks!


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #23 on 1495135900
Modme User
50 wins

I never had this in my own map's GSC, or if I did I must've deleted the map. All the code for that exists on this page. Sorry...


Reply #24 on 1495237099
Modme User
3 wins

Abnormal202

I never had this in my own map's GSC, or if I did I must've deleted the map. All the code for that exists on this page. Sorry...

 Don't worry, thanks for trying to help me.


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #25 on 1495412051
Modme User
3 wins

I would like to let you know, that this script in the link: http://aviacreations.com/modme/index.php?view=topic&tid=1108&page=1 worked for me (The last script you posted on the first page) I haven't tested it yet but it definitely has no scripting errors in the launcher.

 

EDIT: The script you posted in this topic is now working, there are some typos you did.


My Workshop Map: Nightmare Bar - The Bar Of Death [Halloween Edition] v1.1.2
Reply #26 on 1505311917
Modme User
1 wins

First thanks a lot for this script!

 

I am using it in 2 maps, the last one "Primis Challenge" and credits you and nate smith.

 

My issue is when you re using a death machine and sometimes for some reason I ignore, the door wont open. Do you know how I can fix this?

 

Thanks again.

Reply #27 on 1505333099
Modme User
50 wins

Symbo

First thanks a lot for this script!   I am using it in 2 maps, the last one "Primis Challenge" and credits you and nate smith.   My issue is when you re using a death machine and sometimes for some reason I ignore, the door wont open. Do you know how I can fix this?   Thanks again.

 Problems can arise if you kill Brutus too quickly, I.E, within a second or so. I can try to look in the script to see if there's a way around this, but as of right now if you kill him with the Death Machine right as he spawns, you might not get a reward.


Reply #28 on 1505467660
Modme User
1 wins

Thank you for your answer, I found a way around trough script: the doors are delete after a few minutes if the brutus_doors wont open.

 

 

Reply #29 on 1505963318
Modme User
1 wins

how would i make this reward a perkaholic