Commit Graph

46 Commits

Author SHA1 Message Date
Edo
ac90714811
[General]: Use std::format more often (#635) 2022-12-11 17:54:24 +00:00
FutureRave
4a677c5d08
[ScriptStorage]: Allow users to load the storage file 2022-11-25 18:33:53 +00:00
FutureRave
b7e6662e6b
got -> itr 2022-10-14 22:56:09 +01:00
Diavolo
c2f4c30a5f
[ClientCommand] Add entity dump function 2022-09-01 16:54:28 +02:00
Edo
a3776f34c7
[ClientCommand] Make kill always avaiable (with cheats on) (#451)
* [ClientCommand] Make kill always avaiable (with cheats on)

* Update ClientCommand.cpp
2022-08-22 19:46:47 +02:00
Edo
ba34f1ea7c
[Vote] Add vote/callvote (#447) 2022-08-21 18:52:54 +02:00
Diavolo
d67e6ce686
[General] Reduce usage of dvar lookup func 2022-08-10 23:03:26 +02:00
Diavolo
725c08afeb
[Script] Remove builtin God, demigod, notarget 2022-07-24 01:08:01 +02:00
Diavolo
13d1c23b99
[Script] *Update* 2022-07-23 23:22:58 +02:00
Diavolo
da61ab42ec
Fix some justified warnings & more 2022-07-21 18:56:16 +02:00
Louve
617d9ad654
Prefix custom GSC functions with "iw4x_" (#362)
* Prefix custom GSC functions with a "iw4x_" client prefix to preserve older mods & for better backward & forward compatibility

* Prefix bot GSC functions too

* Updated comments

* Undo formatting

* Affect functions aswell

* Add deprecation warnings & auto upgrade of function names for botwarfare needs

* add iw4x_prefix

* Addressed review

* ADdress review²

* Remove choice to add clientprefix or not

* Fixes & follow some of laupetin's suggestions

* Fixe copy paste

* use constexpr const char*

* Update message

Co-authored-by: Louvenarde <louve@louve.systems>
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
Co-authored-by: rackover <roxanne@thegamebakers.com>
2022-07-18 13:01:29 +02:00
Edo
491d4d3ac3
[ClanTag] Add back component + extras (#357)
* [ClanTags] Add back component
2022-07-16 23:24:26 +02:00
Diavolo
60f7c7c254
[Script] Re-work stuff (no hidden changes)
*maybe* (Based on a true story and events)
2022-07-06 17:48:40 +02:00
Diavolo
da034bd825
[Logger] Fix source location
Only make it display if correct macro is defined
2022-06-22 10:58:51 +02:00
Edo
1ba9db613d
[ClientCommands] Make give a non-dev command (#315)
As requested by Dss0
2022-06-20 11:06:30 +02:00
Edo
020201ab1f
[Logger] Use c++20 format 2022-06-12 23:07:53 +02:00
Diavolo
0ebc3a8224 Merge remote-tracking branch 'origin/develop' into scheduler 2022-06-05 12:23:55 +02:00
Edo
558bf09338
[ClientCommand] Add give command
Just for weapons for now
2022-06-04 19:59:52 +02:00
Diavolo
b072815407 99% non-plagiarised kill command implementation 2022-06-04 14:06:30 +02:00
Diavolo
cb2346b478
[Chat] add dvar to disable chat 2022-05-31 17:57:44 +02:00
FutureRave
8d31466fc5
[Script] GScr_IsArray 2022-05-04 12:44:45 +01:00
Diavolo
0098359b93
Add level struct for simpler referencing 2022-04-15 12:16:12 +02:00
Diavolo
f9c40233d1
Add client dev commands & more 2022-04-12 14:34:51 +02:00
Diavolo
85168bb94c
Merge branch 'refactor-scripts-stuff' into scr-method-function 2022-04-09 14:04:23 +02:00
Edo
2d139ac435
Merge branch 'develop' into refactor-scripts-stuff 2022-04-07 16:47:56 +02:00
Edo
722b673100
Merge branch 'develop' into default-constructor 2022-03-20 11:25:17 +00:00
FutureRave
a41d7356cc
Refactor command (changes from s1x) 2022-03-17 18:50:20 +00:00
FutureRave
809e66cdb1
Remove unnecessary deconstructors 2022-03-16 00:44:59 +00:00
FutureRave
0068b76d98
Fix a typo in stub & clean-up some things 2022-03-15 22:49:58 +00:00
FutureRave
27ca63bf65
Resolve conflict 2022-02-27 13:43:18 +00:00
FutureRave
c54981c6df
ISO Core guidelines 2022-02-27 12:53:44 +00:00
FutureRave
a79c311ad9
Merge branch 'refactor-scripts-stuff' into scr-method-function 2022-02-25 12:29:23 +00:00
FutureRave
967642c6d1
Fix God command 2022-02-25 12:20:34 +00:00
FutureRave
20d0337880
Use getentity and getplayerentity game functions 2022-02-25 12:17:57 +00:00
FutureRave
857cc9f415
Differentiate between functions and methods (GSC) 2022-02-23 11:38:37 +00:00
Edo
ac66040452
Merge branch 'develop' into refactor-scripts-stuff 2022-02-01 15:25:54 +01:00
Diavolo
e014dd9a2a
Rename a few things to help bring more consistency 2022-02-01 13:29:27 +01:00
FutureRave
cfc540991c
Address some parts of review 2022-01-23 19:32:20 +00:00
FutureRave
5c34e55552
Fix some inconsistencies in my code 2022-01-18 00:21:25 +00:00
FutureRave
5d26af4a28
Refactor script param checking behaviour 2022-01-16 13:45:18 +00:00
FutureRave
4fbe9ffc27
Fix error message 2022-01-11 18:53:20 +00:00
FutureRave
9a100a309c
Fix logic error 2022-01-10 12:12:56 +00:00
FutureRave
b6ae4bfe87
Restore setviewpos command as it should be 2022-01-10 12:04:39 +00:00
Diavolo
77c2043006
Refactor script related funcs/modules 2022-01-07 22:00:44 +01:00
FutureRave
62bca7f3b2
read ent num from struct as Matrix suggested 2021-12-09 17:49:47 +00:00
FutureRave
86f0242a3d
Reimplement clientcommand like in debug builds 2021-12-09 12:01:37 +00:00