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

Scripting discussion

HOT
broken avatar :(
Created 11 years ago
by daedra descent
0 Members and 1 Guest are viewing this topic.
9,542 views
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
what happened to the zero tolerance rule? seems this has gotten out of control :P
Yea if you could point out where anyone is harrasing anyone please?

All I see is discussion, biast opinions and some well deserved "honest feedback" to the person who feels like its his role in life to dole it out to everyone else?

I see nothing wrong here

dont forget anyway

internet

just coz
broken avatar :(
×
broken avatar :(
Purple Square Worshipper
Location: us
Date Registered: 30 January 2014
Last active: 1 month ago
Posts
679
Respect
Forum Rank
Zombie Enslaver
Primary Group
Famous User
My Groups
More
My Contact & Social Links
More
Personal Quote
Purple Square Worshiper
Signature

donate to purplemanwomen www.paypal.me/bwc66930
×
Bwc66930's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Famous User
Famous User
Bwc66930's Contact & Social Linksbwc66931bwc66930bwc66930bwc66930bwc66930dkwithaw
Yea if you could point out where anyone is harrasing anyone please?

All I see is discussion, biast opinions and some well deserved "honest feedback" to the person who feels like its his role in life to dole it out to everyone else?

I see nothing wrong here

dont forget anyway

internet

just coz
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
lol, well at least one person saw the sarcasm


anyway, dont forget this either

Quote
If you cant handle your mistakes being pointed out, you have no right to release a map or anything

Quote
because its valid criticism?
Last Edit: November 05, 2015, 01:19:01 am by Harry Bo21
broken avatar :(
×
broken avatar :(
Purple Square Worshipper
Location: us
Date Registered: 30 January 2014
Last active: 1 month ago
Posts
679
Respect
Forum Rank
Zombie Enslaver
Primary Group
Famous User
My Groups
More
My Contact & Social Links
More
Personal Quote
Purple Square Worshiper
×
Bwc66930's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Famous User
Famous User
Bwc66930's Contact & Social Linksbwc66931bwc66930bwc66930bwc66930bwc66930dkwithaw
me never good with sarcasm so meow!~
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
There are plenty of scripters who have released tons of stuff, i.e. worked with someone else to make a map, or made a mod, or some tutorials, or some addons, or a map all on their own. How is this an 'excuse'?


It isn't, really. That was just my intention. The idea was that maps sit ontop the mod as a plug-in of sorts, not as a side by side thing(more modular, basically).

Quote

I think the reason no-one really had any interest in your Soviet Mods is because, well quite honestly, they looked kinda lame.

How's that for some honest feedback? :P

Well, i appreciate it and totally agree. I should have had more going on with it before i released it.

and no one would ever want to work with you...

They wouldn't have been working with me anyway. Again, maps are individually maintained and they sit on top the mod. If a mod gets a new gamemode it is the responsibility of the map maker to add the gamemode if they want it.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
lets not forget, i have seen exactly 0 people using your stuff so we just have to "take your word for it" that its as bullet proof as you claim 

would hate to find any bugs with it

:troll:
Last Edit: November 05, 2015, 01:36:14 am by Harry Bo21
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
lets not forget, i have seen exactly 0 people using your stuff so we just have to "take your word for it" that its as bullet proof as you claim 

would hate to find any bugs with it

:troll:

As long as you use it as intended you shouldn't. I test everything as thoroughly as i can(in SP).

For the Soviet mod specifally, you might not know if something's wrong unless you run it in dev mode. Anytime something bad happens i use assertMsg("<string>"); to kick me back out of the game with error.

Example:

Code Snippet
Plaintext
init_weapon_affects()
{
if(!isDefined(level.soviet["allow_weapon_rotation"]) || isDefined(level.soviet["allow_weapon_rotation"]) && level.soviet["allow_weapon_rotation"] == false)
return;


if(!isDefined(getentarray("weapon","targetname")))
assertMsg("No Weapons in the map to rotate!");


array_thread(getEntArray("weapon", "targetname"), ::affects_think);
}
affects_think()
{
if(!isDefined(level.fx["pickupAvailableEffect"]))
assertMsg("No pickup effect defined!");

if(isDefined(level.soviet["fixedWeaponHeight"]) && level.soviet["fixedWeaponHeight"])
fixed_weapon_height();

playFx(level.fx["pickupAvailableEffect"], self groundPos(self.origin));
while(1)
{
self rotateYaw(-180, 2);
wait(2);

}
}

This is beta code still, haven't had a chance to test soviet_dust with it.
Last Edit: November 05, 2015, 01:42:31 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
As long as you use it as intended you shouldn't. I test everything as thoroughly as i can(in SP).

For the Soviet mod specifally, you might not know if something's wrong unless you run it in dev mode. Anytime something bad happens i use assertMsg("<string>"); to kick me back out of the game with error.

Example:

Code Snippet
Plaintext
init_weapon_affects()
{
if(!isDefined(level.soviet["allow_weapon_rotation"]) || isDefined(level.soviet["allow_weapon_rotation"]) && level.soviet["allow_weapon_rotation"] == false)
return;


if(!isDefined(getentarray("weapon","targetname")))
assertMsg("No Weapons in the map to rotate!");


array_thread(getEntArray("weapon", "targetname"), ::affects_think);
}
affects_think()
{
if(!isDefined(level.fx["pickupAvailableEffect"]))
assertMsg("No pickup effect defined!");

if(isDefined(level.soviet["fixedWeaponHeight"]) && level.soviet["fixedWeaponHeight"])
fixed_weapon_height();

playFx(level.fx["pickupAvailableEffect"], self groundPos(self.origin));
while(1)
{
self rotateYaw(-180, 2);
wait(2);

}
}

This is beta code still, haven't had a chance to test soviet_dust with it.
I see no difference with this, and just using iprints, other than id need to spend weeks fixing

teryarchs script problems
every one else script problems
all the devmode only irrelevent errors with my stuff

and on top of that, i spend 90% of my time fixing everyone elses problems so id also need to

Fix everyone elses treyarch script fails
everyone else scripts they got from absolutely anywhere else
and all my stuff - again

just to find out something i could have easily tested with a simple print



You remember even stock maps wont load in dev right? Not saying its of no use, just saying some of us cant be assed with it, and just do our bug testing in other ways


Devmode is even complaining about "usetriggerrequirelookat()" on prorevenges map which is totally valid, so i see no use for it
Last Edit: November 05, 2015, 01:46:54 am by Harry Bo21
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Devmode is even complaining about "usetriggerrequirelookat()" on prorevenges map which is totally valid, so i see no use for it
this is abit off topic but harry you do know that UseTriggerRequireLookAt() can only be used on trigger_use's so if your using a spawned trigger its not gonna be a trigger_use thats whay some maps throw a error what i would do is this

Code Snippet
Plaintext
if(trigger.classname == "trigger_use")
        trigger UseTriggerRequireLookAt();
this way you can call it on any ent and it will only work on trigger_use's (simple if statement i know but its fixed so many errors for me)

EDIT: Im assuming its a spawned trigger cause your craftables and a few other things (still assuming) spawn in a trigger_radius and use a hacky way round to convert them into a trigger_use but on spawn your calling UseTriggerRequireLookAt() on the trigger_radius
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
this is abit off topic but harry you do know that UseTriggerRequireLookAt() can only be used on trigger_use's so if your using a spawned trigger its not gonna be a trigger_use thats whay some maps throw a error what i would do is this

Code Snippet
Plaintext
if(trigger.classname == "trigger_use")
        trigger UseTriggerRequireLookAt();
this way you can call it on any ent and it will only work on trigger_use's (simple if statement i know but its fixed so many errors for me)

EDIT: Im assuming its a spawned trigger cause your craftables and a few other things (still assuming) spawn in a trigger_radius and use a hacky way round to convert them into a trigger_use but on spawn your calling UseTriggerRequireLookAt() on the trigger_radius

they "are" on trigger use, still giving devmode errors

Not my first Rodeo bro, the craftables having that is just a mistake from where i changed the triggers at some point. These errors come up from trey arch code on prorevenges map ( which i found after removing mine, and still getting the errors )
Last Edit: November 05, 2015, 02:01:24 am by Harry Bo21
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
I see no difference with this, and just using iprints, other than id need to spend weeks fixing

It only runs in developer mode. Meaning that i can keep my code like this without affecting non dev map but yeah it is like just printing something to the screen, just for debugging things exclusively.

Quote
teryarchs script problems
every one else script problems
all the devmode only irrelevent errors with my stuff

I think i know what 'script fails' your referring too and no, they aren't 'fails' per se but rather something that was required in nazi_zombie_factory that you don't need or want in a custom map. Not really a fail IMO.

Quote
and on top of that, i spend 90% of my time fixing everyone elses problems so id also need to

Fix everyone elses treyarch script fails
everyone else scripts they got from absolutely anywhere else
and all my stuff - again

I know a lot of the errors seem meaningless but they do have a reason behind them(i.e. running code on an undefined variable).

The stuff that really matters often sits under the meaningless crap too so you need to dig to really take advantage of the developer feature.

 
Quote
just to find out something i could have easily tested with a simple print

You could have, yeah. However in my case specifically, my mod's scripts doesn't necessary know if the mapper defined things like weapons in the map, so i have to have a way to tell them without invading normal playing sessions.

they "are" on trigger use, still giving devmode errors

Not my first Rodeo bro

Very strange. I'd be interested to see your code to see why that is.

Edit: i've never had an issue loading into a Treyarch map as long as the _debug.gsc file is also loaded. Treyarch included the _debug.gsc which uses developer EXE functions we can't use.
Last Edit: November 05, 2015, 02:02:13 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Quote
I know a lot of the errors seem meaningless but they do have a reason behind them(i.e. running code on an undefined variable).

for the millionth time, this doesnt matter

it "could" matter, which is why the engine warns you, but it runs fine - out of dev mode

Theres a ton of fuck ups in treyarchs scripts... just as one example their failiure to delete the ents for eye glows in a ton of cases

And this is all preference

YOU prefer to use devmode, I prefer to use prints, which can take a while, but no where near as long as itll take to fix dev mode, and errors with every other mo fos scripts in every other map i work on - all via skype...

theres nothing "wrong" with either way
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
for the millionth time, this doesnt matter

it "could" matter, which is why the engine warns you, but it runs fine - out of dev mode

Theres a ton of fuck ups in treyarchs scripts... just as one example their failiure to delete the ents for eye glows in a ton of cases

And this is all preference

YOU prefer to use devmode, I prefer to use prints, which can take a while, but no where near as long as itll take to fix dev mode, and errors with every other mo fos scripts in every other map i work on - all via skype...

theres nothing "wrong" with either way
yeah theres nothing wrong with either way but i have to say that DD for once has said something smart ;) ive used devmode a few times but only when printing out has taken too long or just cant do enough to help me or im just feeling lazy ::)

but anyways as harry said its all preference
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
it "could" matter, which is why the engine warns you, but it runs fine - out of dev mode

Well, thats kind of the point of debugging your scripts in the first place - to make sure that nothing *can* happen and everything works as intended. Why leave yourself open to risk and then have to come back and fix it?

Quote
Theres a ton of fuck ups in treyarchs scripts... just as one example their failiure to delete the ents for eye glows in a ton of cases

If that were true the game would crash with no free entities error without developer so i'm having a hard time believing that(which has never happened to me).

Quote
YOU prefer to use devmode, I prefer to use prints, which can take a while, but no where near as long as itll take to fix dev mode, and errors with every other mo fos scripts in every other map i work on - all via skype...

theres nothing "wrong" with either way

Well, assertMsg() kicks you of the game so if the code would have normally caused an infinite loop somehow then it avoids the hassle of killing WaW. but yes, i agree they can both be used for debugging.



 

 
Loading ...