Forum

> > Off Topic > CS2D idea that would fix weapon naming
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch CS2D idea that would fix weapon naming

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt CS2D idea that would fix weapon naming

Majatek
User Off Offline

Zitieren
We all know how the internal resources of CS2D are non-moddable (unless you sup3r 1337 h4x, which really is against the rules and makes DC unhappy - at least I think so), but I had a recent idea. It was spawned from messing around with some Java scripts.

How about CS2D, which uses internally-stored strings to use as text on the screen in game play, loads a text file that holds all of the string/names used in the game? This would be used as what many would know as a "language file".

The internal structure is just a list of strings, such as:
Mehr >
(etc)

If no language file is found, then the strings that are already hardcoded into the game will not be replaced on run-time (easy changeable string pointers - I know it can be done in code, and written into the game within 5-10 minutes)
If however there is a language file, it will replace (client sided of course) all of the strings within the executable, with the strings from the language file in consecutive order.

This would solve these problems:
+People of foreign languages would not be limited to English as a language
+Modders would be able to change resource names for in-game texts without editing the code of the game

alt Re: CS2D idea that would fix weapon naming

StirlizZ-Fapicon
Super User Off Offline

Zitieren
DC make strange noise, when I`m suggest that.
Noise was look like "...n-m-n-m-n it`s too long and hard n-m-n-m-n..."


But I +1 to this idea again

(added 5 mins later)
No, It`s not same as my idea - I suggested add new languages, but you suggest just use 1 moddable language file.

+1!

alt Re: CS2D idea that would fix weapon naming

J4x
User Off Offline

Zitieren
I was thinking in something like changeable weapon names via console commands, like
1
sv_weaponname "id" "name"

1
mp_weaponname "id" "name"
Imo it would be simple and better tha a txt file
1× editiert, zuletzt 12.06.11 18:42:59

alt Re: CS2D idea that would fix weapon naming

Majatek
User Off Offline

Zitieren
user J4x hat geschrieben
I was thinking in something like changeable weapon names via console commands, like
1
sv_weaponname "id" "name"

1
mp_weaponname "id" "name"
Imo it would be simple and better tha a txt file

That would be alright, but each time you start CS2D up again, you'd need to enter the command again.

alt Re: CS2D idea that would fix weapon naming

Yates
Reviewer Off Offline

Zitieren
user Majatek hat geschrieben
user J4x hat geschrieben
I was thinking in something like changeable weapon names via console commands, like
1
sv_weaponname "id" "name"

1
mp_weaponname "id" "name"
Imo it would be simple and better tha a txt file

That would be alright, but each time you start CS2D up again, you'd need to enter the command again.

A matter of copy and paste.

mp (Or whatever you will use)_weaponname 1 Gaypistol; mp_weaponname 2 Anothergaypistol; etc.
But, I like your idea more.

user StirlizZ-Fapicon hat geschrieben
"...n-m-n-m-n it`s too long and hard n-m-n-m-n..."

omnomnomn? Lol.
1× editiert, zuletzt 12.06.11 19:05:33

alt Re: CS2D idea that would fix weapon naming

Majatek
User Off Offline

Zitieren
user RAVENOUS hat geschrieben
And what does that have to do in "Off-topic"?

I checked the rules, and that is where DC requested me to post this.
And so I did.

If you want to ask why that is like so, go ask him not me.
Besides - Isn't it rather off-topic compared to other things? I mean... It's rather obvious. Oh, and if you're going to go and start larking on about forum rules and where things should be posted, just stop. You're not a moderator.
There's moderators that take care of that.
And in fact, read the rules while you're at it, because it clearly states that "spam/offtopic/closes" posts are counted as spam.
Just thought you aught to know

user Alistaire hat geschrieben
You could also use the Mp_weaponname stuff in a script, just like you can do with Mp_buildinglimit

But if that method is used, and someone who is new to coding ends up screwing up a piece of code to be run at the beginning of the game will cause errors.
My "language file" way is the safest possible option in the form that it doesn't actually parse or run any script, only replacing strings with other strings to be displayed during run time.
3× editiert, zuletzt 12.06.11 19:44:51

alt Re: CS2D idea that would fix weapon naming

KimKat
GAME BANNED Off Offline

Zitieren
I'd love dynamic temporary value changes of weaponry, indeed. This would bring the possibility to create different type of mods, such as WW2 mods using WW2 weapons just as a example. I am for the idea.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht