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

weird syntax error

broken avatar :(
Created 12 years ago
by fatboypro
0 Members and 1 Guest are viewing this topic.
2,235 views
broken avatar :(
×
broken avatar :(
Location: caToronto
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
458
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
×
fatboypro's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
fatboypro's Contact & Social Links
first of all i know what this error means and i have fixed it many times before but this time its confusing me it says its a problem with dlc3_code this line
Code Snippet
Plaintext
include_weapon( "molotov" );
here is a bit more of my dlc3_code
Code Snippet
Plaintext
include_weapons()
{
include_weapon( "zombie_colt" );
include_weapon( "zombie_colt_upgraded", false );
include_weapon( "zombie_sw_357" );
include_weapon( "zombie_sw_357_upgraded", false );




// Bolt Action
// include_weapon( "zombie_kar98k" );
// include_weapon( "zombie_kar98k_upgraded", false );




// Semi Auto
include_weapon( "m14_mp" );
include_weapon( "fnfal_mp" );
// include_weapon( "usp_45" );
include_weapon( "colt45" );
include_weapon( "_mw3_deserteagle_mp" );

// Full Auto
include_weapon( "zombie_thompson" );
include_weapon( "zombie_thompson_upgraded", false );
include_weapon( "enfield_mp" );
include_weapon( "galil_mp" );
include_weapon( "svt40_mp" );
include_weapon( "m16_mp" );
include_weapon( "aug_mp" );
include_weapon( "uzi" );
include_weapon( "g36c_mp" );
include_weapon( "g36c_mp" );
include_weapon( "mp5_mp" );
include_weapon( "mpl_mp" );
include_weapon( "commando_mp" );
include_weapon( "rpk_mp" );
include_weapon( "m60e4_mp" );
include_weapon( "enfield_mp_upgraded" );
include_weapon( "enfield_mp_upgraded_upgraded" );
include_weapon( "mp44_mp" );
include_weapon( "skorpion_mp" );
include_weapon( "zombie_stg44" );
include_weapon( "p90_mp" );
include_weapon( "ump_mp" );
include_weapon( "zombie_lantern", false );
include_weapon( "p90" );
include_weapon( "m60" );

// Scoped
include_weapon( "m40a3" );





// Grenade
include_weapon( "molotov" );
include_weapon( "stielhandgranate" );




// Grenade Launcher





// Flamethrower
include_weapon( "m2_flamethrower_zombie" );
include_weapon( "m2_flamethrower_zombie_upgraded", false );




// Shotgun
include_weapon( "spas_mp" );
include_weapon( "ks23_mp" );

// Heavy MG






include_weapon( "zombie_ppsh" );
include_weapon( "zombie_ppsh_upgraded", false );




// Rocket Launcher
include_weapon( "panzerschrek_zombie" );
include_weapon( "panzerschrek_zombie_upgraded", false );




// Special
include_weapon( "ray_gun", true, ::factory_ray_gun_weighting_func );
include_weapon( "ray_gun_upgraded", false );
include_weapon( "tesla_gun", true );
include_weapon( "tesla_gun_upgraded", false );
include_weapon( "zombie_cymbal_monkey", true, ::factory_cymbal_monkey_weighting_func );
// include_weapon( "mortar_round" );




// Bouncing betties
include_weapon( "mine_bouncing_betty", false );




another weird thing i only get this error in one map all the other maps work fine and i dont have dlc3_code in my mods folder! :'(
This topic contains a post which is marked as the Best Answer. Click here to view it.
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
another weird thing i only get this error in one map all the other maps work fine and i dont have dlc3_code in my mods folder! :'(

Not a very smart move to be editing scripts like dlc3_code.gsc in raw/maps. May or may not be why your getting the syntax error as i can't see it from what you posted, though:

Code Snippet
Plaintext
include_weapon( "_mw3_deserteagle_mp" );

the name of this weapon should probably be changed so it doesn't start with an underscore.
broken avatar :(
×
broken avatar :(
Location: caToronto
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
458
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
×
fatboypro's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
fatboypro's Contact & Social Links
i have 2 backups i am not that dumb


Post Merge: February 16, 2014, 10:18:03 pm
new problem

Last Edit: February 16, 2014, 10:18:03 pm by fatboypro
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
you have a vehicle in your map that uses a vehicle file that doesn't exist, or atleast thats what i'm getting from the error.
Last Edit: February 16, 2014, 11:13:04 pm by daedra descent
Marked as best answer by fatboypro 12 years ago
broken avatar :(
×
broken avatar :(
Location: caToronto
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
458
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
×
fatboypro's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
fatboypro's Contact & Social Links
no


Post Merge: February 17, 2014, 01:20:37 pm
any ideas  :'(

Post Merge: February 17, 2014, 11:53:11 pm
FIXED  :)
Last Edit: February 17, 2014, 11:53:11 pm by fatboypro

 
Loading ...