Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: OrderAndDEATH
I want to change the window repair so it will give you more then just 10 points when you repair them. Is it possible?
ModmeBot:
Reply By: Symbo
OrderAndDEATH
I want to change the window repair so it will give you more then just 10 points when you repair them. Is it possible?
ModmeBot:
Reply By: mathfag
In the beginning of the function blocker_trigger_think the cost is defined and it seems you can define the cost as a kvp on the window prefab (or struct inside) like with doors.
so kvp = zombie_cost
value = 1000
but I'm not sure. Havn't tried it.
ModmeBot:
Reply By: OrderAndDEATH
mathfag
In the beginning of the function blocker_trigger_think the cost is defined and it seems you can define the cost as a kvp on the window prefab (or struct inside) like with doors. so kvp = zombie_cost value = 1000 cost = 10; if( isdefined( self.zombie_cost ) ) { cost = self.zombie_cost; } but I'm not sure. Havn't tried it.
ModmeBot:
Reply By: mathfag
OrderAndDEATH
mathfag In the beginning of the function blocker_trigger_think the cost is defined and it seems you can define the cost as a kvp on the window prefab (or struct inside) like with doors. so kvp = zombie_cost value = 1000 cost = 10; if( isdefined( self.zombie_cost ) ) { cost = self.zombie_cost; } but I'm not sure. Havn't tried it. It works to an extent, I tried it but Won't give me points since you already reach the barrier point limit, is there a way to remove that?
ModmeBot:
Reply By: OrderAndDEATH
mathfag
OrderAndDEATH mathfag In the beginning of the function blocker_trigger_think the cost is defined and it seems you can define the cost as a kvp on the window prefab (or struct inside) like with doors. so kvp = zombie_cost value = 1000 cost = 10; if( isdefined( self.zombie_cost ) ) { cost = self.zombie_cost; } but I'm not sure. Havn't tried it. It works to an extent, I tried it but Won't give me points since you already reach the barrier point limit, is there a way to remove that? level.zombie_vars["rebuild_barrier_cap_per_round"] = 10000; is how many points you can get per round from rebuilding. _zm.gsc line 4374 so in your function main add zombie_utility::set_zombie_var( "rebuild_barrier_cap_per_round", max_points);
ModmeBot:
Reply By: ihmiskeho
OrderAndDEATH
mathfag OrderAndDEATH mathfag In the beginning of the function blocker_trigger_think the cost is defined and it seems you can define the cost as a kvp on the window prefab (or struct inside) like with doors. so kvp = zombie_cost value = 1000 cost = 10; if( isdefined( self.zombie_cost ) ) { cost = self.zombie_cost; } but I'm not sure. Havn't tried it. It works to an extent, I tried it but Won't give me points since you already reach the barrier point limit, is there a way to remove that? level.zombie_vars["rebuild_barrier_cap_per_round"] = 10000; is how many points you can get per round from rebuilding. _zm.gsc line 4374 so in your function main add zombie_utility::set_zombie_var( "rebuild_barrier_cap_per_round", max_points); When I put the line of code into my function main it says that " max_points " is a uninitialized local variable, am I missing something?