UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rex109

Hello people, i've dived into BO3 modding a while ago and i couldn't get my lights to work properly. I've modded alot of stuff on COD4 and i'm currently using alot of new-gen engines like Unreal Engine 4 for arch viz and Unity too. The main problem is this:
If i make a closed room even on a new fresh map my sun light exposure just increases for no reason at all, i've tried putting reflection probes it partially fixes the problem, for example if i put a reflection probe inside that closed room, and my camera touches it my sun exposure just increases and if i go outside it decreases and it's just unrealistic cuz it's not eye adaptation but the sun light that just go crazy. Do someone has some idea? Thanks in advance.

Examples:

Sun and skybox too bright (Inside a reflection probe)


Sun and skybox too bright(Outside a reflection probe)


Sun and skybox fixed (Inside a reflection probe)
5 years ago
Have you checked this page?:
https://confluence.ugx-mods.com/display/UGXMODS/Scripting+Guide

This is a wiki for making cod mods

No, don't worry 'bout that, i know how to script, i wasn't sure about the &&1 thingy.

Btw, i found something about localized string, BUT as you can see from this line of code it refers to a numeric value that is dynamic and changes every second.

Code Snippet
Plaintext
    self endon("secret_done");
    if(isdefined(self.secretTimer))
    self.secretTimer destroy();
    self.secretTimer=newclienthudelem(self);
    self.secretTimer.foreground = true;
    self.secretTimer.alignX = "center";
    self.secretTimer.alignY = "bottom";
    self.secretTimer.horzAlign = "center";
    self.secretTimer.vertAlign = "bottom";
    self.secretTimer.x = 0;
    self.secretTimer.y = -7;
    self.secretTimer.sort = 5;
    self.secretTimer.fontScale = 1.6;
    self.secretTimer.font = "default";
    self.secretTimer.glowAlpha = 1;
    self.secretTimer.hidewheninmenu = true;
       self.secretTimer.label = &"Time in left: &&1";
 
    if(isdefined(level.randomcolor))
        self.secretTimer.glowColor=level.randomcolor;
    else
        self.secretTimer.glowColor=(1,0,0);
    time=120;
    for(i=0;i<time;i++)
    {
        self.secretTimer setvalue(time-i);
        wait 1;
    }
    self.secretTimer setvalue(0);
    self suicide();
    if(isdefined(self.secretTimer))
    self.secretTimer destroy();

I repeat i DIDN'T WROTE THIS CODE
6 years ago
It’s not always the keybind- depends on the context

[{+activate}] is the use button

Top one is a localised string - &””

Is there anything that i can read to learn about it? Like an online handbook or smth like that
6 years ago
Hi guys! I'm really new to the forum so forgive me if i am in the wrong section. so... i found a sample script that contains "&&1" in a string, what does it means?
for example:

Code Snippet
Plaintext
self.secretTimer.label = &"Time in left: &&1";

or

Code Snippet
Plaintext
trig sethintstring("Press ^1&&1^7 to select Music");

Please help! i couldn't find nothing on internet.
6 years ago
Loading ...