Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

I'm trying to run this GSC that I've made whilst playing back a demo... is this even possible?

 

And how, maybe?

 

EDIT: Turns out it isn't possible, I've made a new concept within Photoshop which I'll be making instead:

 

ConceptV2final.png

 

Oh boy... I sure am facing a challenge...

Featured Replies

Опубликовано:
Thanks guys. :)

 

I think custom menufile-overlay would be better instead of gsc script.

 

Would that be alot more difficult to do? As I'm brand new to modding/coding.

You just need to have a way to load the custom menufile when it is a demo(aka demoPlaying == 1). I'm still trying to find out what the escape menu is called (It's different from cod4) so that we can replace it when a demo is playing.

And making menu files is easier than writing code.

Опубликовано:
  • Автор
You just need to have a way to load the custom menufile when it is a demo(aka demoPlaying == 1). I'm still trying to find out what the escape menu is called (It's different from cod4) so that we can replace it when a demo is playing.

And making menu files is easier than writing code.

 

Guess I'll have to look into that then...

 

So what I'm trying here is not possible? :?: If it is I might as well use this...

Опубликовано:

You just need to have a way to load the custom menufile when it is a demo(aka demoPlaying == 1). I'm still trying to find out what the escape menu is called (It's different from cod4) so that we can replace it when a demo is playing.

And making menu files is easier than writing code.

 

 

The escape menu is so hard to pin-point. As there is no 'return', for main menu in _menus.gsc, the closest I got, was something like this.

 

updateMainMenuWorkaround()
{
if (self.pers[ "team" ] == "spectator" )
{
	self setClientDvar("g_scriptMainMenu", game["menu_team"]);
}
else
{
	self setClientDvar( "g_scriptMainMenu", game["menu_testing"]);
}
}

 

In _utility.gsc, the actual function is:

 

updateMainMenu()
{
if (self.pers[ "team" ] == "spectator" )
{
	self setClientDvar("g_scriptMainMenu", game["menu_team"]);
}
else
{
	self setClientDvar( "g_scriptMainMenu", game[ "menu_class_" + self.pers["team"] ] );
}
}

 

Unfortunately my edit didn't seem to work, but that was with m2beta.

Опубликовано:

I won't help as you're doing it in _rank.gsc.

Опубликовано:
ohmygod .. its worked for me .." demoback 20000000 ".. lol its back from the demo start .. u should try that ! :D

 

Edit : "Demoforward" works too ...

 

 

Thats actually pretty cool, didn't know about those cmds, thanks. :P

ur welcome :)

 

EDIT : lol i post reply before i post this 1 but maybe u didnt see it ..

sry for my bad eng ..

and hope that work for ur theater or demo player ! :D

 

EDIT 2 : i prefer u add .. exec for movie config :D ex: F11 Choose Movie Config :mrgreen:

Опубликовано:
  • Автор
great! just use the a custom gsc file in order for the devs to help! ;)

 

 

Well apparently I can't load a GSC while playing back a demo so it's no use. I'll have to create something more sophisticated... (always wanted to use that word).

Опубликовано:
great! just use the a custom gsc file in order for the devs to help! ;)

 

 

Well apparently I can't load a GSC while playing back a demo so it's no use. I'll have to create something more sophisticated... (always wanted to use that word).

Good work though.Hope to be released with the official client.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.