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 
CTF-UTDMT-Gangland New Mapping Projects EvilGrins 0 Wed Mar 27, 2024 11:34 pm
EvilGrins View latest post
Club Smiley Mapping Development and Skinning EvilGrins 0 Fri Mar 08, 2024 11:45 pm
EvilGrins View latest post
DM-UTDMS-BULLFeartower2 New Mapping Projects EvilGrins 0 Fri Feb 23, 2024 11:50 pm
EvilGrins View latest post
Screenshots Thread UT Screenshots and Movies POTS 396 Tue Feb 06, 2024 4:49 am
EvilGrins View latest post
Dogs & Cats Mapping Development and Skinning EvilGrins 0 Thu Jan 18, 2024 12:48 am
EvilGrins View latest post
Black Adam Mapping Development and Skinning EvilGrins 0 Sun Jan 14, 2024 6:47 pm
EvilGrins 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: 33
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: https://www.facebook.com/pages/destinationUnreal/68568886767
Cyberia-Mix france.png

dU.Mapper
dU.Mapper

UT Name: Demona UT Since: 2000
Joined: Dec 12, 2010
Posts: 588
Location: irc://irc.epiknet.org/2LO
Reputation: 337.5
votes: 10
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 4252 Fri May 25, 2018 6:22 am
EvilGrins View latest post
No new posts Memorable Errors 3 -POTS- 1280 Mon Dec 05, 2016 2:44 am
DarkBeemo View latest post
No new posts Adv. Night last part, 1 Terraniux 2591 Mon Feb 28, 2011 6:34 am
annabella View latest post
No new posts Last chance to save maps from delete!! 50 BlackWolf 18876 Fri Feb 25, 2011 10:37 pm
Cyberia-Mix View latest post
No new posts MH-EA Last Lives 8 EA_Elemental 4296 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.18 Seconds | Memory Usage: 9.22 MB | DB Queries: 76 ]

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