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

Login Form

Register

If you do not already have an account, please create a new account to register.

 


 
Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
Some of my babbling for you... Jokes and Fun hjerte 8 Sun Sep 23, 2018 3:38 pm
Terraniux View latest post
Hi Introduce Yourself EagleEye 4 Fri Sep 21, 2018 11:05 pm
Kryxix View latest post
Server suggestions (I deliberately put it here) Jokes and Fun hjerte 4 Thu Sep 20, 2018 5:17 am
DEXIE View latest post
To the Admins: Jess64 and Jej64 Rudeness UT99 MonsterHunt Main Server Merowinger 5 Thu Sep 06, 2018 10:43 pm
booboo64 View latest post
Teamkill and Kidding , ever and ever General Server Chat or Problems blackcrack 9 Fri Aug 31, 2018 9:26 pm
FiOna View latest post
Taking a break Introduce Yourself hjerte 1 Fri Aug 31, 2018 12:39 am
DarkBeemo 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: 27
Posts: 29
Location: Vandora's Temple
Reputation: 41.8
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

dU.Mapper
dU.Mapper

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

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