Forum

> > CS2D > Scripts > How can i change weapon names?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How can i change weapon names?

9 replies
To the start Previous 1 Next To the start

old Re: How can i change weapon names?

EpicCrisis
User Off Offline

Quote
I think someone in the ideas section told something about weapon name changing. Dc might implement it in the next update but for now you can't change weapons name.

old Re: How can i change weapon names?

TimeQuesT
User Off Offline

Quote
It's not legal, but I'm sure DC doesn't cares if someone change some ingame-strings...

It's pretty easy to change if you want to know how, contact me...

old Re: How can i change weapon names?

DC
Admin On Online

Quote
It's not allowed to manipulate the exe file or the in-game memory (which is the only way to change the strings). However this is forbidden because it can be used to get certain advantages (cheating). Changing the weapon names doesn't give you any advantages so I don't really care.

It's still officially impossible. The game does not support custom weapon names.

old Re: How can i change weapon names?

Avo
User Off Offline

Quote
Yes, it's not allowed, but if want just to change name of kill info you can use just a customkill command.
1
2
3
4
5
6
7
8
9
10
11
names={["1"]="USP Tactical",["2"]="G18",["3"]=Desert Eagle,["40"]="LSW L86"}
addhook("hit","_hit")
function _hit(id,source,weapon,hpdmg)
	if player(id,"health")-hpdmg<=0 then
		wpn=tostring(weapon)
		nm=names[wpn]
		if nm==nil then nm=item(weapon,"name") end
		parse('customkill '..source..' "'..nm..'" '..id..'')
		return 1
	end
end
*EDITED*
edited 1×, last 16.06.12 05:08:26 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview