Welcome to destination Unreal
Please sign in Here or Register
warning  Welcome to destination Unreal, To access all areas of this site please register an account by clicking here now. warning


Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
female dU Player Photos male Introduce Yourself Terraniux 306 Tue Aug 13, 2019 11:49 am
hjerte View latest post
Mercenary vs Skaarj New Mapping Projects Chamberly 5 Sun Aug 11, 2019 10:44 pm
EmperorHunter View latest post
SoBEar/Sobah/Sober/LoveIsAwesome: Take the trash out UT99 MonsterHunt Main Server DarkBeemo 3 Sat Aug 03, 2019 5:38 pm
DarkBeemo View latest post
UltraMagnetic & Melody.` General Discussion MireYa 11 Fri Jul 19, 2019 6:03 pm
DEXIE View latest post
singapore General Discussion hjerte 5 Mon Jul 15, 2019 10:08 am
medor View latest post
UltraMagnetic & Melody General Discussion MireYa 1 Sat Jun 29, 2019 6:47 am
Chamberly View latest post

Compile Error - Custom Script vs MonsterShadow

Post new topic   Reply to topic       printer-friendly view
destination Unreal Forum Index Mods, UScript and General Coding
View previous topic :: View next topic 
Author Message
Chamberly usa.png

UT Name: Dame. Vandora UT Since: 2011 Gender: Gender:Female
Joined: Jul 15, 2014
Age: 28
Posts: 34
Location: Vandora's Temple
Reputation: 59
Status: Offline
View user's profile

Send private message

PostPosted: Thu Apr 12, 2018 12:29 am
PostPost subject:No icon Compile Error - Custom Script vs MonsterShadow
Reply with quote

Does anyone know any idea to get around this or what causes this?

I was compiling a new subclass and when finished, it doesn't complete as this MonsterShadow comes up with an error, preventing me to finish a custom script.

The script I wrote is fine in a standalone vanilla map. But when MonsterHunt.u was there, this MonsterShadow error steps in the way.

I tried to copy the original from the standalone vanilla map and paste it but it didn't work.

The custom script I made is dependent on a .u file, so I only know how to MyLevel it but not how to make it an individual file (Which I guess it'll make mismatch or something).

Tinypic link:
Please login to see this link
Get registered or Log in

*I tried uploading on the forum but got the errors.

Edit: Just got the memo and it's rather late: Don't load MH.u b4 having to code. Load MH.u last and use Higor's build. Oh well.
Back to top Visit poster's website Visit member's Facebook: chamberly
Cyberia-Mix france.png


UT Name: Demona UT Since: 2000
Joined: Dec 12, 2010
Posts: 562
Location: irc://irc.epiknet.org/2LO
Reputation: 272.9
votes: 9
Status: Offline
View user's profile

Send private message

PostPosted: Tue May 08, 2018 11:43 am
PostPost subject:No icon Re: Compile Error - Custom Script vs MonsterShadow
Reply with quote

I'm late but to complete the answer, scripts can't be compiled if MonsterHunt.u is loaded (its source code was erased from the .u by the author to prevent edits, UEd checks every loaded scripts and fails).

If you're scripting in UEd, a workaround is to script and compile in a side map where MonsterHunt.u isn't loaded.
If the script is in a .u file you then open it normally from the MH map.
If the script is in MyLevel, save your side map, then open the MH map in the same UEd instance where you compiled and saved, place whatever actor uses the script in the MH map, save and exit (make sure you don't have any other UEd instance with the MH map open or it will prevent saving, iirc - i always check date of modification after saving to make sure).

If you have to modify your MyLevel script, delete the actors that use it from the MH map (or any reference to it, like the prototype of a creature factory etc.), save and exit. Then repeat the above process.

I don't know what Higor's build is but since he's a great programmer his solution may be more convenient. : )
Back to top Visit poster's website
Display posts from previous:

Post new topic   Reply to topic    printer-friendly view
destination Unreal Forum Index   Mods, UScript and General Coding
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts My Last Map 8 THUNDERBOLT 1395 Fri May 25, 2018 6:22 am
EvilGrins View latest post
No new posts Memorable Errors 3 -POTS- 574 Mon Dec 05, 2016 2:44 am
DarkBeemo View latest post
No new posts Adv. Night last part, 1 Terraniux 1627 Mon Feb 28, 2011 6:34 am
annabella View latest post
No new posts Last chance to save maps from delete!! 50 BlackWolf 11374 Fri Feb 25, 2011 10:37 pm
Cyberia-Mix View latest post
No new posts MH-EA Last Lives 8 EA_Elemental 2375 Tue Nov 09, 2010 6:22 pm
EA_Elemental View latest post

Theme designed and coded by PHPNuke Themes © All times are UTC + 2 Hours [DST enabled]
Forums ©

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] Powered by HTML Purifier[Validate robots.txt]

PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke Evolution 2.0.7 - Nuke-Evolution Xtreme 2.0 Edition.

[ Page Generation: 0.13 Seconds | Memory Usage: 9.18 MB | DB Queries: 75 ]

Do Not Click [ Home | Forums | Downloads | Contact Us | Back To Top ]