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 
Merry Christmas! Mapping Development and Skinning EvilGrins 0 Mon Dec 02, 2024 11:12 pm
EvilGrins View latest post
Liandri?! Pfft, fuhgeddaboudit! UT99 now belongs to The Mob. Mapping Development and Skinning EvilGrins 0 Sun Nov 24, 2024 8:18 pm
EvilGrins View latest post
Screenshots Thread UT Screenshots and Movies POTS 403 Sat Nov 23, 2024 10:39 am
EvilGrins View latest post
Mining Corps Prisoners Mapping Development and Skinning EvilGrins 0 Thu Nov 07, 2024 12:04 pm
EvilGrins View latest post
Inversion Mapping Development and Skinning EvilGrins 0 Fri Nov 01, 2024 8:37 pm
EvilGrins View latest post
What is your favorite Capture the Flag map? General Discussion EvilGrins 0 Tue Oct 29, 2024 12:47 am
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: 34
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 4655 Fri May 25, 2018 6:22 am
EvilGrins View latest post
No new posts Memorable Errors 3 -POTS- 1476 Mon Dec 05, 2016 2:44 am
DarkBeemo View latest post
No new posts Adv. Night last part, 1 Terraniux 2806 Mon Feb 28, 2011 6:34 am
annabella View latest post
No new posts Last chance to save maps from delete!! 50 BlackWolf 20816 Fri Feb 25, 2011 10:37 pm
Cyberia-Mix View latest post
No new posts MH-EA Last Lives 8 EA_Elemental 4649 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.10 Seconds | Memory Usage: 9.22 MB | DB Queries: 76 ]

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