addhook("walkover","norpg",1) or addhook("walkover","norpg",2) should do the job. if not try even higher values.
Forum
CS2D General New version suppliesaddhook("walkover","norpg",1) or addhook("walkover","norpg",2) should do the job. if not try even higher values.
DC hat geschrieben
increase the priority of the hook.
addhook("walkover","norpg",1) or addhook("walkover","norpg",2) should do the job. if not try even higher values.
addhook("walkover","norpg",1) or addhook("walkover","norpg",2) should do the job. if not try even higher values.
Ooops. Forgot about the priority. Thanks, DC, that fixed it.
Still, I hope you will consider a setting for which items are added when upgraded, in the next version.
so mabye next version change to light armour + flamethrower?
or make it so super supply supplies 2 items instead of 1 e.g m4a1 + kevlar
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("objectdamage", "no_supply_upgrade") function no_supply_upgrade (id,damage,player) 	if ( damage < 0 and object(id,"typename") == "supply" ) then 		return 1 	end end
Notice that your supply is NOT repairable if you use this lua code.
Skipper hat geschrieben
Notice that your supply is NOT repairable if you use this lua code.
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("objectdamage", "no_supply_upgrade") function no_supply_upgrade (id,damage,player) 	if ( damage < 0 and object(id,"typename") == "supply" ) then 		return 1 	end end
Notice that your supply is NOT repairable if you use this lua code.
i can improve script so you can repair it.
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("objectdamage", "no_supply_upgrade") function no_supply_upgrade (id,damage,player) 	if ( damage < 0 and object(id,"typename") == "supply" and object(id,"health")>99) then 		return 1 	end end
One of my friends tell-me that he doesn't like it and I was said: a rocket launcher would be good. but he said: no. grenade launcher would be.
hmmm... if u cannot change it for a grenade launcher at least u can change for rocket launcher isn't it?
nreal Software.de ROCKS!
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("objectdamage", "no_supply_upgrade") function no_supply_upgrade (id,damage,player) 	if ( damage < 0 and object(id,"typename") == "supply" and object(id,"health")>99) then 		return 1 	end end
There should definitely be a way to turn it off(easily) because con will become a hero game, which is liked only by a few players
btw. thanks for keeping this game alive, stay active man!
Anyway, a big reason for players using rpg's so often is because it's new and it's interesting. As soon as they get used to the super supply, they'll stop over-using them.
But I think cs2d needs an upgradeable obstacle .
to extra items for supply (grenades is molotov coctail or gas, sniper rifles is scout...)